summaryrefslogtreecommitdiff
path: root/dotfiles/hyprland/.config/waybar/config
diff options
context:
space:
mode:
authorCraig Jennings <c@cjennings.net>2026-01-24 18:37:14 -0600
committerCraig Jennings <c@cjennings.net>2026-01-24 18:37:14 -0600
commit6ce385c2be62492d43ef90b9525d38edc7cd8190 (patch)
tree8f3c70f73b558e71de23c8a07f29494bb4554bcc /dotfiles/hyprland/.config/waybar/config
parent9bc93ba94a6f14c2ff6f11f6f85d100dd2c3ffb2 (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/waybar/config')
-rw-r--r--dotfiles/hyprland/.config/waybar/config50
1 files changed, 50 insertions, 0 deletions
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": "<tt>{calendar}</tt>"
+ }
+}