minor tweaks

This commit is contained in:
notgne2 2022-01-18 22:32:54 -07:00
parent 5ab514b46a
commit 6b5dbaa92e
No known key found for this signature in database
GPG key ID: BB661E172B42A7F8
3 changed files with 15 additions and 5 deletions

View file

@ -381,6 +381,7 @@ in
"custom/media" = {
rotate = 90;
max-length = 60;
on-click = "${pkgs.playerctl}/bin/playerctl play-pause";
exec = "${pkgs.playerctl}/bin/playerctl metadata --format '{{ emoji(status) }} {{ artist }} - {{ title }}' --follow";
};
@ -524,7 +525,14 @@ in
'';
};
programs.mako.enable = lib.mkDefault true;
programs.mako = {
enable = lib.mkDefault true;
maxVisible = lib.mkDefault 6;
extraConfig = lib.generators.toKeyValue { } {
on-button-middle = "dismiss-all";
};
};
systemd.user.services.mako = {
Service = {
ExecStart = "${pkgs.mako}/bin/mako";
@ -654,6 +662,8 @@ in
imagemagick
mpc_cli
playerctl
nix-index
gitAndTools.hub