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:
5
home/.config/fish/functions/check_webcam.fish
Normal file
5
home/.config/fish/functions/check_webcam.fish
Normal 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
|
Reference in New Issue
Block a user