From 94f99ad3d4bb375d0d1296e4b2755057bd812fd9 Mon Sep 17 00:00:00 2001 From: scouckel Date: Wed, 26 Nov 2025 03:08:28 -0600 Subject: rebase --- modules/home-manager/hypr/waybar-hyprland.nix | 44 +++++++++++++++++++++++++++ 1 file changed, 44 insertions(+) create mode 100644 modules/home-manager/hypr/waybar-hyprland.nix (limited to 'modules/home-manager/hypr/waybar-hyprland.nix') 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; + } + ''; + }; +} -- cgit v1.3