Files
dotfiles-ndesk/waybar/scripts/droidcam_status.sh
2025-11-02 23:53:10 +01:00

8 lines
140 B
Bash
Executable File

#!/bin/bash
if [ -f /tmp/droidcam.pid ]; then
echo "{\"text\": \"\", \"class\": \"active\"}"
else
echo "{\"text\": \"\"}"
fi