Add an indicator to FreeBSD for when recording is active.

This commit is contained in:
Tom Alexander
2022-11-29 00:15:48 -05:00
parent 019b4184ce
commit 8ea4ca15d8
4 changed files with 70 additions and 1 deletions

View File

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