diff options
Diffstat (limited to 'mac/.config/sketchybar/sketchybarrc')
| -rwxr-xr-x | mac/.config/sketchybar/sketchybarrc | 30 |
1 files changed, 15 insertions, 15 deletions
diff --git a/mac/.config/sketchybar/sketchybarrc b/mac/.config/sketchybar/sketchybarrc index eaec5d1..56c2657 100755 --- a/mac/.config/sketchybar/sketchybarrc +++ b/mac/.config/sketchybar/sketchybarrc @@ -130,16 +130,29 @@ sketchybar --add item front_app left \ script="$PLUGIN_DIR/front_app.sh" \ --subscribe front_app front_app_switched +# YouTube Music Album +sketchybar --add item music-artwork left \ + label.padding_right=8 \ + label="" \ + width=20 \ + background.image.scale=0.09 \ + background.image.corner_radius=8 \ + background.image.border_color="$TRANSPARENT" \ + background.color="$TRANSPARENT" \ + display=1 \ + padding_right=16 \ + click_script="curl -s -X POST 0.0.0.0:26538/api/v1/toggle-play && $PLUGIN_DIR/youtube-music.sh" + # YouTube Music sketchybar --add item music left \ --set music icon= \ icon.padding_left=8 \ - icon.padding_right=8 \ + icon.padding_right=2 \ label.padding_right=8 \ label.font="Hack Nerd Font:Bold:12.0" \ label="Loading…" \ label.align=left \ - label.max_chars=40 \ + label.max_chars=20 \ update_freq=1 \ script="$PLUGIN_DIR/youtube-music.sh" \ background.image.scale=0.9 \ @@ -150,19 +163,6 @@ sketchybar --add item music left \ padding_right=0 \ click_script="curl -s -X POST 0.0.0.0:26538/api/v1/toggle-play && $PLUGIN_DIR/youtube-music.sh" -# YouTube Music Info -sketchybar --add item music_artwork left \ - label.padding_right=8 \ - label="" \ - width=40 \ - background.image.scale=0.07 \ - background.image.corner_radius=8 \ - background.image.border_color="$TRANSPARENT" \ - background.color="$TRANSPARENT" \ - display=1 \ - padding_right=16 \ - click_script="curl -s -X POST 0.0.0.0:26538/api/v1/toggle-play && $PLUGIN_DIR/youtube-music.sh" - # Now Playing # sketchybar --add item now_playing right \ # --set now_playing icon.font="SF Pro:Semibold:12.0" \ |
