aboutsummaryrefslogtreecommitdiffstats
path: root/.config/sway/config
diff options
context:
space:
mode:
authorDavid Runge <dave@sleepmap.de>2020-04-18 20:51:12 +0200
committerDavid Runge <dave@sleepmap.de>2020-04-18 20:51:12 +0200
commitba9fca08d3090ae38fedd5a2583988b711158f10 (patch)
tree5f06f3f89f6982a1bc5acb490c64f0eeb9e89b16 /.config/sway/config
parenteff60302e6f9df27f4305fffb08fdd535a47185c (diff)
downloaddotfiles-ba9fca08d3090ae38fedd5a2583988b711158f10.tar.gz
dotfiles-ba9fca08d3090ae38fedd5a2583988b711158f10.tar.bz2
dotfiles-ba9fca08d3090ae38fedd5a2583988b711158f10.tar.xz
dotfiles-ba9fca08d3090ae38fedd5a2583988b711158f10.zip
.config/sway/config: Adding automatic move to certain containers for some applications. Using waybar as bar.
Diffstat (limited to '.config/sway/config')
-rw-r--r--.config/sway/config30
1 files changed, 21 insertions, 9 deletions
diff --git a/.config/sway/config b/.config/sway/config
index 8d99192..e2ac511 100644
--- a/.config/sway/config
+++ b/.config/sway/config
@@ -211,19 +211,31 @@ mode "resize" {
}
bindsym $mod+r mode "resize"
-# TODO: triggers endless loop within sway!
-#
+
+for_window [class="firefox"] move container to workspace 2
+for_window [class="qutebrowser"] move container to workspace 2
+for_window [class="scide"] move container to workspace 3
+for_window [class="Sonic Pi"] move container to workspace 3
+for_window [class="DialogWindow"] move container to workspace 3
+for_window [class="PatchWindow"] move container to workspace 3
+for_window [class="PdWindow"] move container to workspace 3
+for_window [class="ffado-mixer"] move container to workspace 4
+for_window [class="Carla*"] move container to workspace 4
+for_window [class="Ardour*"] move container to workspace 4
+for_window [class="Hydrogen"] move container to workspace 4
+for_window [class="Yoshimi"] move container to workspace 4
+for_window [class="Zynaddsubfx"] move container to workspace 4
+for_window [class="MediaElch"] move container to workspace 6
+for_window [app_id="ghb"] move container to workspace 7
+for_window [app_id="shotwell"] move container to workspace 8
+for_window [app_id="qjackctl"] move container to workspace 4
+for_window [app_id="qjackctl"] floating enable
+
# Status Bar:
#
# Read `man 5 sway-bar` for more information about this section.
bar {
- position top
- status_command while date +'%Y-%m-%d %R'; do sleep 1; done
- colors {
- statusline #ffffff
- background #323232
- inactive_workspace #32323200 #32323200 #5c5c5c
- }
+ swaybar_command waybar
}
# Execs