Automatically move firefox windows with some prefixes to workspaces

This commit is contained in:
Adam Goldsmith 2019-06-18 10:35:41 -04:00
parent 547a29ad90
commit 35afb69030

View File

@ -18,6 +18,10 @@ exec --no-startup-id numlockx on # enable numlock
exec --no-startup-id xset s off dpms 0 0 0 # disable auto screen blanking exec --no-startup-id xset s off dpms 0 0 0 # disable auto screen blanking
exec --no-startup-id xautolock -time 5 -locker "~/.config/i3/lock.sh lock 5" -detectsleep exec --no-startup-id xautolock -time 5 -locker "~/.config/i3/lock.sh lock 5" -detectsleep
# firefox workspace bindings
for_window [class="(?i)Firefox" title="^\[work\] "] move container to workspace number 2
for_window [class="(?i)Firefox" title="^\[music\] "] move container to workspace number 10
# keyboard settings # keyboard settings
exec --no-startup-id setxkbmap -option 'ctrl:nocaps' -option "shift:both_capslock" exec --no-startup-id setxkbmap -option 'ctrl:nocaps' -option "shift:both_capslock"