Change default terminal to foot (from alacritty)

This commit is contained in:
Evie Litherland-Smith 2025-01-29 06:59:25 +00:00
parent 3c84bb18b2
commit c3078cad8d
6 changed files with 20 additions and 26 deletions

View file

@ -138,9 +138,9 @@
{ {
imports = [ imports = [
./home/hyprland.nix ./home/hyprland.nix
./home/terminal/default.nix ./home/terminal.nix
./home/browser/firefox.nix
./home/browser/nyxt.nix ./home/browser/nyxt.nix
./home/browser/firefox.nix
./home/emacs/default.nix ./home/emacs/default.nix
./home/email/default.nix ./home/email/default.nix
./home/calendar/default.nix ./home/calendar/default.nix

View file

@ -10,7 +10,7 @@
fields = "filename,name,generic,exec"; fields = "filename,name,generic,exec";
fuzzy = true; fuzzy = true;
filter-desktop = true; filter-desktop = true;
terminal = "${config.programs.alacritty.package}/bin/alacritty -e"; terminal = "${config.programs.foot.package}/bin/foot -e";
anchor = "center"; anchor = "center";
layer = "overlay"; layer = "overlay";
}; };

View file

@ -350,7 +350,7 @@
# Common program shortcuts # Common program shortcuts
"SUPER, D, exec, ${config.programs.fuzzel.package}/bin/fuzzel" "SUPER, D, exec, ${config.programs.fuzzel.package}/bin/fuzzel"
"SUPER, C, exec, ${config.programs.alacritty.package}/bin/alacritty" "SUPER, C, exec, ${config.programs.foot.package}/bin/foot"
"SUPER, E, exec, ${config.programs.emacs.finalPackage}/bin/emacs" "SUPER, E, exec, ${config.programs.emacs.finalPackage}/bin/emacs"
"SUPER, W, exec, ${pkgs.nyxt}/bin/nyxt" "SUPER, W, exec, ${pkgs.nyxt}/bin/nyxt"
"SUPER, F, exec, ${pkgs.nautilus}/bin/nautilus" "SUPER, F, exec, ${pkgs.nautilus}/bin/nautilus"

16
system/home/terminal.nix Normal file
View file

@ -0,0 +1,16 @@
{ ... }:
{
programs.foot = {
enable = true;
settings = {
main.pad = "5x5";
bell = {
urgent = false;
notify = false;
visual = false;
};
cursor.blink = true;
mouse.hide-when-typing = true;
};
};
}

View file

@ -1,18 +0,0 @@
{ ... }:
{
programs.alacritty = {
enable = true;
settings = {
window = {
dynamic_title = true;
padding = {
x = 5;
y = 5;
};
};
general.live_config_reload = true;
selection.save_to_clipboard = true;
mouse.hide_when_typing = true;
};
};
}

View file

@ -1,4 +0,0 @@
{ ... }:
{
imports = [ ./alacritty.nix ];
}