[Term] Switches to foot as a terminal

This commit is contained in:
2025-04-24 11:25:43 -07:00
parent 771c3618bc
commit 3a20c72206
4 changed files with 45 additions and 4 deletions

View File

@@ -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";

View File

@@ -1,3 +1,3 @@
configuration {
ssh-command: "wezterm ssh {host}";
ssh-command: "foot ssh {host}";
}

View File

@@ -97,7 +97,7 @@
keybindings =
let
modifier = config.wayland.windowManager.sway.config.modifier;
terminal = "wezterm";
terminal = "foot";
browser = "firefox";
menu = "rofi -show drun";
in

View File

@@ -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";
};
};
};
}