2022-10-18 02:17:26 +00:00
|
|
|
{
|
|
|
|
// "height": 10, // Waybar height (to be removed for auto height)
|
2024-05-07 12:52:34 +00:00
|
|
|
"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"],
|
2022-10-18 02:17:26 +00:00
|
|
|
"sway/workspaces": {
|
2022-10-27 06:29:45 +00:00
|
|
|
"disable-scroll": true
|
2022-10-18 02:17:26 +00:00
|
|
|
},
|
|
|
|
"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": "💤"//☾☁⛾⛔⏾⌛⏳💤
|
2022-10-18 02:17:26 +00:00
|
|
|
}
|
|
|
|
},
|
|
|
|
"tray": {
|
|
|
|
// "icon-size": 21,
|
|
|
|
"spacing": 10
|
|
|
|
},
|
|
|
|
"custom/clock": {
|
2022-10-19 02:29:23 +00:00
|
|
|
"exec": "waybar_custom_clock",
|
2022-10-18 02:17:26 +00:00
|
|
|
"return-type": "json",
|
|
|
|
"restart-interval": 30
|
2022-10-27 06:29:45 +00:00
|
|
|
},
|
|
|
|
"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"
|
2022-10-18 02:17:26 +00:00
|
|
|
}
|
|
|
|
}
|