summaryrefslogtreecommitdiffstats
path: root/modules/by-name
diff options
context:
space:
mode:
authorSoispha Peetz <soispha@b-peetz.de>2026-11-23 17:04:19 +0100
committerSoispha Peetz <soispha@b-peetz.de>2026-11-23 19:09:02 +0100
commit8fb30f01b643bd69c5d7ece85c3025115b336988 (patch)
tree224fa9e59eec6b046b2dbf056d691d62650426a1 /modules/by-name
parentmodules/yt: Stop including the yt package (diff)
downloadnixos-config-8fb30f01b643bd69c5d7ece85c3025115b336988.zip
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.
Diffstat (limited to 'modules/by-name')
-rw-r--r--modules/by-name/qu/qutebrowser/settings/default.nix4
-rw-r--r--modules/by-name/xd/xdg/module.nix2
-rwxr-xr-xmodules/by-name/xd/xdg/scripts/lf-wrapper.sh2
-rwxr-xr-xmodules/by-name/yt/yt/external_commands_script.sh2
-rw-r--r--modules/by-name/yt/yt/module.nix2
5 files changed, 6 insertions, 6 deletions
diff --git a/modules/by-name/qu/qutebrowser/settings/default.nix b/modules/by-name/qu/qutebrowser/settings/default.nix
index b0259c22..022f97bd 100644
--- a/modules/by-name/qu/qutebrowser/settings/default.nix
+++ b/modules/by-name/qu/qutebrowser/settings/default.nix
@@ -284,10 +284,10 @@ in {
editor = {
command = [
- "${lib.getExe pkgs.alacritty}"
+ "${lib.getExe' pkgs.foot "footclient"}"
"--title"
"floating please"
- "--command"
+ "--"
"nvim"
"-c"
"normal {line}G{column0}|"
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
diff --git a/modules/by-name/yt/yt/external_commands_script.sh b/modules/by-name/yt/yt/external_commands_script.sh
index 2e59e94a..f16a1977 100755
--- a/modules/by-name/yt/yt/external_commands_script.sh
+++ b/modules/by-name/yt/yt/external_commands_script.sh
@@ -2,7 +2,7 @@
riverctl focus-output next
-alacritty --title "floating please" --command "$@"
+footclient --title "floating please" -- "$@"
riverctl focus-output next
diff --git a/modules/by-name/yt/yt/module.nix b/modules/by-name/yt/yt/module.nix
index 02fd7df2..4d951af1 100644
--- a/modules/by-name/yt/yt/module.nix
+++ b/modules/by-name/yt/yt/module.nix
@@ -69,7 +69,7 @@
text = builtins.readFile ./external_commands_script.sh;
runtimeInputs = [
pkgs.river-classic
- pkgs.alacritty
+ pkgs.foot
pkgs.less
];