Created
January 13, 2020 17:11
-
-
Save hd9/adb99fd63f946f2b0926c4de1f7ae037 to your computer and use it in GitHub Desktop.
Sample i3 configuration - Source: https://blog.hildenco.com/2019/08/how-i-fell-in-love-with-i3.html
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
################################# | |
# Source: https://blog.hildenco.com/2019/08/how-i-fell-in-love-with-i3.html | |
################################# | |
# start a terminal | |
bindsym $mod+Return exec gnome-terminal | |
# kill focused window | |
bindsym $mod+x kill | |
# change focus (vim-based hjkl) | |
bindsym $mod+h focus left | |
bindsym $mod+j focus down | |
bindsym $mod+k focus up | |
bindsym $mod+l focus right | |
# i3bar | |
bar { | |
i3bar_command i3bar --transparency | |
status_command i3status | |
position top | |
colors{ | |
#background #202020EE | |
background #000000BB | |
statusline #ffffff | |
# class boarder backgr text | |
focused_workspace #545454 #3c3c3c #ffffff | |
inactive_workspace #545454 #202020 #ffffff | |
active_workspace #545454 #202020 #ffffff | |
urgent_workspace #545454 #202020 #ffffff | |
} | |
} | |
# nice transitions | |
exec_always --no-startup-id compton -f --config ~/.config/compton/config | |
# network icon/manager | |
exec --no-startup-id nm-applet | |
# kbd | |
bindsym $mod+space exec ~/.config/i3/kbd-switch.sh | |
# Custom Keybindings mapping keyboard Fkeys | |
bindsym $mod+f exec firefox | |
bindsym $mod+Shift+f exec firefox --private-window | |
bindsym $mod+g exec chromium-browser | |
bindsym $mod+Shift+g exec chromium-browser --incognito | |
bindsym $mod+F2 exec nautilus -w | |
bindsym $mod+F3 exec gedit | |
bindsym $mod+F4 exec keepassxc | |
bindsym $mod+F5 exec gnome-boxes | |
bindsym $mod+Shift+F9 exec --no-startup-id i3-msg lock | |
bindsym $mod+F10 exec --no-startup-id i3lock -c 000000 | |
bindsym $mod+Shift+F11 exec --no-startup-id shutdown now | |
bindsym Print exec gnome-screenshot -i | |
bindsym XF86Calculator exec gnome-calculator | |
# workspace back and forth | |
# switch between the current and the previously focused one | |
bindsym $mod+Tab workspace back_and_forth | |
bindsym $mod+Shift+Tab move container to workspace back_and_forth |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment