feat(hypr): implement display and keyboard backlight dimming
This commit is contained in:
@@ -6,10 +6,22 @@ general {
|
||||
}
|
||||
|
||||
listener {
|
||||
timeout = 300 # 5min
|
||||
on-timeout = loginctl lock-session # lock screen when timeout has passed
|
||||
timeout = 290
|
||||
on-timeout = ~/.config/hypr/scripts/dim-display.sh dim
|
||||
on-resume = ~/.config/hypr/scripts/dim-display.sh restore
|
||||
}
|
||||
|
||||
listener {
|
||||
timeout = 300
|
||||
on-timeout = loginctl lock-session
|
||||
}
|
||||
|
||||
listener {
|
||||
timeout = 300
|
||||
on-timeout = ~/.config/hypr/scripts/dim-keyboard.sh dim
|
||||
on-resume = ~/.config/hypr/scripts/dim-keyboard.sh restore
|
||||
}
|
||||
|
||||
listener {
|
||||
timeout = 300 # 5.5min
|
||||
on-timeout = hyprctl dispatch dpms off # screen off when timeout has passed
|
||||
|
||||
Reference in New Issue
Block a user