1
0
forked from extern/nix-config

meta: Make it easy to load hyprbars

Not sure why I couldn't do this in the hyprland or fish modules but I
couldn't, even after including hyprland-plugins.
This commit is contained in:
Donovan Glover 2023-08-01 18:21:39 -04:00
parent a78cb283bf
commit 1688787677
No known key found for this signature in database
GPG Key ID: EA7408A77AE1BE65

View File

@ -102,6 +102,11 @@
nix-init
];
programs.fish.shellAliases = {
hyprbars = "hyprctl plugin load ${hyprland-plugins.packages.${pkgs.system}.hyprbars}/lib/libhyprbars.so";
nobars = "hyprctl plugin unload ${hyprland-plugins.packages.${pkgs.system}.hyprbars}/lib/libhyprbars.so";
};
nixpkgs.config.allowUnfreePredicate = pkg: builtins.elem (lib.getName pkg) [
"osu-lazer-bin"
];