add: initial foot setup
This commit is contained in:
parent
f10952df3a
commit
f5922d18e1
3 changed files with 53 additions and 0 deletions
|
|
@ -10,6 +10,7 @@
|
|||
./gimp.nix
|
||||
./swaylock.nix
|
||||
./eww
|
||||
./foot.nix
|
||||
];
|
||||
|
||||
xdg.mimeApps.enable = true;
|
||||
|
|
|
|||
50
home/ooks/features/wayland/essentials/foot.nix
Normal file
50
home/ooks/features/wayland/essentials/foot.nix
Normal file
|
|
@ -0,0 +1,50 @@
|
|||
{ config, pkgs, ... }:
|
||||
|
||||
let
|
||||
inherit (config.colorscheme) colors;
|
||||
in
|
||||
|
||||
{
|
||||
#home.sessionVariables = { TERMINAL = "foot"; };
|
||||
|
||||
programs.foot = {
|
||||
enable = true;
|
||||
server.enable = true;
|
||||
settings = {
|
||||
main = {
|
||||
font = "${config.fontProfiles.monospace.family}:pixelsize=18:antialias=true";
|
||||
font-bold = "${config.fontProfiles.monospace.family}:style=Bold:pixelsize=18:antialias=true";
|
||||
font-italic = "${config.fontProfiles.monospace.family}:style=Italic:pixelsize=18:antialias=true";
|
||||
font-bold-italic = "${config.fontProfiles.monospace.family}:style=Bold Italic:pixelsize=18:antialias=true";
|
||||
dpi-aware = "yes";
|
||||
};
|
||||
colors = {
|
||||
alpha = 1.0;
|
||||
foreground = "${colors.base05}";
|
||||
background = "${colors.base00}";
|
||||
regular0 = "${colors.base00}"; # black
|
||||
regular1 = "${colors.base08}"; # red
|
||||
regular2 = "${colors.base0B}"; # green
|
||||
regular3 = "${colors.base0A}"; # yellow
|
||||
regular4 = "${colors.base0D}"; # blue
|
||||
regular5 = "${colors.base0E}"; # magenta
|
||||
regular6 = "${colors.base0C}"; # cyan
|
||||
regular7 = "${colors.base05}"; # white
|
||||
bright0 = "${colors.base03}"; # bright black
|
||||
bright1 = "${colors.base08}"; # bright red
|
||||
bright2 = "${colors.base0B}"; # bright green
|
||||
bright3 = "${colors.base0A}"; # bright yellow
|
||||
bright4 = "${colors.base0D}"; # bright blue
|
||||
bright5 = "${colors.base0E}"; # bright magenta
|
||||
bright6 = "${colors.base0C}"; # bright cyan
|
||||
bright7 = "${colors.base07}"; # bright white
|
||||
"16" = "${colors.base09}";
|
||||
"17" = "${colors.base0F}";
|
||||
"18" = "${colors.base01}";
|
||||
"19" = "${colors.base02}";
|
||||
"20" = "${colors.base04}";
|
||||
"21" = "${colors.base06}";
|
||||
};
|
||||
};
|
||||
};
|
||||
}
|
||||
|
|
@ -50,6 +50,7 @@ in
|
|||
volume = "${volumeScript}/bin/volume";
|
||||
|
||||
swaylock = "${config.programs.swaylock.package}/bin/swaylock";
|
||||
foot = "${config.programs.foot.package}/bin/foot";
|
||||
spotify = "${terminal} -e spotify_player";
|
||||
spotifyctl = "${pkgs.spotify-player}/bin/spotify_player";
|
||||
|
||||
|
|
@ -68,6 +69,7 @@ in
|
|||
"SUPER, e, exec, ${editor}"
|
||||
"SUPER, m, exec, ${spotify}"
|
||||
"SUPERSHIFT, P, exec, ${password}"
|
||||
"SUPERSHIFT, return, exec, ${foot}"
|
||||
|
||||
# Spotify PLayer Controls
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue