Ver 1.0
This commit is contained in:
parent
b6b87d5aed
commit
9c72a71585
3546 changed files with 18655 additions and 0 deletions
36
nixosVista/homeManager/wofi/config.nix
Normal file
36
nixosVista/homeManager/wofi/config.nix
Normal file
|
|
@ -0,0 +1,36 @@
|
|||
{
|
||||
config,
|
||||
lib,
|
||||
nixosVista,
|
||||
...
|
||||
}: let
|
||||
root = nixosVista;
|
||||
cfg = root.wofi;
|
||||
|
||||
############################################################
|
||||
# Base Configuration
|
||||
############################################################
|
||||
|
||||
baseSettings = {
|
||||
term = root.terminal.command;
|
||||
|
||||
show_all = true;
|
||||
gtk_dark = false;
|
||||
location = "center";
|
||||
insensitive = false;
|
||||
allow_markup = true;
|
||||
allow_images = true;
|
||||
line_wrap = "word";
|
||||
lines = 8;
|
||||
width = "30%";
|
||||
hide_scroll = true;
|
||||
show = "drun";
|
||||
};
|
||||
|
||||
finalSettings = baseSettings // cfg.settings.extra;
|
||||
in {
|
||||
programs.wofi = lib.mkIf (cfg.enable && cfg.style.preset != "none") {
|
||||
enable = true;
|
||||
settings = finalSettings;
|
||||
};
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue