From ce5f39a6ca5acb264f2791676b5e2b03c98876ae Mon Sep 17 00:00:00 2001 From: Tom Willemsen Date: Tue, 31 Jan 2012 16:03:40 +0100 Subject: .config/herbstluftwm/panel.sh --- .config/herbstluftwm/panel.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to '.config') diff --git a/.config/herbstluftwm/panel.sh b/.config/herbstluftwm/panel.sh index 448a0c6..14080b9 100755 --- a/.config/herbstluftwm/panel.sh +++ b/.config/herbstluftwm/panel.sh @@ -9,9 +9,9 @@ if [ -z "$geometry" ] ;then fi # geometry has the format: WxH+X+Y x=${geometry[0]} -y=${geometry[1]} width=${geometry[2]} height=1 +y=$(expr ${geometry[3]} - $height) tag_width=40 font="-misc-tamsyn-medium-r-normal-*-14-*-*-*-*-*-iso8859-*" @@ -25,7 +25,7 @@ function uniq_linebuffered() { awk '$0 != l { print ; l=$0 ; fflush(); }' "$@" } -herbstclient pad $monitor $(expr $height - 4) -5 -5 -5 +herbstclient pad $monitor -5 -5 $(expr -5 + $height) -5 herbstclient pad $monitor2 -5 -5 -5 -5 { childpid=$! -- cgit v1.2.3-54-g00ecf