From a0824f296bc6a2d1fc3428ff9901765d8880bde5 Mon Sep 17 00:00:00 2001 From: pancakes Date: Sun, 31 Mar 2024 16:52:32 +1000 Subject: [PATCH] Update window rules and idle --- river/.config/river/init | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/river/.config/river/init b/river/.config/river/init index ef962bc..4868811 100755 --- a/river/.config/river/init +++ b/river/.config/river/init @@ -25,10 +25,14 @@ while read program; do done < ~/.config/autostart # Window rules +riverctl rule-add ssd # Use server side decorations for everything (surely this will not break shit) riverctl rule-add -app-id blueberry.py float # Float Blueberry riverctl rule-add -app-id pavucontrol float # Float pavucontrol +riverctl rule-add -app-id steam -title "Friends List" float # Float Steam Friends riverctl rule-add -app-id "waydroid*" fullscreen # Fullscreen all Waydroid applications -riverctl rule-add ssd # Use server side decorations for everything (surely this will not break shit) +riverctl rule-add -app-id windowkill csd +riverctl rule-add -app-id windowkill float +riverctl rule-add -app-id windowkill position 0 0 ## Appearance riverctl xcursor-theme Adwaita 24 @@ -59,7 +63,7 @@ riverctl input $T480_POINTER tap enabled riverctl input $T480_POINTER tap-button-map left-right-middle # Lock screen after 5 mins idle or before sleep -riverctl spawn "swayidle -w timeout 300 'swaylock -f' before-sleep 'swaylock -f'" +riverctl spawn "swayidle -w timeout 300 'swaylock -f' timeout 600 'wlopm --off \*' resume 'wlopm --on \*' before-sleep 'swaylock -f'" ## Mappings # Applications