style waybar, add mpd module, other fixes

This commit is contained in:
tristan 2023-09-07 16:17:35 +01:00
parent 32500bffd0
commit ce1c48b4a4
8 changed files with 121 additions and 92 deletions

View file

@ -1,4 +1,4 @@
{ config, pkgs, ... }:
{ config, pkgs, lib, ... }:
let
my-deps = {
notify-send = "${pkgs.libnotify}/bin/notify-send";
@ -122,7 +122,7 @@ in
key = "G";
}];
}
{
(lib.mkIf config.roles.mpd.enable {
name = "ncmpcpp";
text = ''
${my-deps.terminal} -e ncmpcpp
@ -131,7 +131,7 @@ in
key = "M";
}];
install = false;
}
})
{
name = "menu";
text = ''