diff options
Diffstat (limited to 'runstatus.sh')
-rwxr-xr-x | runstatus.sh | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/runstatus.sh b/runstatus.sh new file mode 100755 index 0000000..c2b1564 --- /dev/null +++ b/runstatus.sh @@ -0,0 +1,12 @@ +#!/bin/sh + +RES=$(xrandr --prop | sed "s/Screen 0:[^,]*, current \(.*\) x \(.*\),.*/\1,\2/g;te;d;:e") +RESX=${RES%%,*} +RESY=${RES##*,} +FONT="-misc-fixed-medium-r-normal--13-120-75-75-C-70-iso8859-1" +#FONT="-*-fixed-medium-r-semicondensed-*-13-*-*-*-*-*-*-*" + +cd ~/sysstatus/ +killall sysstatus +./sysstatus | dzen2 -ta l -fn "$FONT" -bg black -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 "" |