Swap alacritty for foot (terminal)

This commit is contained in:
Evie Litherland-Smith 2024-07-09 07:28:05 +01:00
parent f80f3a8bdd
commit 48793f9718
6 changed files with 12 additions and 17 deletions

View file

@ -1,6 +1 @@
{...}: { {...}: {imports = [./firefox.nix];}
imports = [
./nyxt.nix
./firefox.nix
];
}

View file

@ -6,7 +6,7 @@
}: { }: {
imports = [ imports = [
./sway/default.nix ./sway/default.nix
./alacritty/default.nix ./foot/default.nix
./avizo/default.nix ./avizo/default.nix
./fuzzel/default.nix ./fuzzel/default.nix
./swaylock/default.nix ./swaylock/default.nix

View file

@ -17,10 +17,10 @@
fuzzy = true; fuzzy = true;
filter-desktop = true; filter-desktop = true;
terminal = with config.programs; "${ terminal = with config.programs; "${
if alacritty.enable if foot.enable
then alacritty.package then foot.package
else pkgs.alacritty else pkgs.foot
}/bin/alacritty -e"; }/bin/foot -e";
lines = 24; lines = 24;
width = 80; width = 80;
tabs = 4; tabs = 4;

View file

@ -9,10 +9,10 @@
enable = true; enable = true;
package = pkgs.rofi-wayland; package = pkgs.rofi-wayland;
terminal = with config.programs; "${ terminal = with config.programs; "${
if alacritty.enable if foot.enable
then alacritty.package then foot.package
else pkgs.alacritty else pkgs.foot
}/bin/alacritty"; }/bin/foot";
font = fonts.monospace.name; font = fonts.monospace.name;
location = "center"; location = "center";
plugins = with pkgs; [rofi-emoji]; plugins = with pkgs; [rofi-emoji];

View file

@ -39,7 +39,7 @@ in {
}; };
}; };
modifier = "Mod4"; modifier = "Mod4";
terminal = "${config.programs.alacritty.package}/bin/alacritty"; terminal = "${config.programs.foot.package}/bin/foot";
menu = "${config.programs.fuzzel.package}/bin/fuzzel"; menu = "${config.programs.fuzzel.package}/bin/fuzzel";
workspaceAutoBackAndForth = true; workspaceAutoBackAndForth = true;
bars = []; bars = [];

View file

@ -63,7 +63,7 @@
"max-length" = 50; "max-length" = 50;
"rewrite" = { "rewrite" = {
"(.*) - GNU Emacs at (.*)" = " $1 [$2]"; "(.*) - GNU Emacs at (.*)" = " $1 [$2]";
"(alacritty.*)" = " $1"; "(foot.*)" = " $1";
"(.*) - mpv" = "󰦟 $1"; "(.*) - mpv" = "󰦟 $1";
"swayimg: (.*)" = "󰋩 $1"; "swayimg: (.*)" = "󰋩 $1";
"(btm)" = " Resource Usage [$1]"; "(btm)" = " Resource Usage [$1]";