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:
parent
a78cb283bf
commit
1688787677
@ -102,6 +102,11 @@
|
|||||||
nix-init
|
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) [
|
nixpkgs.config.allowUnfreePredicate = pkg: builtins.elem (lib.getName pkg) [
|
||||||
"osu-lazer-bin"
|
"osu-lazer-bin"
|
||||||
];
|
];
|
||||||
|
Loading…
Reference in New Issue
Block a user