Update window rules and idle

This commit is contained in:
pancakes 2024-03-31 16:52:32 +10:00
parent 747cde3573
commit a0824f296b

View file

@ -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