mirror of
https://github.com/Swarsel/.dotfiles.git
synced 2026-04-14 21:29:12 +02:00
wip: migrate client modules
This commit is contained in:
parent
f6d2ff1544
commit
7ce27d5d2f
245 changed files with 20254 additions and 188 deletions
38
modules-clone/home/common/mako.nix
Normal file
38
modules-clone/home/common/mako.nix
Normal file
|
|
@ -0,0 +1,38 @@
|
|||
{ lib, config, ... }:
|
||||
{
|
||||
options.swarselmodules.mako = lib.mkEnableOption "mako settings";
|
||||
config = lib.mkIf config.swarselmodules.mako {
|
||||
services.mako = {
|
||||
enable = true;
|
||||
settings = {
|
||||
border-radius = 15;
|
||||
border-size = 1;
|
||||
default-timeout = 5000;
|
||||
ignore-timeout = false;
|
||||
icons = 1;
|
||||
layer = "overlay";
|
||||
sort = "-time";
|
||||
height = 150;
|
||||
width = 300;
|
||||
"urgency=low" = {
|
||||
border-color = lib.mkForce "#cccccc";
|
||||
};
|
||||
"urgency=normal" = {
|
||||
border-color = lib.mkForce "#d08770";
|
||||
};
|
||||
"urgency=high" = {
|
||||
border-color = lib.mkForce "#bf616a";
|
||||
default-timeout = 3000;
|
||||
};
|
||||
"category=mpd" = {
|
||||
default-timeout = 2000;
|
||||
group-by = "category";
|
||||
};
|
||||
"mode=do-not-disturb" = {
|
||||
invisible = true;
|
||||
};
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue