mirror of
https://github.com/alyraffauf/nixcfg.git
synced 2024-11-25 06:51:54 -05:00
fuzzel: migrate to font modules
This commit is contained in:
parent
281fd1a50f
commit
f53400790a
|
@ -2,8 +2,10 @@
|
||||||
config,
|
config,
|
||||||
lib,
|
lib,
|
||||||
...
|
...
|
||||||
}: {
|
}: let
|
||||||
config = lib.mkIf config.ar.home.apps.fuzzel.enable {
|
cfg = config.ar.home;
|
||||||
|
in {
|
||||||
|
config = lib.mkIf cfg.apps.fuzzel.enable {
|
||||||
programs.fuzzel = {
|
programs.fuzzel = {
|
||||||
enable = true;
|
enable = true;
|
||||||
settings = {
|
settings = {
|
||||||
|
@ -13,21 +15,21 @@
|
||||||
};
|
};
|
||||||
|
|
||||||
main = {
|
main = {
|
||||||
font = "UbuntuSansMono Nerd Font:size=${toString config.gtk.font.size}";
|
font = "${cfg.theme.monospaceFont.name}:size=${cfg.theme.monospaceFont.size}";
|
||||||
icon-theme = "${config.gtk.iconTheme.name}";
|
icon-theme = "${config.gtk.iconTheme.name}";
|
||||||
layer = "overlay";
|
layer = "overlay";
|
||||||
lines = 3;
|
lines = 3;
|
||||||
terminal = lib.getExe config.ar.home.defaultApps.terminal;
|
terminal = lib.getExe cfg.defaultApps.terminal;
|
||||||
width = 36;
|
width = 36;
|
||||||
};
|
};
|
||||||
|
|
||||||
colors = {
|
colors = {
|
||||||
background = "${config.ar.home.theme.colors.background}CC";
|
background = "${cfg.theme.colors.background}CC";
|
||||||
border = "${config.ar.home.theme.colors.primary}EE";
|
border = "${cfg.theme.colors.primary}EE";
|
||||||
selection = "${config.ar.home.theme.colors.background}FF";
|
selection = "${cfg.theme.colors.background}FF";
|
||||||
selection-match = "${config.ar.home.theme.colors.primary}FF";
|
selection-match = "${cfg.theme.colors.primary}FF";
|
||||||
selection-text = "${config.ar.home.theme.colors.secondary}FF";
|
selection-text = "${cfg.theme.colors.secondary}FF";
|
||||||
text = "${config.ar.home.theme.colors.text}FF";
|
text = "${cfg.theme.colors.text}FF";
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
Loading…
Reference in a new issue