summaryrefslogtreecommitdiffhomepage
path: root/bin
diff options
context:
space:
mode:
authorjao <jao@gnu.org>2019-06-29 23:26:22 +0100
committerjao <jao@gnu.org>2019-06-29 23:26:22 +0100
commitb0030f6c35a1ab02bc4ff256984c75513981cd8f (patch)
treefc016523745fe146946f43b7d9898c11ae9cd41f /bin
parent8cf9dd7dab52a1583ec2073e8742d9d2247c0a8f (diff)
downloadxmobar-config-b0030f6c35a1ab02bc4ff256984c75513981cd8f.tar.gz
xmobar-config-b0030f6c35a1ab02bc4ff256984c75513981cd8f.tar.bz2
pasystray action
Diffstat (limited to 'bin')
-rwxr-xr-xbin/toggle-pasystray.sh3
1 files changed, 3 insertions, 0 deletions
diff --git a/bin/toggle-pasystray.sh b/bin/toggle-pasystray.sh
new file mode 100755
index 0000000..584084c
--- /dev/null
+++ b/bin/toggle-pasystray.sh
@@ -0,0 +1,3 @@
+#!/bin/bash
+
+(pidof pasystray && killall pasystray) || (pasystray &)