From a7139f17b0a9b0b3f8d9f3f695547997b2602083 Mon Sep 17 00:00:00 2001 From: katherine Date: Sat, 7 Sep 2019 08:10:27 -0700 Subject: add env shebangs for herbstluftwm things necessary for running on freebsd etc. dunno why it wasn't this way before --- .config/herbstluftwm/autostart | 2 +- .config/herbstluftwm/panel.sh | 2 +- .config/herbstluftwm/pvol.sh | 3 +-- .config/herbstluftwm/restartpanels.sh | 2 +- .config/herbstluftwm/tray.sh | 13 ------------- 5 files changed, 4 insertions(+), 18 deletions(-) delete mode 100755 .config/herbstluftwm/tray.sh (limited to '.config/herbstluftwm') 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 -- cgit v1.2.3