feat: socket file for xidlehook

This commit is contained in:
2025-01-23 12:33:06 +01:00
parent 3a8fa615f9
commit 4b125c5802

View File

@@ -80,6 +80,7 @@ if [ "$(hostname)" = "zion" ]; then
# xset s 1200 # xset s 1200
xidlehook \ xidlehook \
--socket /tmp/xidlehook.sock \
--not-when-fullscreen \ --not-when-fullscreen \
--not-when-audio \ --not-when-audio \
--timer 600 "xset dpms force standby" "" \ --timer 600 "xset dpms force standby" "" \
@@ -98,6 +99,7 @@ elif [ "$(hostname)" = "thor" ]; then
# Laptop-specific xidlehook rules # Laptop-specific xidlehook rules
xidlehook \ xidlehook \
--socket /tmp/xidlehook.sock
--not-when-fullscreen \ --not-when-fullscreen \
--not-when-audio \ --not-when-audio \
--timer 450 "brightnessctl -s set 5%" "brightnessctl -s set 100%" \ --timer 450 "brightnessctl -s set 5%" "brightnessctl -s set 100%" \