summaryrefslogtreecommitdiff
path: root/files/sway/config
diff options
context:
space:
mode:
Diffstat (limited to 'files/sway/config')
-rw-r--r--files/sway/config49
1 files changed, 29 insertions, 20 deletions
diff --git a/files/sway/config b/files/sway/config
index 93327b2..102f69b 100644
--- a/files/sway/config
+++ b/files/sway/config
@@ -6,7 +6,9 @@ set $down j
set $up k
set $right l
-set $term kitty -1
+#set $term kitty -1
+#set $quake kitten quick-access-terminal
+set $term footclient
set $menu dmenu-path | bemenu-colored | xargs swaymsg exec --
font pango:monospace 10
@@ -21,6 +23,7 @@ floating_modifier $mod1 normal
bindsym $mod1+Shift+q kill
bindsym $mod1+Return exec $term
+#bindsym $mod1+backslash exec $quake
bindsym $mod1+d exec $menu
bindsym $mod1+Shift+c reload
@@ -36,35 +39,40 @@ bindsym $mod1+Shift+$down move down
bindsym $mod1+Shift+$up move up
bindsym $mod1+Shift+$right move right
-workspace 1 output DP-1
-workspace 2 output DP-1
-workspace 3 output DP-1
-workspace 4 output DP-1
-workspace 5 output DP-2
-workspace 6 output DP-2
-workspace 7 output DP-2
-workspace 8 output DP-2
-workspace 9 output HDMI-A-1
+include monitors
+
+workspace 1 output $monitor1
+workspace 2 output $monitor1
+workspace 3 output $monitor1
+workspace 4 output $monitor1
+workspace 5 output $monitor1
+workspace 6 output $monitor2
+workspace 7 output $monitor2
+workspace 8 output $monitor2
+workspace 9 output $monitor2
+workspace 10 output $monitor3
bindsym $mod1+1 workspace number 1
bindsym $mod1+2 workspace number 2
bindsym $mod1+3 workspace number 3
bindsym $mod1+4 workspace number 4
-bindsym $mod4+1 workspace number 5
-bindsym $mod4+2 workspace number 6
-bindsym $mod4+3 workspace number 7
-bindsym $mod4+4 workspace number 8
-bindsym $mod4+5 workspace number 9
+bindsym $mod1+5 workspace number 5
+bindsym $mod4+1 workspace number 6
+bindsym $mod4+2 workspace number 7
+bindsym $mod4+3 workspace number 8
+bindsym $mod4+4 workspace number 9
+bindsym $mod4+5 workspace number 10
bindsym $mod1+Shift+1 move container to workspace number 1
bindsym $mod1+Shift+2 move container to workspace number 2
bindsym $mod1+Shift+3 move container to workspace number 3
bindsym $mod1+Shift+4 move container to workspace number 4
-bindsym $mod4+Shift+1 move container to workspace number 5
-bindsym $mod4+Shift+2 move container to workspace number 6
-bindsym $mod4+Shift+3 move container to workspace number 7
-bindsym $mod4+Shift+4 move container to workspace number 8
-bindsym $mod4+Shift+5 move container to workspace number 9
+bindsym $mod1+Shift+5 move container to workspace number 5
+bindsym $mod4+Shift+1 move container to workspace number 6
+bindsym $mod4+Shift+2 move container to workspace number 7
+bindsym $mod4+Shift+3 move container to workspace number 8
+bindsym $mod4+Shift+4 move container to workspace number 9
+bindsym $mod4+Shift+5 move container to workspace number 10
bindsym $mod1+b splith
bindsym $mod1+v splitv
@@ -108,5 +116,6 @@ exec_always swaymsg 'seat * hide_cursor 4000'
exec dbus-update-activation-environment DISPLAY WAYLAND_DISPLAY SWAYSOCK MAIN_MONITOR
exec swayidle -w \
timeout 300 'swaymsg "output * dpms off"' resume 'swaymsg "output * dpms on"'
+exec_always pgrep 'foot -s' | xargs -r kill && foot -s
exec mako
exec gentoo-pipewire-launcher restart