diff options
author | Yaroslav <contact@yaroslavps.com> | 2020-02-03 00:01:16 +0300 |
---|---|---|
committer | Yaroslav <contact@yaroslavps.com> | 2020-02-03 00:01:16 +0300 |
commit | e5532752993f463524e0c89d5e82b5a84a77759b (patch) | |
tree | 0ce47eba97ecd5256d6cd29c86a50ac756b30cc1 /dotfiles/.local/bin/barvpnstatus | |
parent | 2cb2af9d66ef98877ffee2f588c7a85036750d55 (diff) | |
download | swayrice-e5532752993f463524e0c89d5e82b5a84a77759b.tar.gz swayrice-e5532752993f463524e0c89d5e82b5a84a77759b.zip |
load gtk settings on sway start, vpn shortcut and waybar indicator
Diffstat (limited to 'dotfiles/.local/bin/barvpnstatus')
-rwxr-xr-x | dotfiles/.local/bin/barvpnstatus | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/dotfiles/.local/bin/barvpnstatus b/dotfiles/.local/bin/barvpnstatus new file mode 100755 index 0000000..1af57c4 --- /dev/null +++ b/dotfiles/.local/bin/barvpnstatus @@ -0,0 +1,9 @@ +#!/bin/sh + +if [ -f "$HOME/.cache/openvpnpid" ]; then + printf "🔐 vpn" + exit +fi + +printf "" + |