aboutsummaryrefslogtreecommitdiff
path: root/Panel
diff options
context:
space:
mode:
authorVasil Zlatanov <vasil.zlatanov@gmail.com>2016-12-23 02:09:31 +0000
committerVasil Zlatanov <vasil.zlatanov@gmail.com>2016-12-23 02:09:31 +0000
commit02c5d6d5e87be2cbd9dd97a0994a96612239866e (patch)
tree450e7503870046e7e5a766ca2edbeda951cc8747 /Panel
parentda2a83a94f18a5cde5b3ca91c6a74e26a055ae79 (diff)
downloaddotfiles-02c5d6d5e87be2cbd9dd97a0994a96612239866e.tar.gz
dotfiles-02c5d6d5e87be2cbd9dd97a0994a96612239866e.tar.bz2
dotfiles-02c5d6d5e87be2cbd9dd97a0994a96612239866e.zip
set shebangs to sh
Diffstat (limited to 'Panel')
-rwxr-xr-xPanel/lemonbar/batterymon2
-rwxr-xr-xPanel/lemonbar/load2
-rwxr-xr-xPanel/lemonbar/panel_colors2
-rwxr-xr-xPanel/lemonbar/profile2
-rwxr-xr-xPanel/lemonbar/signal2
-rwxr-xr-xPanel/lemonbar/windows2
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