summary refs log tree commit diff
path: root/.config
diff options
context:
space:
mode:
Diffstat (limited to '.config')
-rw-r--r--.config/sway/auto.conf10
-rw-r--r--.config/sway/binds.conf16
-rw-r--r--.config/sway/config1
3 files changed, 12 insertions, 15 deletions
diff --git a/.config/sway/auto.conf b/.config/sway/auto.conf
index c1262dd..adcaca9 100644
--- a/.config/sway/auto.conf
+++ b/.config/sway/auto.conf
@@ -4,8 +4,6 @@
 # for_window [floating] border csd
 
 for_window [app_id="mpv"] max_render_time off
-for_window [app_id="foot"] max_render_time 4
-for_window [app_id="firefox.*"] max_render_time 6
 
 for_window [app_id="mpv"] floating enable; inhibit_idle open
 # for_window [app_id="mpv" title=".* - mvi$"] border pixel $bpix;
@@ -16,7 +14,7 @@ for_window [class="pinentry"] floating enable; border normal
 
 # for_window [class="zoom" title="Settings"] floating enable
 # for_window [class="zoom" title="Zoom - Converting.*"] floating enable
-for_window [class="zoom"] floating enable
+for_window [app_id="zoom"] floating enable
 
 for_window [title="tridactyledit"] floating enable
 for_window [app_id="launcher"] floating enable
@@ -31,6 +29,7 @@ for_window [app_id="firefox.*" title="^File Upload$"] floating enable
 for_window [app_id="firefox.*" title="^Save As$"] floating enable
 # exec centercon -w .6
 for_window [app_id="firefox.*" title="^Open Firefox in Troubleshoot Mode?$"] floating enable
+for_window [app_id="firefox.*" title="^About Mozilla Firefox$"] floating enable
 for_window [app_id="multimc" title="Folder$"] floating enable
 
 for_window [app_id=".*Telegram_Desktop$"] mark mail
@@ -42,9 +41,7 @@ for_window [app_id="obs" title="^Local File$"] floating enable; exec centercon -
 
 # Tag windows
 for_window [app_id="firefox.*"] mark browser
-for_window [class="Nightly"] mark browser
 for_window [class="Chromium-browser"] mark work; mark browser
-for_window [class="Mail"] mark mail
 for_window [class="discord"] mark mail
 for_window [app_id="telegramdesktop"] mark mail
 for_window [app_id="firefox.*" title="^web.whatsapp.com"] mark mail
@@ -63,3 +60,6 @@ for_window [class="osu!"] move workspace $wsGame, layout tabbed, exec osu-mode o
 for_window [class="KeePassXC"] move scratchpad; scratchpad show
 for_window [app_id="Password Safe"] move scratchpad; scratchpad show
 for_window [class="Gvncviewer"] move workspace __vnc; fullscreen
+
+for_window [app_id="retroarch"] fullscreen; seat * hide_cursor 1000
+for_window [app_id=".*"] seat * hide_cursor 0
diff --git a/.config/sway/binds.conf b/.config/sway/binds.conf
index 230fd25..910b7fa 100644
--- a/.config/sway/binds.conf
+++ b/.config/sway/binds.conf
@@ -10,9 +10,6 @@ bindsym $mod+w exec firefox --private-window
 # kill focused window
 bindsym $mod+Shift+q kill
 
-# start your launcher
-bindsym $mod+d exec menu -run
-
 # Drag floating windows by holding down $mod and left mouse button.
 # Resize them with right mouse button + $mod.
 # Despite the name, also works for non-floating windows.
@@ -24,12 +21,13 @@ floating_modifier $mod normal
 bindsym $mod+Shift+c reload
 
 # exit sway (logs you out of your wayland session)
-bindsym $mod+Shift+e exec swaynag \
-    -t warning \
-    -m 'exit: what now?' \
-    -b 'exit' 'swaymsg exit' \
-    -b 'poweroff' 'doas poweroff' \
-    -b 'reboot' 'doas reboot'
+bindsym $mod+Shift+e exit
+# bindsym $mod+Shift+e exec swaynag \
+#     -t warning \
+#     -m 'exit: what now?' \
+#     -b 'exit' 'swaymsg exit' \
+#     -b 'poweroff' 'doas poweroff' \
+#     -b 'reboot' 'doas reboot'
 
 bindsym $mod+Shift+backspace exec lock
 
diff --git a/.config/sway/config b/.config/sway/config
index ada5b4f..1baaca3 100644
--- a/.config/sway/config
+++ b/.config/sway/config
@@ -3,7 +3,6 @@
 gaps inner 5
 
 output * scale 1
-output * max_render_time 15
 output * adaptive_sync on
 
 # for_window [app_id=Alacritty] max_render_time 2