Replace alacritty with foot for sixel support

This commit is contained in:
Evie Litherland-Smith 2023-12-28 11:37:22 +00:00
parent a8338d62f1
commit 4ed12aebcb
4 changed files with 26 additions and 8 deletions

View file

@ -26,7 +26,6 @@
./home/accounts/default.nix ./home/accounts/default.nix
./home/hyprland/default.nix ./home/hyprland/default.nix
./home/nyxt/default.nix ./home/nyxt/default.nix
./home/alacritty.nix
./home/default.nix ./home/default.nix
./home/emacs.nix ./home/emacs.nix
./home/firefox.nix ./home/firefox.nix
@ -118,6 +117,7 @@
terminal = 0.8; terminal = 0.8;
}; };
fonts = rec { fonts = rec {
sizes.terminal = 14;
emoji = { emoji = {
name = "Noto Color Emoji"; name = "Noto Color Emoji";
package = pkgs.noto-fonts-emoji; package = pkgs.noto-fonts-emoji;

View file

@ -1,6 +1,7 @@
{ config, lib, pkgs, ... }: { { config, lib, pkgs, ... }: {
stylix.targets = { stylix.targets = {
avizo.enable = true; avizo.enable = true;
foot.enable = true;
fzf.enable = true; fzf.enable = true;
mako.enable = true; mako.enable = true;
rofi.enable = true; rofi.enable = true;

View file

@ -95,8 +95,8 @@ in ''
# Common program shortcuts # Common program shortcuts
bind = SUPER, Space, exec, rofi -replace -show combi bind = SUPER, Space, exec, rofi -replace -show combi
bind = SUPER, Return, exec, alacritty bind = SUPER, Return, exec, foot
bind = SUPER SHIFT, Return, exec, [float] alacritty bind = SUPER SHIFT, Return, exec, [float] foot
# Misc useful binds # Misc useful binds
bind=,Print,exec,grim -g "$(slurp)" bind=,Print,exec,grim -g "$(slurp)"
@ -180,12 +180,12 @@ in ''
bind = SUPER, T, moveworkspacetomonitor, name:term current bind = SUPER, T, moveworkspacetomonitor, name:term current
bind = SUPER, T, workspace, name:term bind = SUPER, T, workspace, name:term
bind = SUPER SHIFT, T, movetoworkspace, name:term bind = SUPER SHIFT, T, movetoworkspace, name:term
bind = SUPER ALT, T, exec, [workspace name:term] alacritty -e zellij bind = SUPER ALT, T, exec, [workspace name:term] foot -e zellij
bind = SUPER, S, moveworkspacetomonitor, name:system current bind = SUPER, S, moveworkspacetomonitor, name:system current
bind = SUPER, S, workspace, name:system bind = SUPER, S, workspace, name:system
bind = SUPER SHIFT, S, movetoworkspace, name:system bind = SUPER SHIFT, S, movetoworkspace, name:system
bind = SUPER ALT, S, exec, [workspace name:system] alacritty -e btm --battery bind = SUPER ALT, S, exec, [workspace name:system] foot -e btm --battery
bind = SUPER, W, moveworkspacetomonitor, name:web current bind = SUPER, W, moveworkspacetomonitor, name:web current
bind = SUPER, W, workspace, name:web bind = SUPER, W, workspace, name:web
@ -202,12 +202,12 @@ in ''
bind = SUPER, E, moveworkspacetomonitor, name:email current bind = SUPER, E, moveworkspacetomonitor, name:email current
bind = SUPER, E, workspace, name:email bind = SUPER, E, workspace, name:email
bind = SUPER SHIFT, E, movetoworkspace, name:email bind = SUPER SHIFT, E, movetoworkspace, name:email
bind = SUPER ALT, E, exec, [workspace name:email] alacritty -e neomutt bind = SUPER ALT, E, exec, [workspace name:email] foot -e neomutt
bind = SUPER, C, moveworkspacetomonitor, name:chat current bind = SUPER, C, moveworkspacetomonitor, name:chat current
bind = SUPER, C, workspace, name:chat bind = SUPER, C, workspace, name:chat
bind = SUPER SHIFT, C, movetoworkspace, name:chat bind = SUPER SHIFT, C, movetoworkspace, name:chat
bind = SUPER ALT, C, exec, [workspace name:chat] alacritty -e irssi bind = SUPER ALT, C, exec, [workspace name:chat] foot -e irssi
windowrule = workspace name:chat, (Signal|WebCord|whatsapp-for-linux) windowrule = workspace name:chat, (Signal|WebCord|whatsapp-for-linux)
windowrule = group set always, (Signal|WebCord|whatsapp-for-linux) windowrule = group set always, (Signal|WebCord|whatsapp-for-linux)

View file

@ -31,11 +31,28 @@
}; };
programs = { programs = {
zathura.enable = true; zathura.enable = true;
foot = {
enable = true;
settings = {
main = {
# term = "xterm-256color";
pad = "10x10";
locked-title = false;
notify-focus-inhibit = false;
selection-target = "both";
};
bell = {
urgent = true;
notify = true;
};
mouse = { hide-when-typing = "yes"; };
};
};
rofi = { rofi = {
enable = true; enable = true;
package = pkgs.rofi-wayland; package = pkgs.rofi-wayland;
location = "center"; location = "center";
terminal = "${pkgs.alacritty}/bin/alacritty"; terminal = "foot";
pass = { pass = {
enable = true; enable = true;
package = pkgs.rofi-pass-wayland; package = pkgs.rofi-pass-wayland;