.config/herbstluftwm/panel.sh

This commit is contained in:
Tom Willemsen 2012-01-31 16:03:40 +01:00
parent 768262d253
commit ce5f39a6ca

View file

@ -9,9 +9,9 @@ if [ -z "$geometry" ] ;then
fi fi
# geometry has the format: WxH+X+Y # geometry has the format: WxH+X+Y
x=${geometry[0]} x=${geometry[0]}
y=${geometry[1]}
width=${geometry[2]} width=${geometry[2]}
height=1 height=1
y=$(expr ${geometry[3]} - $height)
tag_width=40 tag_width=40
font="-misc-tamsyn-medium-r-normal-*-14-*-*-*-*-*-iso8859-*" font="-misc-tamsyn-medium-r-normal-*-14-*-*-*-*-*-iso8859-*"
@ -25,7 +25,7 @@ function uniq_linebuffered() {
awk '$0 != l { print ; l=$0 ; fflush(); }' "$@" 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 herbstclient pad $monitor2 -5 -5 -5 -5
{ {
childpid=$! childpid=$!