diff options
| author | scouckel <james.krinsky@gmail.com> | 2025-11-26 03:08:28 -0600 |
|---|---|---|
| committer | scouckel <james.krinsky@gmail.com> | 2025-11-26 03:08:28 -0600 |
| commit | 94f99ad3d4bb375d0d1296e4b2755057bd812fd9 (patch) | |
| tree | 84e784de30cdb8d818e388fd49db67246e5340d6 /modules/home-manager/hypr/waybar-hyprland.nix | |
rebase
Diffstat (limited to 'modules/home-manager/hypr/waybar-hyprland.nix')
| -rw-r--r-- | modules/home-manager/hypr/waybar-hyprland.nix | 44 |
1 files changed, 44 insertions, 0 deletions
diff --git a/modules/home-manager/hypr/waybar-hyprland.nix b/modules/home-manager/hypr/waybar-hyprland.nix new file mode 100644 index 0000000..bd0196b --- /dev/null +++ b/modules/home-manager/hypr/waybar-hyprland.nix @@ -0,0 +1,44 @@ +{ config, lib, ... }: + +{ + programs.waybar = { + enable = true; + + settings = { + mainBar = { + layer = "top"; + position = "top"; + height = 15; + + modules-left = [ "hyprland/workspaces" ]; + modules-center = [ "hyprland/window" ]; + modules-right = [ "pulseaudio" "battery" "clock" ]; + + "hyprland/window" = { + on-click = "rofi -show window"; + }; + }; + }; + + style = '' + *{ + border: none; + border-radius: 0; + font-family: "JetBrains Mono" + } + + window#waybar { + background: #141617; + color: #D4BE98; + } + + label.module { + padding: 0 10px; + } + + #workspaces button { + color: #D4BE98; + } + ''; + }; +} |
