fix hyprrun
This commit is contained in:
@@ -7,7 +7,24 @@
|
|||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
config = lib.mkIf config.homeconfig.scripts.enable {
|
config = lib.mkMerge [
|
||||||
|
(lib.mkIf (config.homeconfig.hyprland.enable && config.homeconfig.scripts.enable) {
|
||||||
|
home.packages = [
|
||||||
|
(pkgs.writeShellScriptBin "hyprrun" ''
|
||||||
|
uwsm app -- ''$@
|
||||||
|
'')
|
||||||
|
];
|
||||||
|
})
|
||||||
|
|
||||||
|
(lib.mkIf (!config.homeconfig.hyprland.enable && config.homeconfig.scripts.enable) {
|
||||||
|
home.packages = [
|
||||||
|
(pkgs.writeShellScriptBin "hyprrun" ''
|
||||||
|
eval "''$@"
|
||||||
|
'')
|
||||||
|
];
|
||||||
|
})
|
||||||
|
|
||||||
|
(lib.mkIf config.homeconfig.scripts.enable {
|
||||||
home.packages = [
|
home.packages = [
|
||||||
|
|
||||||
#scripts
|
#scripts
|
||||||
@@ -102,6 +119,7 @@
|
|||||||
'')
|
'')
|
||||||
|
|
||||||
];
|
];
|
||||||
};
|
})
|
||||||
|
];
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@@ -21,11 +21,6 @@
|
|||||||
|
|
||||||
python = "python3.13";
|
python = "python3.13";
|
||||||
python3 = "python3.13";
|
python3 = "python3.13";
|
||||||
|
|
||||||
hyprrun = with lib; mkMerge [
|
|
||||||
(mkIf config.homeconfig.hyprland.enable "uwsm app --")
|
|
||||||
(mkIf (!config.homeconfig.hyprland.enable) ";")
|
|
||||||
];
|
|
||||||
};
|
};
|
||||||
|
|
||||||
history = {
|
history = {
|
||||||
|
|||||||
Reference in New Issue
Block a user