Override stylix border colour for fuzzel, avizo and mako
Add default timeout (5s) to mako notifications
This commit is contained in:
parent
2dadd171e9
commit
147ef5daf0
|
@ -1,4 +1,4 @@
|
|||
{ config, ... }:
|
||||
{ config, lib, ... }:
|
||||
{
|
||||
programs.fuzzel = {
|
||||
enable = true;
|
||||
|
@ -19,6 +19,7 @@
|
|||
width = 1;
|
||||
radius = 5;
|
||||
};
|
||||
colors.border = lib.mkForce "${config.lib.stylix.scheme.base0E}ff";
|
||||
};
|
||||
};
|
||||
}
|
||||
|
|
|
@ -27,7 +27,14 @@
|
|||
gpg-agent.pinentryPackage = pkgs.pinentry-qt;
|
||||
avizo = {
|
||||
enable = true;
|
||||
settings.default.image-opacity = lib.mkForce "1.0";
|
||||
settings.default = {
|
||||
image-opacity = lib.mkForce "1.0";
|
||||
border-color =
|
||||
let
|
||||
scheme = config.lib.stylix.scheme;
|
||||
in
|
||||
lib.mkForce "rgba(${scheme.base0E-rgb-r}, ${scheme.base0E-rgb-g}, ${scheme.base0E-rgb-b}, 1.0)";
|
||||
};
|
||||
};
|
||||
kdeconnect = {
|
||||
enable = true;
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
{ config, ... }:
|
||||
{ config, lib, ... }:
|
||||
{
|
||||
services.mako = {
|
||||
enable = true;
|
||||
|
@ -12,6 +12,7 @@
|
|||
iconPath = with config.gtk.iconTheme; "${package}/share/icons/${name}";
|
||||
borderRadius = 5;
|
||||
borderSize = 1;
|
||||
defaultTimeout = 0;
|
||||
borderColor = lib.mkForce config.lib.stylix.scheme.withHashtag.base0E;
|
||||
defaultTimeout = (builtins.mul 5 1000); # 5s timeout
|
||||
};
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue