added the fuzzel application launcher
This commit is contained in:
parent
142e65955f
commit
98e78cfd01
5 changed files with 23 additions and 3 deletions
|
@ -44,8 +44,7 @@
|
|||
desktops.hyprland.enable = true;
|
||||
programs = {
|
||||
launchers = {
|
||||
anyrun.enable = true;
|
||||
rofi.enable = true;
|
||||
fuzzel.enable = true;
|
||||
};
|
||||
media = {
|
||||
beets.enable = true;
|
||||
|
|
|
@ -5,5 +5,6 @@ in {
|
|||
anyrun.enable = mkEnableOption "anyrun application launcher";
|
||||
rofi.enable = mkEnableOption "rofi application launcher";
|
||||
tofi.enable = mkEnableOption "tofi application launcher";
|
||||
fuzzel.enable = mkEnableOption "fuzzel application launcher";
|
||||
};
|
||||
}
|
||||
|
|
|
@ -2,5 +2,6 @@ _: {
|
|||
imports = [
|
||||
./rofi
|
||||
./anyrun
|
||||
./fuzzel/module.nix
|
||||
];
|
||||
}
|
||||
|
|
19
modules/runners/fuzzel/module.nix
Normal file
19
modules/runners/fuzzel/module.nix
Normal file
|
@ -0,0 +1,19 @@
|
|||
{
|
||||
config,
|
||||
lib,
|
||||
pkgs,
|
||||
...
|
||||
}: let
|
||||
inherit (lib) mkIf;
|
||||
inherit (config.modules.other.system) username;
|
||||
cfg = config.modules.usrEnv.programs.launchers.fuzzel;
|
||||
in {
|
||||
config = {
|
||||
home-manager.users.${username}.programs.fuzzel = mkIf cfg.enable {
|
||||
enable = true;
|
||||
package = pkgs.fuzzel;
|
||||
settings = {
|
||||
};
|
||||
};
|
||||
};
|
||||
}
|
|
@ -218,7 +218,7 @@ in {
|
|||
"$mainMod, RETURN, exec, ${foot}/bin/foot"
|
||||
"$mainMod, Q, killactive"
|
||||
"$mainMod, F, fullscreen, 0"
|
||||
"$mainMod, D, exec, ${pkgs.procps}/bin/pkill anyrun || ${anyrun}/bin/anyrun"
|
||||
"$mainMod, D, exec, ${pkgs.procps}/bin/pkill fuzzel || ${anyrun}/bin/fuzzel"
|
||||
"$mainMod, SPACE, togglefloating, active"
|
||||
|
||||
# workspaces
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue