Use lib.meta.getExe
Signed-off-by: Nikolaos Karaolidis <nick@karaolidis.com>
This commit is contained in:
@@ -8,7 +8,7 @@
|
||||
enable = true;
|
||||
settings = {
|
||||
"$mod" = "SUPER";
|
||||
"$term" = "${pkgs.kitty}/bin/kitty";
|
||||
"$term" = lib.meta.getExe pkgs.kitty;
|
||||
|
||||
bind = [
|
||||
"$mod, Return, exec, $term"
|
||||
@@ -103,14 +103,13 @@
|
||||
fi
|
||||
'';
|
||||
|
||||
theme.extraConfig = let name = "reload-hyprland"; in
|
||||
"${pkgs.writeShellApplication {
|
||||
inherit name;
|
||||
theme.extraConfig = "${lib.meta.getExe (pkgs.writeShellApplication {
|
||||
name = "reload-hyprland";
|
||||
runtimeInputs = with pkgs; [ hyprland ];
|
||||
text = ''
|
||||
hyprctl reload
|
||||
'';
|
||||
}}/bin/${name} &";
|
||||
})} &";
|
||||
|
||||
home.sessionVariables.NIXOS_OZONE_WL = "1";
|
||||
};
|
||||
|
Reference in New Issue
Block a user