mirror of
https://gitlab.com/upRootNutrition/dotfiles.git
synced 2025-06-16 10:05:13 -05:00
feat: added niri
This commit is contained in:
parent
77c4768eaa
commit
5dd2fce8e0
8 changed files with 503 additions and 5 deletions
62
modules/home/gui/desktop/wayland/fuzzel/default.nix
Executable file
62
modules/home/gui/desktop/wayland/fuzzel/default.nix
Executable file
|
@ -0,0 +1,62 @@
|
|||
{
|
||||
config,
|
||||
flake,
|
||||
pkgs,
|
||||
...
|
||||
}:
|
||||
let
|
||||
|
||||
inherit (flake.config.aesthetics.themes) currentTheme palettes fonts;
|
||||
|
||||
inherit (flake.config.people) user0 user1 user2;
|
||||
|
||||
user = config.home.username;
|
||||
|
||||
themeLogic =
|
||||
if user == user0 then
|
||||
currentTheme.theme0
|
||||
else if user == user1 then
|
||||
currentTheme.theme1
|
||||
else if user == user2 then
|
||||
currentTheme.theme2
|
||||
else
|
||||
currentTheme.theme0;
|
||||
|
||||
el = palettes.${themeLogic}.colours;
|
||||
|
||||
in
|
||||
{
|
||||
programs.fuzzel = {
|
||||
enable = true;
|
||||
settings = {
|
||||
main = {
|
||||
prompt = "❯ ";
|
||||
show-actions = "yes";
|
||||
icon-theme = "Papirus-Dark";
|
||||
width = 25;
|
||||
font = "${fonts.names.name0}:weight=bold:size=${toString fonts.sizes.desktop.size0}";
|
||||
terminal = "${pkgs.ghostty}/bin/ghostty";
|
||||
layer = "overlay";
|
||||
};
|
||||
border = {
|
||||
radius = 10;
|
||||
};
|
||||
colors = {
|
||||
background = "${el.base00}dd";
|
||||
text = "${el.base05}ff";
|
||||
match = "${el.base0E}ff";
|
||||
selection = "${el.base04}ff";
|
||||
selection-text = "${el.base05}ff";
|
||||
selection-match = "${el.base0E}ff";
|
||||
border = "${el.base0E}ff";
|
||||
prompt = "${el.base07}ff";
|
||||
input = "${el.base05}ff";
|
||||
placeholder = "${el.base04}ff";
|
||||
counter = "${el.base04}ff";
|
||||
};
|
||||
dmenu = {
|
||||
exit-immediately-if-empty = "yes";
|
||||
};
|
||||
};
|
||||
};
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue