Start on adding Niri wayland compositor

Add some initial config for Fuzzel (dmenu replacement) and
Foot (terminal emulator)
This commit is contained in:
Evie Litherland-Smith 2024-05-27 12:29:35 +01:00
parent 52235b6bbe
commit a8cab26188
3 changed files with 71 additions and 0 deletions

View file

@ -0,0 +1,6 @@
{
config,
lib,
pkgs,
...
}: {}

View file

@ -0,0 +1,48 @@
{
config,
fonts,
...
}: {
programs.foot = {
enable = true;
server.enable = true;
settings = {
main = {
# term = "xterm-256color";
title = "foot";
locked-title = "no";
font = "${fonts.monospace.name}:size=${toString fonts.sizes.applications}";
dpi-aware = "yes";
pad = "10x10";
};
bell = {
urgent = "no";
notify = "no";
visual = "no";
};
cursor = {blink = "yes";};
mouse = {hide-when-typing = "yes";};
colors = with config.scheme; rec {
alpha = 0.9;
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;
};
};
};
}

View file

@ -0,0 +1,17 @@
{
config,
lib,
pkgs,
...
}: {
programs.fuzzel = {
enable = true;
settings = {
main = {
terminal = "${pkgs.foot}/bin/foot";
layer = "overlay";
};
colors.background = "ffffffff";
};
};
}