30 lines
649 B
Plaintext
30 lines
649 B
Plaintext
{
|
|
"layer": "bottom",
|
|
"position": "top",
|
|
"height": 14,
|
|
"spacing": 5,
|
|
"modules-left": ["hyprland/workspaces"],
|
|
"modules-center": ["mpris"],
|
|
"modules-right": ["custom/updates", "clock"],
|
|
|
|
"clock": {
|
|
"format": "{:%I:%M %p}",
|
|
},
|
|
|
|
"mpris": {
|
|
"format": "{title} - {artist}",
|
|
"ignored-players": ["firefox"]
|
|
},
|
|
|
|
"custom/updates": {
|
|
"format": "{} {icon}",
|
|
"return-type": "json",
|
|
"format-icons": {
|
|
"has-updates": "",
|
|
"updated": ""
|
|
},
|
|
"exec-if": "which waybar-module-pacman-updates",
|
|
"exec": "waybar-module-pacman-updates --interval-seconds 5 --network-interval-seconds 300"
|
|
}
|
|
}
|