Add hyprbars to hyprland
This commit is contained in:
@ -87,6 +87,8 @@ in
|
||||
wayland.windowManager.hyprland = {
|
||||
# Whether to enable Hyprland wayland compositor
|
||||
enable = true;
|
||||
package = inputs.hyprland.packages."${pkgs.system}".hyprland;
|
||||
|
||||
# The hyprland package to use (simplifies use of plugins)
|
||||
# package = inputs.hyprland.packages.${pkgs.system}.hyprland;
|
||||
# Whether to enable XWayland
|
||||
@ -95,6 +97,10 @@ in
|
||||
# Optional
|
||||
# Whether to enable hyprland-session.target on hyprland startup
|
||||
systemd.enable = true;
|
||||
# Make PATH available to systemd services
|
||||
systemd.variables = [ "--all" ];
|
||||
|
||||
plugins = [ inputs.hyprland-plugins.packages.${pkgs.system}.hyprbars ];
|
||||
|
||||
settings = {
|
||||
"$mod" = "SUPER";
|
||||
@ -283,6 +289,17 @@ in
|
||||
"$mod CTRL, 9, movetoworkspacesilent, 9"
|
||||
"$mod CTRL, 0, movetoworkspacesilent, 10"
|
||||
];
|
||||
|
||||
plugin = {
|
||||
hyprbars = {
|
||||
bar_text_size = 10;
|
||||
bar_height = 16;
|
||||
bar_text_font = "Ubuntu Nerd Font";
|
||||
bar_precedence_over_border = false;
|
||||
|
||||
hyprbars-button = [ "rgb(${palette.base03}), 14, , hyprctl dispatch killactive" ];
|
||||
};
|
||||
};
|
||||
};
|
||||
};
|
||||
};
|
||||
|
Reference in New Issue
Block a user