mirror of
https://github.com/alyraffauf/nixcfg.git
synced 2024-11-22 02:13:55 -05:00
mako: fixed icon theme and added notification sound
Some checks are pending
git-mirror / gitlab-sync (push) Waiting to run
nix-build / default-build (push) Waiting to run
nix-build / fallarbor-build (push) Waiting to run
nix-build / lavaridge-build (push) Waiting to run
nix-build / mauville-build (push) Waiting to run
nix-build / petalburg-build (push) Waiting to run
nix-build / rustboro-build (push) Waiting to run
nix-check / fmt-check (push) Waiting to run
nix-check / eval-check (push) Waiting to run
Some checks are pending
git-mirror / gitlab-sync (push) Waiting to run
nix-build / default-build (push) Waiting to run
nix-build / fallarbor-build (push) Waiting to run
nix-build / lavaridge-build (push) Waiting to run
nix-build / mauville-build (push) Waiting to run
nix-build / petalburg-build (push) Waiting to run
nix-build / rustboro-build (push) Waiting to run
nix-check / fmt-check (push) Waiting to run
nix-check / eval-check (push) Waiting to run
This commit is contained in:
parent
1e43224619
commit
a3c0e62182
|
@ -6,21 +6,27 @@
|
|||
}: {
|
||||
config = lib.mkIf config.ar.home.services.mako.enable {
|
||||
services.mako = {
|
||||
enable = true;
|
||||
actions = true;
|
||||
anchor = "top-center";
|
||||
backgroundColor = "${config.ar.home.theme.colors.background}CC";
|
||||
borderColor = "${config.ar.home.theme.colors.primary}EE";
|
||||
borderSize = 2;
|
||||
borderRadius = 10;
|
||||
borderSize = 2;
|
||||
defaultTimeout = 10000;
|
||||
enable = true;
|
||||
font = "${config.gtk.font.name} Regular ${toString config.gtk.font.size}";
|
||||
height = 300;
|
||||
iconPath = "${pkgs.papirus-icon-theme}/share/icons/Papirus/";
|
||||
icons = true;
|
||||
layer = "top";
|
||||
margin = "20,0";
|
||||
padding = "15";
|
||||
textColor = "${config.ar.home.theme.colors.text}";
|
||||
width = 400;
|
||||
margin = "20,0";
|
||||
|
||||
extraConfig = ''
|
||||
on-notify=exec ${lib.getExe pkgs.mpv} ${pkgs.sound-theme-freedesktop}/share/sounds/freedesktop/stereo/message.oga
|
||||
|
||||
[mode=do-not-disturb]
|
||||
invisible=1
|
||||
'';
|
||||
|
|
Loading…
Reference in a new issue