aboutsummaryrefslogtreecommitdiffstats
path: root/.config/herbstluftwm
diff options
context:
space:
mode:
authorkatherine <ageha@airen-no-jikken.icu>2019-09-07 08:10:27 -0700
committerkatherine <ageha@airen-no-jikken.icu>2019-09-07 08:10:27 -0700
commita7139f17b0a9b0b3f8d9f3f695547997b2602083 (patch)
treec414a76181af7b2468f2a02645719134dfeeffe9 /.config/herbstluftwm
parent3ee2e833d6e423ced02c182a55c35b9a4bc3c687 (diff)
downloaddotfiles-a7139f17b0a9b0b3f8d9f3f695547997b2602083.tar.gz
add env shebangs for herbstluftwm things
necessary for running on freebsd etc. dunno why it wasn't this way before
Diffstat (limited to '.config/herbstluftwm')
-rwxr-xr-x.config/herbstluftwm/autostart2
-rwxr-xr-x.config/herbstluftwm/panel.sh2
-rwxr-xr-x.config/herbstluftwm/pvol.sh3
-rwxr-xr-x.config/herbstluftwm/restartpanels.sh2
-rwxr-xr-x.config/herbstluftwm/tray.sh13
5 files changed, 4 insertions, 18 deletions
diff --git a/.config/herbstluftwm/autostart b/.config/herbstluftwm/autostart
index 995b23a..9b82bb2 100755
--- a/.config/herbstluftwm/autostart
+++ b/.config/herbstluftwm/autostart
@@ -1,4 +1,4 @@
-#!/bin/zsh
+#!/usr/bin/env zsh
source ~/.config/init/vars
diff --git a/.config/herbstluftwm/panel.sh b/.config/herbstluftwm/panel.sh
index 79b3cce..4f688a1 100755
--- a/.config/herbstluftwm/panel.sh
+++ b/.config/herbstluftwm/panel.sh
@@ -1,4 +1,4 @@
-#!/bin/bash
+#!/usr/bin/env bash
###########
# SETUP #
diff --git a/.config/herbstluftwm/pvol.sh b/.config/herbstluftwm/pvol.sh
index a3ce9e1..820d890 100755
--- a/.config/herbstluftwm/pvol.sh
+++ b/.config/herbstluftwm/pvol.sh
@@ -1,6 +1,5 @@
-#!/bin/bash
+#!/usr/bin/env zsh
-# race condition, obvs, but this is hopefully time enough
case "$1" in
down)
pavolume voldown --quiet 2
diff --git a/.config/herbstluftwm/restartpanels.sh b/.config/herbstluftwm/restartpanels.sh
index 1d14f1d..892c86d 100755
--- a/.config/herbstluftwm/restartpanels.sh
+++ b/.config/herbstluftwm/restartpanels.sh
@@ -1,4 +1,4 @@
-#!/bin/zsh
+#!/usr/bin/env zsh
installdir=/
diff --git a/.config/herbstluftwm/tray.sh b/.config/herbstluftwm/tray.sh
deleted file mode 100755
index c82e37d..0000000
--- a/.config/herbstluftwm/tray.sh
+++ /dev/null
@@ -1,13 +0,0 @@
-#!/bin/bash
-hc() { "${herbstclient_command[@]:-herbstclient}" "$@" ;}
-
-source ~/.config/init/vars
-
-run=""
-while [ -z "$run" ]; do
- sleep .5
- run=$(ps -e | grep bar)
- echo "$run"
-done
-
-trayer --edge top --align right --heighttype pixel --height $bheight --widthtype pixel --width $bheight --distancefrom right --distance 4