Closed MrZeLee closed 7 months ago
Does scroll_text has a freq property that makes the test only scroll each x seconds.
I tried with update_freq 60, but it still scrolls each 10 seconds.
Thank you in advance, for the help.
This is my script:
$ITEM_DIR/media.sh >
#!/bin/bash sketchybar --add item media right \ --set media update_freq=60 label.color=$WHITE\ label.max_chars=30 \ icon.padding_left=0 \ scroll_texts=on \ icon=♪ \ icon.color=$WHITE \ background.drawing=off \ script="$PLUGIN_DIR/media.sh" \ --subscribe media media_change
$PLUGIN_DIR/media.sh >
#!/bin/bash STATE="$(echo "$INFO" | jq -r '.state')" if [ "$STATE" = "playing" ]; then MEDIA="$(echo "$INFO" | jq -r '.title + " - " + .artist')" sketchybar --set $NAME label="$MEDIA" drawing=on else sketchybar --set $NAME drawing=off fi
sketchybarrc >
#!/bin/bash PLUGIN_DIR="$CONFIG_DIR/plugins" ITEM_DIR="$CONFIG_DIR/items" sketchybar --bar position=top \ height=24 \ blur_radius=22 \ color=$BAR_COLOR \ padding_left=5 \ padding_right=5 \ sticky=off default=( padding_left=5 padding_right=5 icon.font="Hack Nerd Font:Bold:17.0" label.font="Hack Nerd Font:Bold:14.0" icon.color=$WHITE label.color=$WHITE icon.padding_left=4 icon.padding_right=4 label.padding_left=4 label.padding_right=4 background.color=$ITEM_BG_COLOR background.corner_radius=5 background.height=24 ) sketchybar --default "${default[@]}" # ....truncated part source $ITEM_DIR/media.sh ##### Force all scripts to run the first time (never do this in a script) ##### sketchybar --update
No there is currently no such property. All fields scroll on the same timer.
Does scroll_text has a freq property that makes the test only scroll each x seconds.
I tried with update_freq 60, but it still scrolls each 10 seconds.
Thank you in advance, for the help.
This is my script:
$ITEM_DIR/media.sh >
$PLUGIN_DIR/media.sh >
sketchybarrc >