Switch back to alacritty as primary terminal

This commit is contained in:
Evie Litherland-Smith 2024-06-07 20:44:55 +01:00
parent 7e92a3e068
commit e980eb167b
4 changed files with 7 additions and 6 deletions

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 foot.enable if alacritty.enable
then foot.package then alacritty.package
else pkgs.foot else pkgs.alacritty
}/bin/foot -e"; }/bin/alacritty -e";
lines = 24; lines = 24;
width = 80; width = 80;
tabs = 4; tabs = 4;

View file

@ -56,7 +56,7 @@ binds {
Mod+F1 { spawn "swaylockfx"; } Mod+F1 { spawn "swaylockfx"; }
Mod+P { spawn "wlogout"; } Mod+P { spawn "wlogout"; }
Mod+D { spawn "fuzzel"; } Mod+D { spawn "fuzzel"; }
Mod+Return { spawn "foot"; } Mod+Return { spawn "alacritty"; }
Mod+Shift+Return { spawn "emacsclient" "-c"; } Mod+Shift+Return { spawn "emacsclient" "-c"; }
XF86AudioRaiseVolume allow-when-locked=true { spawn "volumectl" "-u" "+" "5"; } XF86AudioRaiseVolume allow-when-locked=true { spawn "volumectl" "-u" "+" "5"; }

View file

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

View file

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