tweak spotify in waybar
This commit is contained in:
parent
08466adf09
commit
aa2747db07
2 changed files with 2 additions and 2 deletions
|
@ -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": {
|
||||
|
|
|
@ -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) "
|
||||
|
|
Loading…
Reference in a new issue