diff options
Diffstat (limited to 'runstatus.sh')
-rwxr-xr-x | runstatus.sh | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/runstatus.sh b/runstatus.sh index c2b1564..0b73a7b 100755 --- a/runstatus.sh +++ b/runstatus.sh @@ -6,7 +6,12 @@ RESY=${RES##*,} FONT="-misc-fixed-medium-r-normal--13-120-75-75-C-70-iso8859-1" #FONT="-*-fixed-medium-r-semicondensed-*-13-*-*-*-*-*-*-*" +if [ $((RESX)) -gt 1920 ] +then + RESX=1920 +fi + cd ~/sysstatus/ killall sysstatus -./sysstatus | dzen2 -ta l -fn "$FONT" -bg black -y $((RESY+82)) -h 18 -ta r -expand left -e "" +./sysstatus | dzen2 -ta l -fn "$FONT" -bg black -w $((RESX)) -y $((RESY+82)) -h 18 -ta r -expand left -e "" #./sysstatus | tee /dev/shm/sysstatus-log | dzen2 -ta l -fn "$FONT" -bg black -y $((RESY+82)) -h 18 -ta r -expand left -e "" |