mirror of
https://git.aramjonghu.nl/AramJonghu/hypr.git
synced 2026-06-08 14:18:24 +02:00
Add laptop hypr config branch
This commit is contained in:
@@ -0,0 +1,34 @@
|
||||
general {
|
||||
lock_cmd = pidof hyprlock || hyprlock
|
||||
before_sleep_cmd = loginctl lock-session
|
||||
after_sleep_cmd = hyprctl dispatch dpms on
|
||||
ignore_dbus_inhibit = false
|
||||
ignore_systemd_inhibit = false
|
||||
}
|
||||
|
||||
# Idle
|
||||
listener {
|
||||
timeout = 1800
|
||||
on-timeout = loginctl lock-session
|
||||
on-resume = notify-send "Welcome back!"
|
||||
}
|
||||
|
||||
# Shutdown
|
||||
listener {
|
||||
timeout = 7200
|
||||
on-timeout = systemctl hibernate
|
||||
on-resume = loginctl lock-session && notify-send "Welcome back!"
|
||||
}
|
||||
|
||||
# Brightness
|
||||
listener {
|
||||
timeout = 900
|
||||
on-timeout = brightnessctl -s set 10000
|
||||
on-resume = brightnessctl -r
|
||||
}
|
||||
|
||||
listener {
|
||||
timeout = 3600
|
||||
on-timeout = hyprctl dispatch dpms off
|
||||
on-resume = hyprctl dispatch dpms on
|
||||
}
|
||||
Reference in New Issue
Block a user