feat(hyprland): add hyprbar plugin
This commit is contained in:
parent
5ba48b939a
commit
92c962c5ac
3 changed files with 57 additions and 0 deletions
|
@ -1,4 +1,8 @@
|
|||
{
|
||||
inputs,
|
||||
pkgs,
|
||||
...
|
||||
}: {
|
||||
home.sessionVariables.NIXOS_OZONE_WL = "1";
|
||||
wayland.windowManager.hyprland = {
|
||||
enable = true;
|
||||
|
@ -94,6 +98,24 @@
|
|||
numlock_by_default = true;
|
||||
follow_mouse = 2; # Click on a window to change focus
|
||||
};
|
||||
plugin = {
|
||||
hyprbars = {
|
||||
# example config
|
||||
bar_height = 20;
|
||||
|
||||
# example buttons (R -> L)
|
||||
# hyprbars-button = color, size, on-click
|
||||
hyprbars-button = [
|
||||
"rgb(ff4040), 10, , hyprctl dispatch killactive"
|
||||
"rgb(eeee11), 10, , hyprctl dispatch fullscreen 1"
|
||||
];
|
||||
};
|
||||
};
|
||||
# Hyprbars
|
||||
};
|
||||
plugins = [
|
||||
inputs.hyprland-plugins.packages.${pkgs.system}.hyprbars
|
||||
# ...
|
||||
];
|
||||
};
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue