summaryrefslogtreecommitdiffhomepage
path: root/bin
diff options
context:
space:
mode:
authorjao <jao@gnu.org>2022-02-27 02:17:12 +0000
committerjao <jao@gnu.org>2022-02-27 02:17:12 +0000
commit2ed4205aab638c6e17b91e6af7cc08662f1af03a (patch)
treeee7b54d00e0ed6f6554bc036379e59f7f687c5e3 /bin
parent96844ee603c44396f9abd9e1dee3ab4992fd6882 (diff)
downloadxmobar-config-2ed4205aab638c6e17b91e6af7cc08662f1af03a.tar.gz
xmobar-config-2ed4205aab638c6e17b91e6af7cc08662f1af03a.tar.bz2
scripts
Diffstat (limited to 'bin')
-rwxr-xr-xbin/toggle-app.sh2
-rwxr-xr-xbin/xmobars.sh14
2 files changed, 1 insertions, 15 deletions
diff --git a/bin/toggle-app.sh b/bin/toggle-app.sh
index a2105ad..27da0d8 100755
--- a/bin/toggle-app.sh
+++ b/bin/toggle-app.sh
@@ -1,3 +1,3 @@
#!/bin/bash
-(pidof $1 && killall $1) || ($1 &)
+(pidof $1 && killall $1) || ($* &)
diff --git a/bin/xmobars.sh b/bin/xmobars.sh
deleted file mode 100755
index c49896f..0000000
--- a/bin/xmobars.sh
+++ /dev/null
@@ -1,14 +0,0 @@
-#!/bin/bash
-
-killall trayer
-
-trayer -l --margin 2 --distancefrom left \
- --distance 1 --edge top \
- --align left --SetDockType true --SetPartialStrut false \
- --widthtype request \
- --height 21 --heighttype pixel \
- --transparent true \
- --alpha 0 --padding 1 &
-
-killall xmobar-exwm
-xmobar-exwm &