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

@@ -0,0 +1,5 @@
function check_webcam
if test (lsof /dev/video0 | count) -gt 3
echo "{\"text\":\"󰖠\", \"tooltip\":\"webcam is used\", \"alt\":\"Webcam\"}"
end
end