diff options
Diffstat (limited to 'dotfiles/river')
-rwxr-xr-x | dotfiles/river/init | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/dotfiles/river/init b/dotfiles/river/init index 106f6f1..0b29c0e 100755 --- a/dotfiles/river/init +++ b/dotfiles/river/init @@ -12,6 +12,12 @@ xrdb ~/.Xresources & swaybg -i ~/Images/Wallpapers/Day/wave.jpg & +swayidle -w \ + timeout 300 'swaylock -f -F -c 000000' \ + timeout 400 'wlr-randr --output $(wlr-randr | head -n1 | awk "{print $1;}") --off' \ + resume 'wlr-randr --output $(wlr-randr | head -n1 | awk "{print $1;}") --on' \ + before-sleep 'swaylock -f -F -c 000000' & + riverctl spawn "dbus-update-activation-environment --systemd WAYLAND_DISPLAY XDG_CURRENT_DESKTOP=river" riverctl spawn "systemctl --user import-environment WAYLAND_DISPLAY XDG_CURRENT_DESKTOP=river" |