Refresh clock on the minute instead of every 10 seconds.

This commit is contained in:
Tom Alexander
2024-05-07 08:52:34 -04:00
parent a2bdb93d5e
commit 5fa7f918a1
8 changed files with 89 additions and 170 deletions

View File

@@ -1,6 +1,6 @@
{
// "height": 10, // Waybar height (to be removed for auto height)
"modules-left": ["sway/workspaces", "sway/mode", "custom/recording_indicator"],
"modules-left": ["sway/workspaces", "sway/mode"],
"modules-right": ["custom/temperature", "custom/sound", "custom/available_memory", "custom/battery", "idle_inhibitor", "custom/clock", "tray"],
"sway/workspaces": {
"disable-scroll": true
@@ -43,10 +43,5 @@
"exec": "waybar_custom_temperature",
"return-type": "json",
"restart-interval": 30
},
"custom/recording_indicator": {
"exec": "waybar_custom_recording_indicator",
"return-type": "json",
"restart-interval": 30
}
}