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..283e464 100644 --- a/modules/home/hyprland/hyprland.nix +++ b/modules/home/hyprland/hyprland.nix @@ -22,8 +22,8 @@ # enableNvidiaPatches = false; systemd.enable = true; plugins = [ - # inputs.Hyprspace.packages.${pkgs.system}.Hyprspace - # inputs.Hyswipe.packages.${pkgs.system}.Hyswipe + pkgs.hyprlandPlugins.hyprbars + # pkgs.hyprlandPlugins.hyprspace # causes hyprland to crash on 4-finger swipe; great software ]; }; }