From 1688787677b7a79a5228fd5004031deabc8066fb Mon Sep 17 00:00:00 2001 From: Donovan Glover Date: Tue, 1 Aug 2023 18:21:39 -0400 Subject: [PATCH] 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. --- modules/packages.nix | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/modules/packages.nix b/modules/packages.nix index 11e726c..f2ac59b 100644 --- a/modules/packages.nix +++ b/modules/packages.nix @@ -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" ];