From c3078cad8dc1be2f6e10e3bd05afdf0739890e90 Mon Sep 17 00:00:00 2001 From: Evie Litherland-Smith Date: Wed, 29 Jan 2025 06:59:25 +0000 Subject: [PATCH] Change default terminal to foot (from alacritty) --- system/desktop.nix | 4 ++-- system/home/fuzzel.nix | 2 +- system/home/hyprland.nix | 2 +- system/home/terminal.nix | 16 ++++++++++++++++ system/home/terminal/alacritty.nix | 18 ------------------ system/home/terminal/default.nix | 4 ---- 6 files changed, 20 insertions(+), 26 deletions(-) create mode 100644 system/home/terminal.nix delete mode 100644 system/home/terminal/alacritty.nix delete mode 100644 system/home/terminal/default.nix diff --git a/system/desktop.nix b/system/desktop.nix index 9d171e02..a25f684c 100644 --- a/system/desktop.nix +++ b/system/desktop.nix @@ -138,9 +138,9 @@ { imports = [ ./home/hyprland.nix - ./home/terminal/default.nix - ./home/browser/firefox.nix + ./home/terminal.nix ./home/browser/nyxt.nix + ./home/browser/firefox.nix ./home/emacs/default.nix ./home/email/default.nix ./home/calendar/default.nix diff --git a/system/home/fuzzel.nix b/system/home/fuzzel.nix index 4569216f..cbad7fbe 100644 --- a/system/home/fuzzel.nix +++ b/system/home/fuzzel.nix @@ -10,7 +10,7 @@ fields = "filename,name,generic,exec"; fuzzy = true; filter-desktop = true; - terminal = "${config.programs.alacritty.package}/bin/alacritty -e"; + terminal = "${config.programs.foot.package}/bin/foot -e"; anchor = "center"; layer = "overlay"; }; diff --git a/system/home/hyprland.nix b/system/home/hyprland.nix index 88d96299..b39e5ba0 100644 --- a/system/home/hyprland.nix +++ b/system/home/hyprland.nix @@ -350,7 +350,7 @@ # Common program shortcuts "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, W, exec, ${pkgs.nyxt}/bin/nyxt" "SUPER, F, exec, ${pkgs.nautilus}/bin/nautilus" diff --git a/system/home/terminal.nix b/system/home/terminal.nix new file mode 100644 index 00000000..d63328ea --- /dev/null +++ b/system/home/terminal.nix @@ -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; + }; + }; +} diff --git a/system/home/terminal/alacritty.nix b/system/home/terminal/alacritty.nix deleted file mode 100644 index b4b3945e..00000000 --- a/system/home/terminal/alacritty.nix +++ /dev/null @@ -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; - }; - }; -} diff --git a/system/home/terminal/default.nix b/system/home/terminal/default.nix deleted file mode 100644 index 69a6746a..00000000 --- a/system/home/terminal/default.nix +++ /dev/null @@ -1,4 +0,0 @@ -{ ... }: -{ - imports = [ ./alacritty.nix ]; -}