diff options
| author | Craig Jennings <c@cjennings.net> | 2026-01-24 18:37:14 -0600 |
|---|---|---|
| committer | Craig Jennings <c@cjennings.net> | 2026-01-24 18:37:14 -0600 |
| commit | 6ce385c2be62492d43ef90b9525d38edc7cd8190 (patch) | |
| tree | 8f3c70f73b558e71de23c8a07f29494bb4554bcc /dotfiles/hyprland/.config/hypr/hypridle.conf | |
| parent | 9bc93ba94a6f14c2ff6f11f6f85d100dd2c3ffb2 (diff) | |
feat(archsetup): add Hyprland/Wayland desktop environment support
- Add DESKTOP_ENV config variable (dwm/hyprland/none, default: hyprland)
- Create wayland() and hyprland() installation functions
- Add display_server/window_manager conditional step wrappers
- Create dotfiles/hyprland/ with full config suite:
- hyprland.conf with keybindings translated from DWM + sxhkd
- waybar config matching conky status bar
- hypridle/hyprlock for screen locking
- wofi config matching rofi theme
- gammastep config for Wayland (replaces redshift)
- Add Hyprland validation tests to validation.sh
- Update archsetup.conf.example with DESKTOP_ENV option
Diffstat (limited to 'dotfiles/hyprland/.config/hypr/hypridle.conf')
| -rw-r--r-- | dotfiles/hyprland/.config/hypr/hypridle.conf | 34 |
1 files changed, 34 insertions, 0 deletions
diff --git a/dotfiles/hyprland/.config/hypr/hypridle.conf b/dotfiles/hyprland/.config/hypr/hypridle.conf new file mode 100644 index 0000000..681c741 --- /dev/null +++ b/dotfiles/hyprland/.config/hypr/hypridle.conf @@ -0,0 +1,34 @@ +# Hypridle configuration +# Replaces xautolock -time 5 -locker slock + +general { + lock_cmd = pidof hyprlock || hyprlock + before_sleep_cmd = loginctl lock-session + after_sleep_cmd = hyprctl dispatch dpms on +} + +# Screen dim after 4.5 minutes +listener { + timeout = 270 + on-timeout = brightnessctl -s set 10% + on-resume = brightnessctl -r +} + +# Lock screen after 5 minutes (matching xautolock -time 5) +listener { + timeout = 300 + on-timeout = loginctl lock-session +} + +# Turn off screen after 10 minutes +listener { + timeout = 600 + on-timeout = hyprctl dispatch dpms off + on-resume = hyprctl dispatch dpms on +} + +# Suspend after 30 minutes +listener { + timeout = 1800 + on-timeout = systemctl suspend +} |
