1
1
Fork 0

menu: fix shell script path

Signed-off-by: Myned <dev@bjork.tech>
This commit is contained in:
Myned 2025-02-17 16:49:32 -06:00
parent 7e172c3b35
commit 0c1c7c3d70
Signed by: Myned
GPG key ID: C7224454F7881A34
2 changed files with 2 additions and 2 deletions

View file

@ -25,7 +25,7 @@ in {
config = mkIf cfg.enable { config = mkIf cfg.enable {
custom = mkIf (config.custom.menu == "rofi") { custom = mkIf (config.custom.menu == "rofi") {
menus = mapAttrsRecursive (path: value: pkgs.writeShellScript (concatStringsSep "-" (["menus"] ++ path)) value) { menus = mapAttrsRecursive (path: value: toString (pkgs.writeShellScript (concatStringsSep "-" (["menus"] ++ path)) value)) {
default.show = "${pkill} --exact rofi || ${rofi} -modes drun -show drun -show-icons"; default.show = "${pkill} --exact rofi || ${rofi} -modes drun -show drun -show-icons";
calculator.show = ''${pkill} --exact rofi || ${rofi} -modes calc -show calc -no-history -calc-error-color '#dc322f' -calc-command "${echo} -n '{result}' | ${wl-copy}"''; calculator.show = ''${pkill} --exact rofi || ${rofi} -modes calc -show calc -no-history -calc-error-color '#dc322f' -calc-command "${echo} -n '{result}' | ${wl-copy}"'';

View file

@ -20,7 +20,7 @@ in {
config = mkIf cfg.enable { config = mkIf cfg.enable {
custom = mkIf (config.custom.menu == "walker") { custom = mkIf (config.custom.menu == "walker") {
menus = mapAttrsRecursive (path: value: pkgs.writeShellScript (concatStringsSep "-" (["menus"] ++ path)) value) { menus = mapAttrsRecursive (path: value: toString (pkgs.writeShellScript (concatStringsSep "-" (["menus"] ++ path)) value)) {
default.show = walker; default.show = walker;
clipboard = { clipboard = {