mirror of
https://github.com/gburd/nix-config.git
synced 2024-11-15 00:36:25 +00:00
24 lines
641 B
Nix
24 lines
641 B
Nix
|
{ config, ... }:
|
||
|
let inherit (config.colorscheme) colors kind;
|
||
|
in {
|
||
|
services.mako = {
|
||
|
enable = true;
|
||
|
iconPath =
|
||
|
if kind == "dark" then
|
||
|
"${config.gtk.iconTheme.package}/share/icons/Papirus-Dark"
|
||
|
else
|
||
|
"${config.gtk.iconTheme.package}/share/icons/Papirus-Light";
|
||
|
font = "${config.fontProfiles.regular.family} 12";
|
||
|
padding = "10,20";
|
||
|
anchor = "top-center";
|
||
|
width = 400;
|
||
|
height = 150;
|
||
|
borderSize = 2;
|
||
|
defaultTimeout = 12000;
|
||
|
backgroundColor = "#${colors.base00}dd";
|
||
|
borderColor = "#${colors.base03}dd";
|
||
|
textColor = "#${colors.base05}dd";
|
||
|
layer = "overlay";
|
||
|
};
|
||
|
}
|