From ebef0b0c20a825a8d60a6da4b68d99f785612a71 Mon Sep 17 00:00:00 2001 From: xero Date: Sun, 1 Nov 2015 19:06:07 -0500 Subject: update herb utils to use ~/bin --- herbstluftwm/code/sys/calendar | 15 --------------- 1 file changed, 15 deletions(-) delete mode 100755 herbstluftwm/code/sys/calendar (limited to 'herbstluftwm/code/sys/calendar') diff --git a/herbstluftwm/code/sys/calendar b/herbstluftwm/code/sys/calendar deleted file mode 100755 index 28199ae..0000000 --- a/herbstluftwm/code/sys/calendar +++ /dev/null @@ -1,15 +0,0 @@ -#!/bin/bash -# popup calendar for dzen -font="-Gohu-GohuFont-Medium-R-Normal--11-80-100-100-C-60-ISO10646-1" -TODAY=$(expr `date +'%d'` + 0) -MONTH=`date +'%m'` -YEAR=`date +'%Y'` -LINES=$(cal -m | wc -l) -LINES=$((LINES + 2)) - -( -date +'^bg(#111111) ' -date +'' -# current month, highlight header and today -cal -m | sed -r -e "1,2 s/.*/^fg(#d3d3d3)&^fg()/" -e "s/(^| )($TODAY)($| )/\1^bg(#6A8C8C)^fg(#111111)\2^fg()^bg()\3/") | dzen2 -x 0 -y 16 -w 146 -h 12 -l $LINES -sa c -p -e 'onstart=uncollapse,hide;button1=exit;' -fg "#d3d3d3" -tw 6 -fn "$font" -) -- cgit v1.2.1