diff options
| author | Soispha Peetz <soispha@b-peetz.de> | 2026-11-23 17:04:19 +0100 |
|---|---|---|
| committer | Soispha Peetz <soispha@b-peetz.de> | 2026-11-23 19:09:02 +0100 |
| commit | 8fb30f01b643bd69c5d7ece85c3025115b336988 (patch) | |
| tree | 224fa9e59eec6b046b2dbf056d691d62650426a1 /modules | |
| parent | modules/yt: Stop including the yt package (diff) | |
| download | nixos-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 '')
| -rw-r--r-- | modules/by-name/qu/qutebrowser/settings/default.nix | 4 | ||||
| -rw-r--r-- | modules/by-name/xd/xdg/module.nix | 2 | ||||
| -rwxr-xr-x | modules/by-name/xd/xdg/scripts/lf-wrapper.sh | 2 | ||||
| -rwxr-xr-x | modules/by-name/yt/yt/external_commands_script.sh | 2 | ||||
| -rw-r--r-- | modules/by-name/yt/yt/module.nix | 2 | ||||
| -rw-r--r-- | modules/common/soispha/default.nix | 2 |
6 files changed, 7 insertions, 7 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 ]; diff --git a/modules/common/soispha/default.nix b/modules/common/soispha/default.nix index 31eb951f..fe38e1f8 100644 --- a/modules/common/soispha/default.nix +++ b/modules/common/soispha/default.nix @@ -132,7 +132,7 @@ foot.enable = true; ausweisapp.enable = true; signal.enable = true; - alacritty.enable = true; + alacritty.enable = false; cargo.enable = true; calibre.enable = true; iamb.enable = true; |
