From 0562b41396ad93decbcc9601954de36de2b70aa7 Mon Sep 17 00:00:00 2001 From: Ahwx Date: Wed, 3 Sep 2025 19:56:33 +0200 Subject: [PATCH] feat: adds hyprspace and hyprbars; configures hyprbars --- modules/home/hyprland/config.nix | 16 ++++++++++++++++ modules/home/hyprland/hyprland.nix | 2 ++ 2 files changed, 18 insertions(+) diff --git a/modules/home/hyprland/config.nix b/modules/home/hyprland/config.nix index cd1d242..0bfab5d 100644 --- a/modules/home/hyprland/config.nix +++ b/modules/home/hyprland/config.nix @@ -388,6 +388,22 @@ xwayland { force_zero_scaling = true } + + plugin { + hyprbars { + bar_height = 38 + bar_color = rgb(1e1e1e) + col.text = $foreground + bar_text_size = 12 + bar_text_font = GohuFont 11 Nerd Font Propo + bar_button_padding = 12 + bar_padding = 10 + bar_precedence_over_border = true + hyprbars-button = $color1, 20, , hyprctl dispatch killactive + hyprbars-button = $color3, 20, , hyprctl dispatch fullscreen 2 + hyprbars-button = $color4, 20, , hyprctl dispatch togglefloating + } + } "; }; } diff --git a/modules/home/hyprland/hyprland.nix b/modules/home/hyprland/hyprland.nix index ed959a4..c277b9b 100644 --- a/modules/home/hyprland/hyprland.nix +++ b/modules/home/hyprland/hyprland.nix @@ -24,6 +24,8 @@ plugins = [ # inputs.Hyprspace.packages.${pkgs.system}.Hyprspace # inputs.Hyswipe.packages.${pkgs.system}.Hyswipe + pkgs.hyprlandPlugins.hyprbars + pkgs.hyprlandPlugins.hyprspace ]; }; }