aboutsummaryrefslogtreecommitdiff
path: root/dotfiles/.local/bin/barrecstatus
diff options
context:
space:
mode:
authorYaroslav <contact@yaroslavps.com>2020-02-03 00:01:16 +0300
committerYaroslav <contact@yaroslavps.com>2020-02-03 00:01:16 +0300
commite5532752993f463524e0c89d5e82b5a84a77759b (patch)
tree0ce47eba97ecd5256d6cd29c86a50ac756b30cc1 /dotfiles/.local/bin/barrecstatus
parent2cb2af9d66ef98877ffee2f588c7a85036750d55 (diff)
downloadswayrice-e5532752993f463524e0c89d5e82b5a84a77759b.tar.gz
swayrice-e5532752993f463524e0c89d5e82b5a84a77759b.zip
load gtk settings on sway start, vpn shortcut and waybar indicator
Diffstat (limited to 'dotfiles/.local/bin/barrecstatus')
-rwxr-xr-xdotfiles/.local/bin/barrecstatus8
1 files changed, 8 insertions, 0 deletions
diff --git a/dotfiles/.local/bin/barrecstatus b/dotfiles/.local/bin/barrecstatus
new file mode 100755
index 0000000..b7bb8b4
--- /dev/null
+++ b/dotfiles/.local/bin/barrecstatus
@@ -0,0 +1,8 @@
+#!/bin/sh
+
+if [ -f "$HOME/.cache/recordingpid" ]; then
+ printf "⏺ rec"
+ exit
+fi
+
+printf ""