mirror of
https://github.com/traxys/Nixfiles.git
synced 2026-02-14 03:10:19 +01:00
gui: Add do not disturb mako mode
This commit is contained in:
parent
8396ed53c3
commit
7eccf2eff3
1 changed files with 11 additions and 7 deletions
|
|
@ -38,14 +38,18 @@ in {
|
|||
LIBSEAT_BACKEND = "logind";
|
||||
};
|
||||
|
||||
programs = {
|
||||
mako = mkIf cfg.notifications.enable {
|
||||
enable = true;
|
||||
font = cfg.notifications.font;
|
||||
margin = "20,20,5,5";
|
||||
defaultTimeout = cfg.notifications.defaultTimeout;
|
||||
};
|
||||
services.mako = mkIf cfg.notifications.enable {
|
||||
enable = true;
|
||||
font = cfg.notifications.font;
|
||||
margin = "20,20,5,5";
|
||||
defaultTimeout = cfg.notifications.defaultTimeout;
|
||||
extraConfig = ''
|
||||
[mode=do-not-disturb]
|
||||
invisible=1
|
||||
'';
|
||||
};
|
||||
|
||||
programs = {
|
||||
waybar = {
|
||||
enable = true;
|
||||
style = builtins.readFile ./waybar.css;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue