New Termianls
This commit is contained in:
11
.config/waybar/scripts/toggle-screen-recorder.sh
Normal file
11
.config/waybar/scripts/toggle-screen-recorder.sh
Normal file
@@ -0,0 +1,11 @@
|
||||
#!/bin/bash
|
||||
|
||||
pid=`pgrep wf-recorder`
|
||||
status=$?
|
||||
|
||||
if [ $status != 0 ]
|
||||
then
|
||||
echo '{"class": "nothing"}'
|
||||
else
|
||||
echo '{"class": "recording"}'
|
||||
fi;
|
||||
Reference in New Issue
Block a user