This commit is contained in:
Alexander Bantyev 2022-04-13 12:47:02 +03:00
parent 8a92f9fbca
commit a0a7ac5b0c
Signed by: balsoft
GPG Key ID: E081FF12ADCB4AD5
2 changed files with 18 additions and 6 deletions

View File

@ -23,6 +23,18 @@
progressColor = "over ${base0B}"; progressColor = "over ${base0B}";
iconPath = "${pkgs.papirus-icon-theme}/share/icons/Papirus-Dark"; iconPath = "${pkgs.papirus-icon-theme}/share/icons/Papirus-Dark";
maxIconSize = 24; maxIconSize = 24;
extraConfig = ''
[mode=do-not-disturb]
invisible=1
[mode=do-not-disturb summary="Do not disturb: on"]
invisible=0
[mode=concentrate]
invisible=1
[mode=concentrate urgency=critical]
invisible=0
[mode=concentrate summary="Concentrate mode: on"]
invisible=0
'';
}; };
}; };
} }

View File

@ -153,16 +153,16 @@ in {
"${modifier}+F1" = '' "${modifier}+F1" = ''
exec ${pkgs.pavucontrol}/bin/pavucontrol; [app_id="pavucontrol"] focus''; exec ${pkgs.pavucontrol}/bin/pavucontrol; [app_id="pavucontrol"] focus'';
"${modifier}+Shift+F1" = '' "${modifier}+Shift+F1" = ''
exec ${ exec ${pkgs.helvum}/bin/helvum; [app_id="org.freedesktop.ryuukyu.Helvum"] focus'';
pkgs.writeShellScript "helvum"
"GTK_THEME=adwaita:dark ${pkgs.helvum}/bin/helvum"
}; [app_id="org.freedesktop.ryuukyu.Helvum"] focus'';
"${modifier}+F3" = "exec ${pkgs.alsa-utils}/bin/amixer set Capture cap"; "${modifier}+F3" = "exec ${pkgs.alsa-utils}/bin/amixer set Capture cap";
"${modifier}+Shift+F3" = "exec ${pkgs.alsa-utils}/bin/amixer set Capture nocap"; "${modifier}+Shift+F3" = "exec ${pkgs.alsa-utils}/bin/amixer set Capture nocap";
"${modifier}+F5" = "reload"; "${modifier}+F5" = "reload";
"${modifier}+Shift+F5" = "exit"; "${modifier}+Shift+F5" = "exit";
"${modifier}+F9" = "exec systemctl --user restart mako.service"; "${modifier}+F8" = "exec ${pkgs.mako}/bin/makoctl dismiss";
"${modifier}+Shift+F9" = "exec systemctl --user stop mako.service"; "${modifier}+Shift+F8" = "exec ${pkgs.mako}/bin/makoctl restore";
"${modifier}+Control+F8" = "exec ${pkgs.mako}/bin/makoctl dismiss -a";
"${modifier}+F9" = "exec ${pkgs.libnotify}/bin/notify-send \"Do not disturb: on\"; exec ${pkgs.mako}/bin/makoctl set-mode do-not-disturb";
"${modifier}+Shift+F9" = "exec ${pkgs.libnotify}/bin/notify-send \"Do not disturb: off\"; exec ${pkgs.mako}/bin/makoctl set-mode default";
"${modifier}+F11" = "output * dpms off"; "${modifier}+F11" = "output * dpms off";
"${modifier}+F12" = "output * dpms on"; "${modifier}+F12" = "output * dpms on";
"${modifier}+End" = "exec ${lock}"; "${modifier}+End" = "exec ${lock}";