Added caffeine state.
This commit is contained in:
1 parent
cef83f1278
commit
b0759e994d
1 file changed
+9
Executable
+9
@@ -0,0 +1,9 @@
|
|||||||
|
#!/bin/sh
|
||||||
|
|
||||||
|
state="$(xset q | grep "DPMS is" | awk '{print $3}')"
|
||||||
|
|
||||||
|
if [ "$state" = "Enabled" ]; then
|
||||||
|
echo "[*]/"
|
||||||
|
else
|
||||||
|
echo "[ ]/"
|
||||||
|
fi
|
||||||
Reference in new issue
Block a user