summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAlexander Sulfrian <alexander@sulfrian.net>2012-07-08 04:17:53 +0200
committerAlexander Sulfrian <alexander@sulfrian.net>2012-07-08 04:17:53 +0200
commit28f4041e024f717e58e201f0f4b054fabdacd325 (patch)
treec1b2b6ecc22ce58a48a21c4604c273b46af2351d
parent19f6278d82df4f968687cb8072199d211a09ad3d (diff)
downloaddzen2-config-28f4041e024f717e58e201f0f4b054fabdacd325.tar.gz
dzen2-config-28f4041e024f717e58e201f0f4b054fabdacd325.tar.xz
dzen2-config-28f4041e024f717e58e201f0f4b054fabdacd325.zip
use /home/alex for home directory
-rw-r--r--bin/bat.sh2
-rw-r--r--bin/sound.sh4
2 files changed, 3 insertions, 3 deletions
diff --git a/bin/bat.sh b/bin/bat.sh
index e546209..49929a1 100644
--- a/bin/bat.sh
+++ b/bin/bat.sh
@@ -34,7 +34,7 @@ do
fi
fi
- echo $RPERC | gdbar -h 6 -w 50 -fg "${COLOR}" -bg '#444' -l "^i(/home/alex/.dzen2/icons/${IMAGE}.xbm) " -nonl
+ echo $RPERC | gdbar -h 6 -w 50 -fg "${COLOR}" -bg '#444' -l "^i(${HOME}/.dzen2/icons/${IMAGE}.xbm) " -nonl
echo " ${RPERC}%"
sleep 5;
done
diff --git a/bin/sound.sh b/bin/sound.sh
index 036b1c0..a53191b 100644
--- a/bin/sound.sh
+++ b/bin/sound.sh
@@ -10,9 +10,9 @@ function print_mute {
# MUTE=${VOL}
if [ "${MUTE}" == "off" -o "${MUTE}" == "0" ]
then
- echo "^tw()^fg(#FF0000)^i(/home/alex/.dzen2/icons/vol-mute.xbm)"
+ echo "^tw()^fg(#FF0000)^i(${HOME}/.dzen2/icons/vol-mute.xbm)"
else
- echo "^tw()^fg()^i(/home/alex/.dzen2/icons/vol-hi.xbm)"
+ echo "^tw()^fg()^i(${HOME}/.dzen2/icons/vol-hi.xbm)"
fi
echo "$(echo "$VOL" | tail -n 1)" | gdbar -h 6 -w 50 -fg '#999' -bg '#444'