l fzfmenu: use urxvt because of arg bug

This commit is contained in:
lassulus 2020-04-14 20:50:48 +02:00
parent 843a537bd7
commit 4d9d0dcd98

View File

@ -33,7 +33,7 @@ pkgs.writeDashBin "fzfmenu" ''
INPUT=$(${pkgs.coreutils}/bin/cat)
OUTPUT="$(${pkgs.coreutils}/bin/mktemp)"
if [ -z ''${TERM+x} ]; then #check if we can print fzf in the shell
${pkgs.rxvt_unicode}/bin/urxvtc \
${pkgs.rxvt_unicode}/bin/urxvt \
-name fzfmenu -title fzfmenu \
-e ${pkgs.dash}/bin/dash -c \
"echo \"$INPUT\" | ${pkgs.fzf}/bin/fzf \