3 ms·
I have been using i3 now for many years now and like it a lot. Thank you developers! It's easy to configure and well documented, plus there are many nice extens
by ohlookabird 6y ago
I have been using i3 now for many years now and like it a lot. Thank you developers! It's easy to configure and well documented, plus there are many nice extensions (like status bars).
With tiling window managers, for me it really is the predictability of where things are (e.g. emails are always on desktop 2 for me, browser on 1, etc.), keyboard navigation and the ability to configure all window related things in a single place / config file. Not requiring to think much about how to organize windows to quickly have a useful view lowers the cognitive load for me (possibly not a problem for others). It also allows me to quickly build pseudo-IDEs, e.g. have a left pane with vim to edit a latex file while having a split pane on the right where in the top terminal I'd call "lualatex <file>" and have the evince/zathura output of the file visible below and live-update.
Some random config details I use all the time:
# Lock screen with Ctrl+meta x, have background image
bindsym Control+$mod+x exec i3lock -i <path/to/image>
# Show a floating calc terminal with Mod+c
for_window [instance="termite" title="My Calculator"] floating enable
bindsym $mod+c exec termite -t "My Calculator" -e calc
# Show a floating units terminal with Mod+u
for_window [instance="termite" title="My Units"] floating enable
bindsym $mod+u exec termite -t "My Units" -e units
# Allow quick back and forth (First Meta+Workspace-ID goes there, second goes back)
workspace_auto_back_and_forth yes
# Use rofi to launch programs and find windows
bindsym $mod+d exec --no-startup-id i3-dmenu-desktop --dmenu='rofi -i -show run -dmenu'
bindsym $mod+o exec --no-startup-id i3-dmenu-desktop --dmenu='rofi -i -show window'
# switch between the current and the previously focused workspace
bindsym $mod+b workspace back_and_forth
bindsym $mod+Tab workspace back_and_forth
# invert the screen with Mod+i
bindsym $mod+i exec xrandr-invert-colors
# toggle tiling / floating for window with Mod + Shift + Space
bindsym $mod+Shift+space floating toggle
# rename workspaces with Mod+t
bindsym $mod+t exec i3-input -F 'rename workspace to %s' -P ' New name: ' -f '-*-*-*-*-*-*-28-*-*-*-*-*-*-*'
# Gnome settings daemon helps us with keyrings and GTK themes
exec --no-startup-id /usr/lib/gnome-settings-daemon/gnome-settings-daemon
# calendar with Mod+p
bindsym $mod+p workspace calendar; exec termite -e 'ikhal
# Make the currently focused window a scratchpad (a hidden floating desktop) with Mod+Shift+Minus
bindsym $mod+Shift+minus move scratchpad
# Show the first scratchpad window (on any desktop show the first floating hidden window) with Mod+Minus
# Normally there is a floating terminal with vimwiki in the scratchpad
bindsym $mod+minus scratchpad show