commit 9202286701153cdb2d44015aa5a83e4215f11c19 parent 10247b5fab9865caa43bc4ea7501322ad4b0d422 Author: awy <awy@awy.one> Date: Sat, 17 May 2025 16:23:08 +0300 swayidle,swaylock Diffstat:
M | .config/sway/config | | | 1 | + |
M | .config/swayidle/config | | | 2 | +- |
A | .config/swaylock/config | | | 1 | + |
3 files changed, 3 insertions(+), 1 deletion(-)
diff --git a/.config/sway/config b/.config/sway/config @@ -19,6 +19,7 @@ exec portal exec sleep 0.1 && randombg exec mpd exec autotiling +exec swayidle # WORKSPACES workspace 1 output DP-2 diff --git a/.config/swayidle/config b/.config/swayidle/config @@ -1,3 +1,3 @@ timeout 300 'swaylock -f -c 000000' -timeout 600 'swaymsg "output * dpms off"' resume 'swaymsg "output * dpms on"' +timeout 330 'swaymsg "output * dpms off"' resume 'swaymsg "output * dpms on"' before-sleep 'swaylock -f -c 000000' diff --git a/.config/swaylock/config b/.config/swaylock/config @@ -0,0 +1 @@ +image=$(find /mnt/ssd/papes/. -type f | shuf -n1)