machine_setup/ansible/roles/waybar/files/waybar_config.json

48 lines
1.2 KiB
JSON
Raw Normal View History

{
// "height": 10, // Waybar height (to be removed for auto height)
"modules-left": ["sway/workspaces", "sway/mode"],
2022-11-25 19:59:49 +00:00
"modules-right": ["custom/temperature", "custom/sound", "custom/available_memory", "custom/battery", "idle_inhibitor", "custom/clock", "tray"],
"sway/workspaces": {
"disable-scroll": true
},
"sway/mode": {
"format": "<span style=\"italic\">{}</span>"
},
"idle_inhibitor": {
"format": "{icon}",
"format-icons": {
2023-03-17 16:53:30 +00:00
"activated": "☕",//☕
"deactivated": "⏾"//☾☁⛾⛔⏾⌛⏳
}
},
"tray": {
// "icon-size": 21,
"spacing": 10
},
"custom/clock": {
2022-10-19 02:29:23 +00:00
"exec": "waybar_custom_clock",
"return-type": "json",
"restart-interval": 30
},
"custom/battery": {
"exec": "waybar_custom_battery",
"return-type": "json",
"restart-interval": 30
2022-10-29 00:45:19 +00:00
},
"custom/available_memory": {
"exec": "waybar_custom_available_memory",
"return-type": "json",
"restart-interval": 30
2022-11-13 21:39:34 +00:00
},
"custom/sound": {
"exec": "waybar_custom_sound",
"return-type": "json",
"restart-interval": 30
2022-11-25 19:59:49 +00:00
},
"custom/temperature": {
"exec": "waybar_custom_temperature",
"return-type": "json",
"restart-interval": 30
}
}