summaryrefslogtreecommitdiff
path: root/files/sway
diff options
context:
space:
mode:
Diffstat (limited to 'files/sway')
-rw-r--r--files/sway/config49
-rw-r--r--files/sway/monitors3
-rw-r--r--files/sway/window_rules14
3 files changed, 41 insertions, 25 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
diff --git a/files/sway/monitors b/files/sway/monitors
new file mode 100644
index 0000000..b6fa237
--- /dev/null
+++ b/files/sway/monitors
@@ -0,0 +1,3 @@
+set $monitor1 DP-1
+set $monitor2 HDMI-A-1
+set $monitor3 DP-2
diff --git a/files/sway/window_rules b/files/sway/window_rules
index f6ee9ee..22d5138 100644
--- a/files/sway/window_rules
+++ b/files/sway/window_rules
@@ -1,20 +1,24 @@
for_window [shell="xwayland"] title_format "(Xwayland) %title"
-for_window [app_id=kitty] allow_tearing yes
+for_window [app_id=kitty] allow_tearing no
for_window [app_id=gamescope] inhibit_idle fullscreen, allow_tearing yes, floating enable
-for_window [app_id=cmv] inhibit_idle fullscreen, floating enable
-for_window [class=cmv] floating enable
+for_window [app_id=camu_screen] inhibit_idle fullscreen, floating enable
+for_window [class=camu_screen] floating enable
for_window [class=cmv.exe] floating enable
for_window [app_id=mauri] floating enable
for_window [app_id=imv] floating enable
+for_window [app_id=mpv] floating enable
for_window [app_id=Waydroid] floating enable
for_window [title=Parsec] inhibit_idle fullscreen
for_window [class=streaming_client] inhibit_idle fullscreen
-for_window [class=steam_app_.*] inhibit_idle fullscreen, allow_tearing yes
+#for_window [class=steam_app_.*] inhibit_idle fullscreen, allow_tearing yes
+for_window [class=steam_app_.*] inhibit_idle fullscreen
+for_window [app_id=monsterhunterworld.exe] inhibit_idle fullscreen
for_window [app_id=gamescope] inhibit_idle fullscreen, allow_tearing yes, floating enable
for_window [class=.gamescope-wrapped] inhibit_idle fullscreen, allow_tearing yes
for_window [app_id=osu!] inhibit_idle fullscreen, allow_tearing yes
for_window [app_id=cs2] inhibit_idle fullscreen, allow_tearing yes
-for_window [class=Minecraft*] inhibit_idle fullscreen, allow_tearing yes
+#for_window [class=Minecraft*] inhibit_idle fullscreen, allow_tearing yes
+for_window [class=Minecraft*] inhibit_idle fullscreen
for_window [title=Overwatch] inhibit_idle fullscreen, allow_tearing yes
for_window [class=Ryujinx] inhibit_idle fullscreen
for_window [app_id=org.yuzu_emu.yuzu] inhibit_idle fullscreen