diff --git a/modules/home/de/hyprland.nix b/modules/home/de/hyprland.nix index f3d1600..34256ec 100644 --- a/modules/home/de/hyprland.nix +++ b/modules/home/de/hyprland.nix @@ -53,6 +53,46 @@ in { ]; }; + programs.waybar = { + enable = true; + systemd.enable = true; + + settings = { + mainBar = { + layer = "top"; + position = "top"; + spacing = 3; + + modules-left = ["clock"]; + modules-center = ["hyprland/workspaces"]; + modules-right = ["tray" "wireplumber" "backlight" "battery"]; + + "hyprland/workspaces" = { + active-only = false; + all-outputs = true; + }; + + backlight = { + device = "amdgpu_bl1"; + }; + }; + }; + + style = '' + * { + border: none; + border-radius: 0px; + font-family: "JetBrainsMono Nerd Font"; + font-size: 14px; + } + + window#waybar { + background-color: rgba(43, 48, 59, 0.5); + color: #ffffff; + } + ''; + }; + myConfig.rofi.enable = true; services.cliphist.enable = true;