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
|
// "width": 1280, // Waybar width
|
||||||
// "gtk-layer-shell": "false",
|
// "gtk-layer-shell": "false",
|
||||||
// Choose the order of the modules
|
// 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-center": ["sway/window"],
|
||||||
"modules-right": ["custom/scratchpad-indicator", "network", "cpu", "memory", "temperature", "battery", "pulseaudio", "clock#date", "custom/clock"],
|
"modules-right": ["custom/scratchpad-indicator", "network", "cpu", "memory", "temperature", "battery", "pulseaudio", "clock#date", "custom/clock"],
|
||||||
"sway/mode": {
|
"sway/mode": {
|
||||||
|
|
|
@ -9,7 +9,7 @@ if [[ $MCLASS == "playing" ]]; then
|
||||||
then
|
then
|
||||||
MINFO=$(echo $MINFO | cut -c1-35)"..."
|
MINFO=$(echo $MINFO | cut -c1-35)"..."
|
||||||
fi
|
fi
|
||||||
MTEXT=$MICON" "$MINFO" "
|
MTEXT=" "$MICON" "$MINFO" "
|
||||||
elif [[ $class == "paused" ]];
|
elif [[ $class == "paused" ]];
|
||||||
then
|
then
|
||||||
MTEXT=$MICON" (paused) "
|
MTEXT=$MICON" (paused) "
|
||||||
|
|
Loading…
Reference in a new issue