aboutsummaryrefslogtreecommitdiff
path: root/dot-config
diff options
context:
space:
mode:
Diffstat (limited to 'dot-config')
-rwxr-xr-xdot-config/yambar/config.yml18
1 files changed, 10 insertions, 8 deletions
diff --git a/dot-config/yambar/config.yml b/dot-config/yambar/config.yml
index c22ca65..0e5ff4e 100755
--- a/dot-config/yambar/config.yml
+++ b/dot-config/yambar/config.yml
@@ -252,19 +252,21 @@ mpd: &mpd
margin: *margin
content:
map:
- default: {string: {text: "{state} 🎶", <<: *mpd-anchor}}
- conditions:
- state == playing:
- string: {text: "{artist} - {title} 🎶", <<: *mpd-anchor}
- state == paused:
- string: {text: "{artist} - {title} 🎶", <<: *mpd-anchor, foreground: *fgdim}
- state == stopped:
- string: {text: "mpd 🎶", <<: *mpd-anchor}
+ foreground: *fg
+ margin: *margin
+ default: {string: {text: "{state} "}}
on-click:
left: mpc toggle
right: mpc next
wheel-up: mpc next
wheel-down: mpc prev
+ conditions:
+ state == playing:
+ string: {text: "{artist} - {title} [{pos}/{end}] "}
+ state == paused:
+ string: {text: "{artist} - {title} ", foreground: *fgdim}
+ state == stopped:
+ string: {text: "mpd "}
# LAYOUT
bar: