Switch alacritty for foot (terminal)
Use foot client / server setup (via systemd)
This commit is contained in:
parent
02e5b25669
commit
570efd117f
44
home/foot/default.nix
Normal file
44
home/foot/default.nix
Normal file
|
@ -0,0 +1,44 @@
|
||||||
|
{config, ...}: {
|
||||||
|
programs.foot = {
|
||||||
|
enable = true;
|
||||||
|
server.enable = true;
|
||||||
|
settings = {
|
||||||
|
main = {
|
||||||
|
# term = "xterm-256color";
|
||||||
|
title = "foot";
|
||||||
|
locked-title = "no";
|
||||||
|
font = with config.stylix.fonts; "${monospace.name}:size=${toString sizes.applications}";
|
||||||
|
dpi-aware = "yes";
|
||||||
|
pad = "10x10";
|
||||||
|
};
|
||||||
|
bell = {
|
||||||
|
urgent = "no";
|
||||||
|
notify = "no";
|
||||||
|
visual = "no";
|
||||||
|
};
|
||||||
|
cursor = {blink = "yes";};
|
||||||
|
mouse = {hide-when-typing = "no";};
|
||||||
|
colors = with config.lib.stylix.colors; rec {
|
||||||
|
alpha = config.stylix.opacity.terminal;
|
||||||
|
background = base00;
|
||||||
|
foreground = base05;
|
||||||
|
regular0 = base02;
|
||||||
|
regular1 = red;
|
||||||
|
regular2 = green;
|
||||||
|
regular3 = yellow;
|
||||||
|
regular4 = blue;
|
||||||
|
regular5 = magenta;
|
||||||
|
regular6 = cyan;
|
||||||
|
regular7 = base05;
|
||||||
|
bright0 = base03;
|
||||||
|
bright1 = regular1;
|
||||||
|
bright2 = regular2;
|
||||||
|
bright3 = regular3;
|
||||||
|
bright4 = regular4;
|
||||||
|
bright5 = regular5;
|
||||||
|
bright6 = regular6;
|
||||||
|
bright7 = base04;
|
||||||
|
};
|
||||||
|
};
|
||||||
|
};
|
||||||
|
}
|
|
@ -15,7 +15,7 @@
|
||||||
../rofi/default.nix
|
../rofi/default.nix
|
||||||
../swaync/default.nix
|
../swaync/default.nix
|
||||||
../avizo/default.nix
|
../avizo/default.nix
|
||||||
../alacritty/default.nix
|
../foot/default.nix
|
||||||
../emacs/default.nix
|
../emacs/default.nix
|
||||||
../nyxt/default.nix
|
../nyxt/default.nix
|
||||||
../obs/default.nix
|
../obs/default.nix
|
||||||
|
@ -31,7 +31,7 @@
|
||||||
programs = {
|
programs = {
|
||||||
rofi = with pkgs; {
|
rofi = with pkgs; {
|
||||||
package = rofi-wayland;
|
package = rofi-wayland;
|
||||||
terminal = "${alacritty}/bin/alacritty";
|
terminal = "${config.programs.foot.package}/bin/footclient";
|
||||||
pass.package = rofi-pass-wayland;
|
pass.package = rofi-pass-wayland;
|
||||||
};
|
};
|
||||||
zellij.settings.copy_command = "wl-copy";
|
zellij.settings.copy_command = "wl-copy";
|
||||||
|
@ -253,7 +253,7 @@
|
||||||
];
|
];
|
||||||
bind = let
|
bind = let
|
||||||
withTerm = {
|
withTerm = {
|
||||||
term ? "alacritty",
|
term ? "foot",
|
||||||
package ? config.programs.${term}.package,
|
package ? config.programs.${term}.package,
|
||||||
progname,
|
progname,
|
||||||
args ? "",
|
args ? "",
|
||||||
|
@ -289,7 +289,7 @@
|
||||||
"SUPER SHIFT, Z, exec, ${pkgs.swaynotificationcenter}/bin/swaync-client -d -sw"
|
"SUPER SHIFT, Z, exec, ${pkgs.swaynotificationcenter}/bin/swaync-client -d -sw"
|
||||||
|
|
||||||
# Common program shortcuts
|
# Common program shortcuts
|
||||||
"SUPER, Return, exec, ${alacritty.package}/bin/alacritty"
|
"SUPER, Return, exec, ${foot.package}/bin/footclient"
|
||||||
"SUPER, E, exec, ${emacs.finalPackage}/bin/emacsclient -c"
|
"SUPER, E, exec, ${emacs.finalPackage}/bin/emacsclient -c"
|
||||||
|
|
||||||
# Rofi binds
|
# Rofi binds
|
||||||
|
|
Loading…
Reference in a new issue