pkgs.fzfmenu: use alacritty

This commit is contained in:
lassulus 2023-02-06 13:00:45 +01:00
parent 440814beca
commit 6781e12eae

View File

@ -48,10 +48,11 @@ pkgs.writeDashBin "fzfmenu" ''
exec 4>&1 exec 4>&1
export FZFMENU_INPUT_FD=3 export FZFMENU_INPUT_FD=3
export FZFMENU_OUTPUT_FD=4 export FZFMENU_OUTPUT_FD=4
exec ${pkgs.rxvt-unicode}/bin/urxvt \ exec ${pkgs.alacritty}/bin/alacritty \
-name ${cfg.appName} \ --config-file /var/theme/config/alacritty.yaml \
-title ${shell.escape cfg.windowTitle} \ --class ${cfg.appName} \
-e "$0" "$@" --title ${shell.escape cfg.windowTitle} \
--command "$0" "$@"
else else
exec 0<&''${FZFMENU_INPUT_FD-0} exec 0<&''${FZFMENU_INPUT_FD-0}
exec 1>&''${FZFMENU_OUTPUT_FD-1} exec 1>&''${FZFMENU_OUTPUT_FD-1}