1
0
Fork 0
mirror of https://git.sr.ht/~roxwize/.dotfiles synced 2025-01-30 22:53:37 +00:00
This commit is contained in:
Rae 5e 2025-01-01 00:26:26 -05:00
parent f013ffb9b3
commit 3885fd9242
Signed by: rae
GPG key ID: 5B1A0FAB9BAB81EE
3 changed files with 22 additions and 3 deletions

View file

@ -71,6 +71,7 @@
type "pipewire"
name "main"
}
log_file "/tmp/mpd.log"
'';
};
mpdris2 = {

View file

@ -13,8 +13,27 @@
left = [
{
# https://codeberg.org/dnkl/yambar/issues/53#issuecomment-264088
label = {
content.string.text = "god's in his heaven | all's right with the world";
script = {
#? or /run/current-system/sw/bin/playerctl
path = "${pkgs.playerctl}/bin/playerctl";
args = [
"--follow"
"metadata"
"--format"
''
status|string|{{status}}
artist|string|{{artist}}
title|string|{{title}}
''
];
content.map.conditions = {
"status == Playing" = {
string.text = "{artist} - {title}";
};
"status != Playing" = {
string.text = "god's in his heaven | all's right with the world";
};
};
};
}
];

View file

@ -57,7 +57,6 @@
alsa.enable = true;
pulse.enable = true;
};
mpd.enable = true; # Configured with home-manager
# CUPS printing
printing.enable = true;
# misc