menu: fix shell script path
Signed-off-by: Myned <dev@bjork.tech>
This commit is contained in:
parent
7e172c3b35
commit
0c1c7c3d70
2 changed files with 2 additions and 2 deletions
|
@ -25,7 +25,7 @@ in {
|
|||
|
||||
config = mkIf cfg.enable {
|
||||
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";
|
||||
calculator.show = ''${pkill} --exact rofi || ${rofi} -modes calc -show calc -no-history -calc-error-color '#dc322f' -calc-command "${echo} -n '{result}' | ${wl-copy}"'';
|
||||
|
||||
|
|
|
@ -20,7 +20,7 @@ in {
|
|||
|
||||
config = mkIf cfg.enable {
|
||||
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;
|
||||
|
||||
clipboard = {
|
||||
|
|
Loading…
Add table
Reference in a new issue