1
0
mirror of https://github.com/XNM1/linux-nixos-hyprland-config-dotfiles.git synced 2025-09-15 09:45:58 +03:00

added microphone & webcam indicators to waybar

This commit is contained in:
xnm
2024-03-15 21:25:03 +02:00
parent 38779c2a32
commit e123495f64
4 changed files with 31 additions and 0 deletions

View File

@@ -164,6 +164,8 @@
"group/misc": {
"orientation": "horizontal",
"modules": [
"pulseaudio#microphone_indicator",
"custom/webcam",
"custom/recording",
"custom/geo",
"custom/media",
@@ -174,6 +176,19 @@
],
},
"pulseaudio#microphone_indicator": {
"format": "{format_source}",
"format-source": "󰍬",
"format-source-muted": "",
"tooltip-format": "microphone on",
},
"custom/webcam": {
"interval": 1,
"exec": "fish -c check_webcam",
"return-type": "json",
},
"custom/recording": {
"interval": 1,
"exec-if": "pgrep wf-recorder",