aboutsummaryrefslogtreecommitdiff
path: root/dotfiles/.local
diff options
context:
space:
mode:
authorYaroslav de la Peña Smirnov <yps@yaroslavps.com>2025-01-19 16:00:37 +0300
committerYaroslav de la Peña Smirnov <yps@yaroslavps.com>2025-01-19 16:00:37 +0300
commit1a908338bf11789f8a5e6ab1f3e00a584afecf68 (patch)
treec3bdf27783e2683f708e3cbb359e4f3999cf520f /dotfiles/.local
parent8003d445c2fdba680aac7d927ea72195cb080f62 (diff)
downloadswayrice-1a908338bf11789f8a5e6ab1f3e00a584afecf68.tar.gz
swayrice-1a908338bf11789f8a5e6ab1f3e00a584afecf68.zip
lock: aesthetic improvements
* Use niri's new screen transition effect, to avoid flickering. * Use blurred-out wallpaper instead of blurred out screenshot.
Diffstat (limited to 'dotfiles/.local')
-rwxr-xr-xdotfiles/.local/bin/lock-color1
1 files changed, 1 insertions, 0 deletions
diff --git a/dotfiles/.local/bin/lock-color b/dotfiles/.local/bin/lock-color
index 23efb78..6d0cb2b 100755
--- a/dotfiles/.local/bin/lock-color
+++ b/dotfiles/.local/bin/lock-color
@@ -8,6 +8,7 @@ if [ -n "$SWAYSOCK" ]; then
swayidle timeout 15 'swaymsg "output * dpms off"' resume 'swaymsg "output * dpms on"' &
fi
elif [ -n "$NIRI_SOCKET" ]; then
+ niri msg action do-screen-transition
if [ "$1" != "screenon" ]; then
echo idling
swayidle timeout 15 'niri msg action power-off-monitors' resume 'niri msg action power-on-monitors' &