aboutsummaryrefslogtreecommitdiff
path: root/i3blocks/i3rec.sh
diff options
context:
space:
mode:
authorInigoGutierrez <inigogf.95@gmail.com>2019-02-28 18:34:01 +0100
committerInigoGutierrez <inigogf.95@gmail.com>2019-02-28 18:34:01 +0100
commitb8f2c418238af1b784b160d70bc60e4f3d2a61f3 (patch)
tree485a53a71ce0da654b2c68fdd6746a3f502bb317 /i3blocks/i3rec.sh
parente7d59e49793442481705f0a8bb1d24ccea30eb8f (diff)
downloadscripts-b8f2c418238af1b784b160d70bc60e4f3d2a61f3.tar.gz
scripts-b8f2c418238af1b784b160d70bc60e4f3d2a61f3.zip
Created screen recording scripts.
Diffstat (limited to 'i3blocks/i3rec.sh')
-rwxr-xr-xi3blocks/i3rec.sh13
1 files changed, 13 insertions, 0 deletions
diff --git a/i3blocks/i3rec.sh b/i3blocks/i3rec.sh
new file mode 100755
index 0000000..82fede7
--- /dev/null
+++ b/i3blocks/i3rec.sh
@@ -0,0 +1,13 @@
+#!/bin/sh
+
+# Shows status of ffmpeg screen recording
+
+#case $BLOCK_BUTTON in
+# 1) # Left click
+# 2) # Middle click
+# 3) # Right click
+#esac
+
+MARKFILE='/tmp/screenRec.mark'
+[ -e $MARKFILE ] && echo "🎥✔️" && exit 0
+echo ""