From 9dbda84dfa311f3d7309088b90c8aaa7f902b900 Mon Sep 17 00:00:00 2001 From: Kjetil Orbekk Date: Sat, 29 Apr 2023 16:12:20 -0400 Subject: Add display sleep to swaylock --- desktop/.config/river/init | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/desktop/.config/river/init b/desktop/.config/river/init index b3306fb..ccca288 100755 --- a/desktop/.config/river/init +++ b/desktop/.config/river/init @@ -5,7 +5,7 @@ emacsclient -e "(progn $(for v in WAYLAND_DISPLAY DISPLAY SSH_AUTH_SOCK; do echo riverctl spawn "kanshi" riverctl spawn "waybar" riverctl spawn "nm-applet --indicator" -riverctl spawn "swayidle timeout 300 swaylock before-sleep swaylock" +riverctl spawn "swayidle -w timeout 1200 swaylock before-sleep swaylock timeout 1300 'wlopm --off \*' resume 'wlopm --on \*'" riverctl spawn "dbus-update-activation-environment --systemd WAYLAND_DISPLAY DISPLAY QT_QPT_PLATFORM XDG_CURRENT_DESKTOP=river" riverctl spawn "systemctl --user import-environment WAYLAND_DISPLAY QT_QPA_PLATFORM DISPLAY" riverctl spawn "systemctl --user set-environment XDG_CURRENT_DESKTOP=river" -- cgit v1.2.3