tweak spotify in waybar

This commit is contained in:
Morgan McMillian 2022-02-25 06:15:40 -08:00
parent 08466adf09
commit aa2747db07
2 changed files with 2 additions and 2 deletions

View file

@ -5,7 +5,7 @@
// "width": 1280, // Waybar width
// "gtk-layer-shell": "false",
// Choose the order of the modules
"modules-left": ["tray", "sway/workspaces", "sway/mode", "custom/spotify"],
"modules-left": ["sway/workspaces", "sway/mode", "tray", "custom/spotify"],
"modules-center": ["sway/window"],
"modules-right": ["custom/scratchpad-indicator", "network", "cpu", "memory", "temperature", "battery", "pulseaudio", "clock#date", "custom/clock"],
"sway/mode": {

View file

@ -9,7 +9,7 @@ if [[ $MCLASS == "playing" ]]; then
then
MINFO=$(echo $MINFO | cut -c1-35)"..."
fi
MTEXT=$MICON" "$MINFO" "
MTEXT=" "$MICON" "$MINFO" "
elif [[ $class == "paused" ]];
then
MTEXT=$MICON" (paused) "