diff --git a/files/settings/i3.config b/files/settings/i3.config index 41008f6..93241c8 100644 --- a/files/settings/i3.config +++ b/files/settings/i3.config @@ -198,8 +198,8 @@ set $ws3 "3 - PRG" set $ws4 "4 - FLT" # Chats set $ws5 "5 - CHT" -# Editors -set $ws6 "6 - EDT" +# Torrents +set $ws6 "6 - TOR" # Entertainment set $ws7 "7 - ENT" # Music @@ -234,6 +234,9 @@ bindsym $mod+Shift+9 move container to workspace number $ws9 bindsym $mod+Shift+0 move container to workspace number $ws10 ## Keep certain programs in certain tabs. ## +# Use the `xprop` command to find the class of a program. +# (?i) makes the regex case insensitive. + assign [class="(?i)Navigator"] $ws2 assign [class="(?i).*Firefox.*"] $ws2 @@ -241,6 +244,8 @@ assign [class="(?i).*Codium.*"] $ws3 assign [class="(?i).*Code.*"] $ws4 +assign [class="(?i).*Transmission.*"] $ws6 + assign [class="(?i).*VPN.*"] $ws10 assign [class="(?i).*Mullvad.*"] $ws10 @@ -323,3 +328,5 @@ exec light -O exec light -N 0 exec setxkbmap -layout us -variant altgr-intl + +# Use the `xev` command to see the name and code of a keyboard key.