waybar: add now playing, window names
This commit is contained in:
parent
22bada1f55
commit
7bca7edd79
|
@ -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": "{}",
|
||||
|
|
Loading…
Reference in New Issue