Migrate config (frues-pc machine for now) from https://git.peprolinbot.com/peprolinbot/nixos-config, with improvements
This commit is contained in:
parent
ebd178b0a5
commit
7606f9e051
66 changed files with 9465 additions and 73 deletions
31
users/pedro/home-configuration/mako.nix
Normal file
31
users/pedro/home-configuration/mako.nix
Normal file
|
@ -0,0 +1,31 @@
|
|||
{...}: {
|
||||
services.mako = {
|
||||
enable = true;
|
||||
settings = {
|
||||
default-timeout = 5000;
|
||||
|
||||
"mode=do-not-disturb" = {
|
||||
invisible = 1;
|
||||
};
|
||||
|
||||
# From https://github.com/emersion/mako/wiki/Volume-change-notification
|
||||
"app-name=wp-vol" = {
|
||||
layer = "overlay";
|
||||
history = 0;
|
||||
anchor = "top-center";
|
||||
# Group all volume notifications together
|
||||
group-by = "app-name";
|
||||
# Hide the group-index
|
||||
format = "<b>%s</b>\\n%b";
|
||||
};
|
||||
"app-name=volume group-index=0" = {
|
||||
# Only show last notification
|
||||
invisible = 0;
|
||||
};
|
||||
"app-name=volume grouped=false" = {
|
||||
# Force initial volume notification to be visible
|
||||
invisible = 0;
|
||||
};
|
||||
};
|
||||
};
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue