Переработан конфиг Hypridle
This commit is contained in:
1 parent
008295e7e1
commit
f114a836c3
1 file changed
+7
-8
@@ -11,24 +11,23 @@ listener {
|
||||
}
|
||||
|
||||
listener {
|
||||
timeout = 840
|
||||
on-timeout = notify-send "You are idle!" # command to run when timeout has passed.
|
||||
on-resume = brightnessctl -r; notify-send "Welcome back!" # command to run when activity is detected after timeout has fired.
|
||||
timeout = 780
|
||||
on-timeout = notify-send -t 3000 "Hypridle" "You are idle!"
|
||||
on-resume = brightnessctl -r; notify-send -t 1500 "Hypridle" "Welcome back!"
|
||||
}
|
||||
|
||||
listener {
|
||||
timeout = 900
|
||||
on-timeout = brightnessctl -r; loginctl lock-session # lock screen when timeout has passed
|
||||
on-timeout = brightnessctl -r; loginctl lock-session
|
||||
}
|
||||
|
||||
listener {
|
||||
timeout = 910
|
||||
timeout = 960
|
||||
on-timeout = hyprctl dispatch dpms off # screen off when timeout has passed
|
||||
on-resume = hyprctl dispatch dpms on # screen on when activity is detected after timeout has fired.
|
||||
}
|
||||
|
||||
listener {
|
||||
timeout = 1200
|
||||
on-timeout = $HOME/.config/wlogout/current_wall.sh && systemctl suspend # suspend pc
|
||||
timeout = 1080
|
||||
on-timeout = $HOME/.config/wlogout/current_wall.sh && systemctl suspend
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user