Start on adding Niri wayland compositor
Add some initial config for Fuzzel (dmenu replacement) and Foot (terminal emulator)
This commit is contained in:
parent
52235b6bbe
commit
a8cab26188
6
programs/niri/default.nix
Normal file
6
programs/niri/default.nix
Normal file
|
@ -0,0 +1,6 @@
|
|||
{
|
||||
config,
|
||||
lib,
|
||||
pkgs,
|
||||
...
|
||||
}: {}
|
48
programs/sway/foot/default.nix
Normal file
48
programs/sway/foot/default.nix
Normal 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;
|
||||
};
|
||||
};
|
||||
};
|
||||
}
|
17
programs/sway/fuzzel/default.nix
Normal file
17
programs/sway/fuzzel/default.nix
Normal file
|
@ -0,0 +1,17 @@
|
|||
{
|
||||
config,
|
||||
lib,
|
||||
pkgs,
|
||||
...
|
||||
}: {
|
||||
programs.fuzzel = {
|
||||
enable = true;
|
||||
settings = {
|
||||
main = {
|
||||
terminal = "${pkgs.foot}/bin/foot";
|
||||
layer = "overlay";
|
||||
};
|
||||
colors.background = "ffffffff";
|
||||
};
|
||||
};
|
||||
}
|
Reference in a new issue