mirror of
https://github.com/eRgo35/nix-config.git
synced 2026-02-04 08:46:11 +01:00
feat: socket file for xidlehook
This commit is contained in:
@@ -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%" \
|
||||||
|
|||||||
Reference in New Issue
Block a user