From 35afb69030fccc6f3c37c781451301b7ac41a7d2 Mon Sep 17 00:00:00 2001 From: Adam Goldsmith Date: Tue, 18 Jun 2019 10:35:41 -0400 Subject: [PATCH] Automatically move firefox windows with some prefixes to workspaces --- .config/i3/config | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/.config/i3/config b/.config/i3/config index 805dabc..85aebb7 100644 --- a/.config/i3/config +++ b/.config/i3/config @@ -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 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 exec --no-startup-id setxkbmap -option 'ctrl:nocaps' -option "shift:both_capslock"