From 8fb30f01b643bd69c5d7ece85c3025115b336988 Mon Sep 17 00:00:00 2001 From: Soispha Peetz Date: Mon, 23 Nov 2026 17:04:19 +0100 Subject: treewide: Switch from alacritty to foot I think all the issues with foot have been ironed out by now, and a switch like that should be nearly without (visible) changes. --- modules/by-name/xd/xdg/module.nix | 2 +- modules/by-name/xd/xdg/scripts/lf-wrapper.sh | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'modules/by-name/xd') 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 -- cgit v1.3.1