From 6ce385c2be62492d43ef90b9525d38edc7cd8190 Mon Sep 17 00:00:00 2001 From: Craig Jennings Date: Sat, 24 Jan 2026 18:37:14 -0600 Subject: 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 --- dotfiles/hyprland/.config/waybar/config | 50 +++++++++++++++++++++++++++++++++ 1 file changed, 50 insertions(+) create mode 100644 dotfiles/hyprland/.config/waybar/config (limited to 'dotfiles/hyprland/.config/waybar/config') diff --git a/dotfiles/hyprland/.config/waybar/config b/dotfiles/hyprland/.config/waybar/config new file mode 100644 index 0000000..3b3a90f --- /dev/null +++ b/dotfiles/hyprland/.config/waybar/config @@ -0,0 +1,50 @@ +{ + "layer": "top", + "position": "top", + "height": 30, + "spacing": 4, + + "modules-left": ["hyprland/workspaces"], + "modules-center": ["hyprland/window"], + "modules-right": ["tray", "battery", "disk", "clock"], + + "hyprland/workspaces": { + "format": "{name}", + "on-click": "activate", + "sort-by-number": true + }, + + "hyprland/window": { + "format": "{}", + "max-length": 50 + }, + + "tray": { + "spacing": 10 + }, + + "battery": { + "bat": "BAT0", + "interval": 30, + "states": { + "warning": 30, + "critical": 15 + }, + "format": "󱊣 {capacity}% {icon}", + "format-charging": "󱊣 {capacity}% ", + "format-plugged": "󱊣 {capacity}% ", + "format-icons": ["", "", "", "", ""] + }, + + "disk": { + "interval": 30, + "format": " {used}/{total}", + "path": "/" + }, + + "clock": { + "interval": 30, + "format": " {:%a %B %d} 󰥔 {:%I:%M %p %Z}", + "tooltip-format": "{calendar}" + } +} -- cgit v1.2.3