machine_setup/ansible/roles/sway/files/waybar_config.json
2022-10-18 20:04:46 -04:00

28 lines
618 B
JSON

{
// "height": 10, // Waybar height (to be removed for auto height)
"modules-left": ["sway/workspaces", "sway/mode"],
"modules-right": ["idle_inhibitor", "custom/clock", "tray"],
"sway/workspaces": {
"disable-scroll": true,
},
"sway/mode": {
"format": "<span style=\"italic\">{}</span>"
},
"idle_inhibitor": {
"format": "{icon}",
"format-icons": {
"activated": "",
"deactivated": ""
}
},
"tray": {
// "icon-size": 21,
"spacing": 10
},
"custom/clock": {
"exec": "waybar_custom_clock",
"return-type": "json",
"restart-interval": 30
}
}