From 28f4041e024f717e58e201f0f4b054fabdacd325 Mon Sep 17 00:00:00 2001 From: Alexander Sulfrian Date: Sun, 8 Jul 2012 04:17:53 +0200 Subject: use /home/alex for home directory --- bin/bat.sh | 2 +- bin/sound.sh | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) (limited to 'bin') 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' -- cgit v1.2.3