use swayidle for blanking - dotfiles - 🍚 personal arsenal of "rice"
HTML git clone https://git.drkhsh.at/dotfiles.git
DIR Log
DIR Files
DIR Refs
DIR Submodules
DIR README
DIR LICENSE
---
DIR commit 80cbf3bf7e8e1d70b9f6b154b177d5b03f92b8a6
DIR parent 3fad0173e1bf9163984d1aa860ef54dd42e6a831
HTML Author: drkhsh <me@drkhsh.at>
Date: Wed, 30 Apr 2025 15:57:32 +0200
use swayidle for blanking
Diffstat:
M dwl/.local/bin/dwl-startup | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
---
DIR diff --git a/dwl/.local/bin/dwl-startup b/dwl/.local/bin/dwl-startup
@@ -1,6 +1,6 @@
#!/bin/sh
-pkill widle; widle -t 300 "glitchlock --font dos437 --font-size 14" &
+pkill swayidle; swayidle -w timeout 300 "glitchlock --font dos437 --font-size 14" timeout 60 "brightnessctl -s && brightnessctl set 30%" timeout 600 "brightnessctl set 0%" resume "brightnessctl -r" &
pkill swaybg; swaybg -i ~/heap/wallpaper/desktop/cyberpunk-alt.png -m fill &
pkill wlsunset; wlsunset -l 47.259659 -L 11.400375 &
pkill dunst; dunst &