1
0
Fork 0
mirror of https://git.sr.ht/~roxwize/.dotfiles synced 2025-02-07 09:52:50 +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" type "pipewire"
name "main" name "main"
} }
log_file "/tmp/mpd.log"
''; '';
}; };
mpdris2 = { mpdris2 = {

View file

@ -13,8 +13,27 @@
left = [ left = [
{ {
# https://codeberg.org/dnkl/yambar/issues/53#issuecomment-264088 # https://codeberg.org/dnkl/yambar/issues/53#issuecomment-264088
label = { script = {
content.string.text = "god's in his heaven | all's right with the world"; #? 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; alsa.enable = true;
pulse.enable = true; pulse.enable = true;
}; };
mpd.enable = true; # Configured with home-manager
# CUPS printing # CUPS printing
printing.enable = true; printing.enable = true;
# misc # misc