You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

14 lines
461 B

10 years ago
#!/bin/bash
source $(dirname $0)/config.sh
XPOS=$((1510 + $XOFFSET))
WIDTH="110"
LINES="10"
datea=$(date +%a)
dateb=$(date +%b)
dated=$(date +%d)
datey=$(date +%Y)
calendar=$(cal $(( $(date +%m) + 1 )) $(date +%Y))
(echo " "; echo " ^fg($highlight)$datea $dateb $dated $datey"; echo ""; echo "$calendar"; sleep 15) | dzen2 -fg $foreground -bg $background -fn $FONT -x $XPOS -y $YPOS -w $WIDTH -l $LINES -e 'onstart=uncollapse,hide;button1=exit;button3=exit'