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

54 lines
1.4 KiB
JSON
Raw Normal View History

{
// "height": 10, // Waybar height (to be removed for auto height)
"modules-left": ["sway/workspaces", "sway/mode"],
2024-07-22 01:48:48 +00:00
"modules-right": ["custom/night_mode", "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": "☕",//☕
2024-07-22 01:48:48 +00:00
"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
2024-07-22 01:48:48 +00:00
},
"custom/night_mode": {
"exec": "waybar_night_mode",
"return-type": "json",
"restart-interval": 30,
"on-click": "pkill --signal USR1 -f waybar_night_mode"
}
}