mirror of
https://github.com/alyraffauf/nixcfg.git
synced 2024-11-25 22:11:54 -05:00
mako: make colors and border more consistent with windowmanager themes
This commit is contained in:
parent
4444955c2c
commit
294fd9fa9c
|
@ -4,14 +4,15 @@
|
||||||
config,
|
config,
|
||||||
...
|
...
|
||||||
}: {
|
}: {
|
||||||
options = {alyraffauf.apps.mako.enable = lib.mkEnableOption "Enables mako.";};
|
options = {alyraffauf.apps.mako.enable = lib.mkEnableOption "Mako notification daemon.";};
|
||||||
|
|
||||||
config = lib.mkIf config.alyraffauf.apps.mako.enable {
|
config = lib.mkIf config.alyraffauf.apps.mako.enable {
|
||||||
services.mako = {
|
services.mako = {
|
||||||
enable = true;
|
enable = true;
|
||||||
anchor = "top-center";
|
anchor = "top-center";
|
||||||
backgroundColor = "${config.alyraffauf.desktop.theme.colors.background}CC";
|
backgroundColor = "${config.alyraffauf.desktop.theme.colors.background}CC";
|
||||||
borderColor = "${config.alyraffauf.desktop.theme.colors.primary}";
|
borderColor = "${config.alyraffauf.desktop.theme.colors.primary}EE";
|
||||||
|
borderSize = 2;
|
||||||
borderRadius = 10;
|
borderRadius = 10;
|
||||||
defaultTimeout = 10000;
|
defaultTimeout = 10000;
|
||||||
font = "${config.alyraffauf.desktop.theme.font.name} Regular ${toString config.alyraffauf.desktop.theme.font.size}";
|
font = "${config.alyraffauf.desktop.theme.font.name} Regular ${toString config.alyraffauf.desktop.theme.font.size}";
|
||||||
|
|
Loading…
Reference in a new issue