diff --git a/home-manager/features/hyprland.nix b/home-manager/features/hyprland.nix index 14fbd90..6b7da77 100644 --- a/home-manager/features/hyprland.nix +++ b/home-manager/features/hyprland.nix @@ -27,7 +27,7 @@ "DP-1, 2560x1440, -1440x-510, 1, transform, 1" ]; - "$terminal" = "wezterm"; + "$terminal" = "foot"; "$menu" = "rofi -show combi -combi-modes drun,ssh,run -theme ~/.config/rofi/launcher/style.rasi"; "$browser" = "firefox"; diff --git a/home-manager/features/rofi/config/config.rasi b/home-manager/features/rofi/config/config.rasi index 00e7fb8..14ecf28 100644 --- a/home-manager/features/rofi/config/config.rasi +++ b/home-manager/features/rofi/config/config.rasi @@ -1,3 +1,3 @@ configuration { - ssh-command: "wezterm ssh {host}"; + ssh-command: "foot ssh {host}"; } diff --git a/home-manager/features/sway.nix b/home-manager/features/sway.nix index f107dc2..f22ac9a 100644 --- a/home-manager/features/sway.nix +++ b/home-manager/features/sway.nix @@ -97,7 +97,7 @@ keybindings = let modifier = config.wayland.windowManager.sway.config.modifier; - terminal = "wezterm"; + terminal = "foot"; browser = "firefox"; menu = "rofi -show drun"; in diff --git a/home-manager/features/terminal.nix b/home-manager/features/terminal.nix index 952f643..27eda3d 100644 --- a/home-manager/features/terminal.nix +++ b/home-manager/features/terminal.nix @@ -11,6 +11,8 @@ # nerd-fonts.inconsolata # nerd-fonts.fira-code # nerd-fonts.jetbrains-mono + + libsixel # For working with images in terminals ]; # Allow Home Manager to set fonts. @@ -41,6 +43,45 @@ }; home.shellAliases = { - "imgcat" = "wezterm imgcat"; + "imgcat" = "img2sixel"; + }; + + programs.foot = { + enable = true; + settings = { + main = { + font = "FiraCode Nerd Font:size=13"; + selection-target = "primary"; + pad = "8x8"; + }; + + scrollback = { + lines = 5000; + }; + + colors = { + alpha = 0.8; + # Tokionight Night theme + # From https://codeberg.org/dnkl/foot/src/branch/master/themes/tokyonight-night + background = "1a1b26"; + foreground = "c0caf5"; + regular0 = "15161E"; + regular1 = "f7768e"; + regular2 = "9ece6a"; + regular3 = "e0af68"; + regular4 = "7aa2f7"; + regular5 = "bb9af7"; + regular6 = "7dcfff"; + regular7 = "a9b1d6"; + bright0 = "414868"; + bright1 = "f7768e"; + bright2 = "9ece6a"; + bright3 = "e0af68"; + bright4 = "7aa2f7"; + bright5 = "bb9af7"; + bright6 = "7dcfff"; + bright7 = "c0caf5"; + }; + }; }; }