diff options
author | Kjetil Orbekk <kj@orbekk.com> | 2023-04-29 16:12:20 -0400 |
---|---|---|
committer | Kjetil Orbekk <kj@orbekk.com> | 2023-04-29 16:12:20 -0400 |
commit | 9dbda84dfa311f3d7309088b90c8aaa7f902b900 (patch) | |
tree | 64c2416161e00df01abfcecf7413ffa410f53e4b /desktop | |
parent | 9a5a1a8d848042a6032f95114d0df26887aa4eb0 (diff) |
Add display sleep to swaylock
Diffstat (limited to 'desktop')
-rwxr-xr-x | desktop/.config/river/init | 2 |
1 files changed, 1 insertions, 1 deletions
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" |