From 4ed12aebcb05cd583fae7bc4d57276f75d845a64 Mon Sep 17 00:00:00 2001 From: Evie Litherland-Smith Date: Thu, 28 Dec 2023 11:37:22 +0000 Subject: [PATCH] Replace alacritty with foot for sixel support --- flake.nix | 2 +- home/default.nix | 1 + home/hyprland/config.nix | 12 ++++++------ home/hyprland/default.nix | 19 ++++++++++++++++++- 4 files changed, 26 insertions(+), 8 deletions(-) diff --git a/flake.nix b/flake.nix index 05fcaf58..437f690f 100644 --- a/flake.nix +++ b/flake.nix @@ -26,7 +26,6 @@ ./home/accounts/default.nix ./home/hyprland/default.nix ./home/nyxt/default.nix - ./home/alacritty.nix ./home/default.nix ./home/emacs.nix ./home/firefox.nix @@ -118,6 +117,7 @@ terminal = 0.8; }; fonts = rec { + sizes.terminal = 14; emoji = { name = "Noto Color Emoji"; package = pkgs.noto-fonts-emoji; diff --git a/home/default.nix b/home/default.nix index 33dda2be..6eb428b2 100644 --- a/home/default.nix +++ b/home/default.nix @@ -1,6 +1,7 @@ { config, lib, pkgs, ... }: { stylix.targets = { avizo.enable = true; + foot.enable = true; fzf.enable = true; mako.enable = true; rofi.enable = true; diff --git a/home/hyprland/config.nix b/home/hyprland/config.nix index 5178b9f9..1874da6f 100644 --- a/home/hyprland/config.nix +++ b/home/hyprland/config.nix @@ -95,8 +95,8 @@ in '' # Common program shortcuts bind = SUPER, Space, exec, rofi -replace -show combi - bind = SUPER, Return, exec, alacritty - bind = SUPER SHIFT, Return, exec, [float] alacritty + bind = SUPER, Return, exec, foot + bind = SUPER SHIFT, Return, exec, [float] foot # Misc useful binds bind=,Print,exec,grim -g "$(slurp)" @@ -180,12 +180,12 @@ in '' bind = SUPER, T, moveworkspacetomonitor, name:term current bind = SUPER, T, workspace, 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, workspace, 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, workspace, name:web @@ -202,12 +202,12 @@ in '' bind = SUPER, E, moveworkspacetomonitor, name:email current bind = SUPER, E, workspace, 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, workspace, 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 = group set always, (Signal|WebCord|whatsapp-for-linux) diff --git a/home/hyprland/default.nix b/home/hyprland/default.nix index e2965348..5ab53b52 100644 --- a/home/hyprland/default.nix +++ b/home/hyprland/default.nix @@ -31,11 +31,28 @@ }; programs = { 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 = { enable = true; package = pkgs.rofi-wayland; location = "center"; - terminal = "${pkgs.alacritty}/bin/alacritty"; + terminal = "foot"; pass = { enable = true; package = pkgs.rofi-pass-wayland;