Switch out alacritty for foot (terminal)

This commit is contained in:
Evie Litherland-Smith 2023-11-07 09:15:46 +00:00
parent 82acc3d67a
commit 5323e880fe
5 changed files with 10 additions and 5 deletions

View file

@ -32,8 +32,8 @@
./home/emacs/default.nix
./home/hyprland/default.nix
./home/nyxt/default.nix
./home/alacritty.nix
./home/default.nix
./home/foot.nix
./home/kdeconnect.nix
./home/media.nix
./home/pass.nix

View file

@ -188,7 +188,7 @@
plugins = with pkgs.tmuxPlugins; [ yank tmux-fzf ];
extraConfig = ''
# https://old.reddit.com/r/tmux/comments/mesrci/tmux_2_doesnt_seem_to_use_256_colors/
set -ga terminal-overrides ",*256col*,alacritty:Tc"
set -ga terminal-overrides ",*256col*:Tc"
set -ga terminal-overrides '*:Ss=\E[%p1%d q:Se=\E[ q'
set-environment -g COLORTERM "truecolor"

5
home/foot.nix Normal file
View file

@ -0,0 +1,5 @@
{ config, lib, pkgs, ... }:
{
programs.foot.enable = true;
}

View file

@ -102,10 +102,10 @@ in ''
# Common program shortcuts
bind = SUPER, Space, exec, rofi -replace -show combi
bind = SUPER SHIFT, Space, exec, rofi -replace -show run
bind = SUPER, Return, exec, alacritty
bind = SUPER, Return, exec, foot
bind = SUPER SHIFT, Return, exec, rofi -replace -show ssh
bind = SUPER ALT, D, exec, [workspace 1] alacritty
bind = SUPER ALT, D, exec, [workspace 1] foot
bind = SUPER ALT, E, exec, [workspace 2] emacs
bind = SUPER ALT, W, exec, [workspace 3] nyxt
bind = SUPER ALT, F, exec, [workspace 4] thunar

View file

@ -8,7 +8,7 @@ in {
enable = true;
package = pkgs.rofi-wayland;
location = "center";
terminal = "${pkgs.alacritty}/bin/alacritty";
terminal = "${pkgs.foot}/bin/foot";
pass = {
enable = true;
package = pkgs.rofi-pass-wayland;