Add laptop hypr config branch

This commit is contained in:
2025-12-31 18:01:46 +01:00
commit 36c60103ea
9 changed files with 380 additions and 0 deletions
+34
View File
@@ -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
}