X-Git-Url: https://git.friedersdorff.com/?a=blobdiff_plain;f=states%2Fsway%2Ffiles%2Fconfig.jinja;h=5dac6c7d320094034835f00da6deb3272d3100a8;hb=3fc1ee210875b42d272698011e3ab276e41146ba;hp=fe2ec45defae3c4856dee9bba76587661c1fc125;hpb=65b18ace6ea860d7331ec0c1fb35cb07ca2af61c;p=max%2Fsaltfiles.git diff --git a/states/sway/files/config.jinja b/states/sway/files/config.jinja index fe2ec45..5dac6c7 100644 --- a/states/sway/files/config.jinja +++ b/states/sway/files/config.jinja @@ -50,6 +50,9 @@ set $ws8 "8" set $ws9 "9" set $ws10 "10" +set $music "Music" +set $chat "Chat" + mode "$ratpoison" { # All/most commands in this mode should revert to the default mode on comleption. # We are emulating ratpoison (kinda) here @@ -68,6 +71,9 @@ mode "$ratpoison" { bindsym 8 exec 'swaymsg mode "default"; swaymsg workspace $ws8' bindsym 9 exec 'swaymsg mode "default"; swaymsg workspace $ws9' bindsym 0 exec 'swaymsg mode "default"; swaymsg workspace $ws10' + bindsym m exec 'swaymsg mode "default"; swaymsg workspace $music' + bindsym a exec 'swaymsg mode "default"; swaymsg workspace $chat' + bindsym Shift+1 exec 'swaymsg mode "default"; swaymsg move container to workspace $ws1' bindsym Shift+2 exec 'swaymsg mode "default"; swaymsg move container to workspace $ws2' @@ -79,6 +85,8 @@ mode "$ratpoison" { bindsym Shift+8 exec 'swaymsg mode "default"; swaymsg move container to workspace $ws8' bindsym Shift+9 exec 'swaymsg mode "default"; swaymsg move container to workspace $ws9' bindsym Shift+0 exec 'swaymsg mode "default"; swaymsg move container to workspace $ws10' + bindsym Shift+m exec 'swaymsg mode "default"; swaymsg move container to workspace $music' + bindsym Shift+a exec 'swaymsg mode "default"; swaymsg move container to workspace $chat' # Moving focus # bindsym Tab focus right mode "default"