commit: fbf711c0a0f24eabd99e0ad976d2e61d471cd41e
parent: cffd44221e011ac881f698ba1b2c94483a389e19
Author: Haelwenn (lanodan) Monnier <contact@hacktivis.me>
Date: Tue, 1 Oct 2019 08:48:29 +0200
.config/sway/config: border and window→workspace hooks
Diffstat:
1 file changed, 7 insertions(+), 2 deletions(-)
diff --git a/.config/sway/config b/.config/sway/config
@@ -128,8 +128,9 @@ titlebar_border_thickness 0
titlebar_padding 0
# == custom XMonad stuff ==
-bindsym $mod+b bar hidden_state toggle
-for_window [window_role="Browser"] move workspace 2
+for_window [app_id="badwolf"] move workspace 2
+for_window [app_id="firefox"] move workspace 2
+for_window [app_id="mpv"] move workspace 3
# Make sure XKB_DEFAULT_* stuff is used
exec_always swaymsg 'input * xkb_layout "'${XKB_DEFAULT_LAYOUT}'"'
@@ -138,3 +139,7 @@ exec_always swaymsg 'input * xkb_options "'${XKB_DEFAULT_OPTIONS}'"'
bindsym Print exec 'slurp | grim -g - /tmp/screen.png'
exec_always swaymsg 'output * bg "'${MY_WALLPAPER}'" "'${MY_WALLPAPER_MODE}'"'
+
+bindsym $mod+b bar hidden_state toggle
+
+exec $term