Files
sway/.config/waybar/scripts/toggle-screen-recorder.sh
OdiousImp2604 c6796b1ff6 New Termianls
2021-02-04 13:19:46 +00:00

12 lines
148 B
Bash

#!/bin/bash
pid=`pgrep wf-recorder`
status=$?
if [ $status != 0 ]
then
echo '{"class": "nothing"}'
else
echo '{"class": "recording"}'
fi;