nixcfg/homeManagerModules/apps/mako/default.nix
Aly Raffauf 76e6626187
home/theme: remove abstractions and simplify options
* removed gtk and icon theme option abstractions

* home/theme: remove cursorTheme options

* rustboro/home: migrate cursor theme overrides

* home/theme: use config.gtk.font instead of options.nix abstractions

* home/them: dark mode/light mode check for icons

* home/theme: remove terminalFont options

* home: move home.themes.colors.darkMode to home.themes.darkMode

* home/them: improve gnome font settings

* waybar: stay dark even when in light mode
2024-07-03 10:35:39 -04:00

30 lines
716 B
Nix

{
pkgs,
lib,
config,
...
}: {
config = lib.mkIf config.ar.home.apps.mako.enable {
services.mako = {
enable = true;
anchor = "top-center";
backgroundColor = "${config.ar.home.theme.colors.background}CC";
borderColor = "${config.ar.home.theme.colors.primary}EE";
borderSize = 2;
borderRadius = 10;
defaultTimeout = 10000;
font = "${config.gtk.font.name} Regular ${toString config.gtk.font.size}";
height = 300;
layer = "top";
padding = "15";
textColor = "${config.ar.home.theme.colors.text}";
width = 400;
margin = "20,0";
extraConfig = ''
[mode=do-not-disturb]
invisible=1
'';
};
};
}