waybar: add now playing, window names

This commit is contained in:
Inhji 2023-10-20 13:16:19 +02:00
parent 22bada1f55
commit 7bca7edd79
1 changed files with 2 additions and 2 deletions

View File

@ -3,7 +3,7 @@
// "layer": "top", // Waybar at top layer
// "position": "bottom", // Waybar position (top|bottom|left|right)
"height": 32, // Waybar height (to be removed for auto height)
"modules-left": ["sway/workspaces", "sway/mode"],
"modules-left": ["sway/workspaces", "sway/window", "sway/mode"],
"modules-center": ["custom/cmus"],
"modules-right": ["tray", "custom/stat", "battery", "clock"],
"custom/run": {
@ -51,7 +51,7 @@
"format": " {}",
"max-length": 30,
"interval": 1,
"exec": "cmus-remote -Q | grep 'tag title' | sed 's/tag title //g'"
"exec": "now-playing.sh"
},
"custom/stat": {
"format": "{}",