diff options
Diffstat (limited to 'modules/by-name/xd/xdg')
| -rw-r--r-- | modules/by-name/xd/xdg/module.nix | 2 | ||||
| -rwxr-xr-x | modules/by-name/xd/xdg/scripts/lf-wrapper.sh | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/modules/by-name/xd/xdg/module.nix b/modules/by-name/xd/xdg/module.nix index 92bb3059..7cd31680 100644 --- a/modules/by-name/xd/xdg/module.nix +++ b/modules/by-name/xd/xdg/module.nix @@ -16,7 +16,7 @@ lf-wrapper = pkgs.writeShellApplication { name = "lf-wrapper"; - runtimeInputs = [pkgs.lf pkgs.alacritty]; + runtimeInputs = [pkgs.lf pkgs.foot]; inheritPath = true; text = builtins.readFile ./scripts/lf-wrapper.sh; diff --git a/modules/by-name/xd/xdg/scripts/lf-wrapper.sh b/modules/by-name/xd/xdg/scripts/lf-wrapper.sh index 6a5c5295..d0216fb5 100755 --- a/modules/by-name/xd/xdg/scripts/lf-wrapper.sh +++ b/modules/by-name/xd/xdg/scripts/lf-wrapper.sh @@ -42,7 +42,7 @@ else set -- -selection-path="$out" -command='set promptfmt "Select file (open file to select it) %S \033[32;1m%u@%h\033[0m:\033[34;1m%d\033[0m\033[1m%f\033[0m"' "$path" fi -alacritty --title 'floating please' -e lf "$@" +footclient --title 'floating please' -- lf "$@" # Delete the left recommended file, if we did not actually save anything. if [ "$save" = "1" ] && ! [ -s "$out" ]; then |
