add waybar component for microphone state
This commit is contained in:
@@ -7,6 +7,7 @@
|
||||
"modules-right": [
|
||||
"tray",
|
||||
"pulseaudio",
|
||||
"custom/mic-state",
|
||||
"sway/language",
|
||||
"network",
|
||||
"backlight",
|
||||
@@ -26,6 +27,16 @@
|
||||
"format-muted": "MUTE",
|
||||
"on-click": "pavucontrol"
|
||||
},
|
||||
"custom/mic-state": {
|
||||
"exec": "~/dotfiles/bin/mic-state.sh",
|
||||
"format": "{icon}",
|
||||
"return-type": "json",
|
||||
"restart-interval": 0,
|
||||
"format-icons": {
|
||||
"yes": "",
|
||||
"no": ""
|
||||
}
|
||||
},
|
||||
"sway/language": {
|
||||
"tooltip": false
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user