310 current 1970-01-01 01:00:00 23.11.20240514.9ddcaff 6.1.90 *
This commit is contained in:
29
modules/home/sway/mako.nix
Normal file
29
modules/home/sway/mako.nix
Normal file
@@ -0,0 +1,29 @@
|
||||
{
|
||||
lib,
|
||||
config,
|
||||
...
|
||||
}: let
|
||||
cfg = config.sway.mako;
|
||||
in {
|
||||
options = {
|
||||
sway.mako.enable = lib.mkEnableOption "mako, a notification deamon";
|
||||
};
|
||||
|
||||
config = lib.mkIf cfg.enable {
|
||||
services.mako = {
|
||||
enable = true;
|
||||
actions = true;
|
||||
anchor = "top-right";
|
||||
|
||||
borderRadius = 10;
|
||||
borderSize = 2;
|
||||
height = 100;
|
||||
width = 400;
|
||||
|
||||
defaultTimeout = 10000; # ms
|
||||
font = "FiraCode Nerd Font 11";
|
||||
icons = true;
|
||||
markup = true;
|
||||
};
|
||||
};
|
||||
}
|
Reference in New Issue
Block a user