From 02c5d6d5e87be2cbd9dd97a0994a96612239866e Mon Sep 17 00:00:00 2001 From: Vasil Zlatanov Date: Fri, 23 Dec 2016 02:09:31 +0000 Subject: set shebangs to sh --- Panel/lemonbar/batterymon | 2 +- Panel/lemonbar/load | 2 +- Panel/lemonbar/panel_colors | 2 +- Panel/lemonbar/profile | 2 +- Panel/lemonbar/signal | 2 +- Panel/lemonbar/windows | 2 +- 6 files changed, 6 insertions(+), 6 deletions(-) diff --git a/Panel/lemonbar/batterymon b/Panel/lemonbar/batterymon index efee0a9..27ea7a6 100755 --- a/Panel/lemonbar/batterymon +++ b/Panel/lemonbar/batterymon @@ -1,4 +1,4 @@ -#!/bin/bash +#!/bin/sh while true;do if [ `battery -f '%i'` -lt 4 ] && ! [ -z ~/.dontshut ]; then touch ~/.dontshut diff --git a/Panel/lemonbar/load b/Panel/lemonbar/load index 3977bee..f28aa1c 100755 --- a/Panel/lemonbar/load +++ b/Panel/lemonbar/load @@ -1,4 +1,4 @@ -#!/bin/bash +#!/bin/sh while true; do cpu=`mpstat -P ALL 2 1 | grep "Average.*all" | awk '{print $3+$5}'` mem=`free | grep Mem | awk '{print $3/$2 * 100.0}'` diff --git a/Panel/lemonbar/panel_colors b/Panel/lemonbar/panel_colors index ac3d3b4..a72851c 100755 --- a/Panel/lemonbar/panel_colors +++ b/Panel/lemonbar/panel_colors @@ -1,4 +1,4 @@ -#!/bin/bash +#!/bin/sh . ~/.colors COLOR_FOCUSED_FG="#FF`echo $COLOR4 | cut -c 2-`" diff --git a/Panel/lemonbar/profile b/Panel/lemonbar/profile index e0eeba2..3a2f726 100755 --- a/Panel/lemonbar/profile +++ b/Panel/lemonbar/profile @@ -1,4 +1,4 @@ -#!/bin/bash +#!/bin/sh PANEL_FIFO=/tmp/panel-fifo PANEL_HEIGHT=24 diff --git a/Panel/lemonbar/signal b/Panel/lemonbar/signal index d494f5d..40ac908 100755 --- a/Panel/lemonbar/signal +++ b/Panel/lemonbar/signal @@ -1,4 +1,4 @@ -#!/bin/bash +#!/bin/sh while true;do signal=`iwconfig $INTERFACE | grep Signal| perl -pe 's/.*level=//; s/ dBm.*//'` #convert to Quality diff --git a/Panel/lemonbar/windows b/Panel/lemonbar/windows index e5ae808..108eeac 100755 --- a/Panel/lemonbar/windows +++ b/Panel/lemonbar/windows @@ -1,3 +1,3 @@ -#!/bin/bash +#!/bin/sh echo 'Wclear' > /tmp/panel-fifo ratpoison -c 'windows %s%n %t' | while read line;do echo "${line}" | cut -c -25 > /tmp/panel-fifo && sleep 0.004;done -- cgit v1.2.3-54-g00ecf