Last active
November 15, 2017 19:51
-
-
Save voyeg3r/27f286f8baf05f69f32eaead31f898ef to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# PS. The mouse and sticky keys indicators require xkbset to be installed, the clock requires the font LCDMono which is located here. | |
# font lcd mono: https://www.dafont.com/lcd-lcd-mono.font | |
alignment top_right | |
color1 burlywood1 #Month color | |
color2 burlywood4 #Year color | |
color3 darkgoldenrod4 #Weekdays lived color | |
color4 cornsilk #Current weekday color | |
color5 darkgoldenrod1 #Weekdays yet to come color | |
color6 darkorange3 #Days of month lived color | |
color7 firebrick2 #Current day color | |
color8 darkorange #Days yet to come color | |
double_buffer true | |
use_xft yes | |
xftfont Droid Sans Mono Slashed:size=12 | |
own_window yes | |
own_window_argb_visual yes | |
own_window_hints undecorate,sticky,skip_taskbar,skip_pager,below | |
own_window_transparent yes | |
TEXT | |
################## | |
## CALENDAR ## | |
################## | |
${alignc}${color1}${time %B} ${color2}${time %Y} | |
${execp TODAY=`date +%_d`; cal | tail -n+2 | sed \ | |
-e '1 s:.*:\${color3}&\${color6}:' \ | |
-e '1 s:'"$(date +%a |cut -c 1-2)"':\${color4}&\${color5}:' \ | |
-e '0,/'"$TODAY"'/{s/'"$TODAY"'/\${color7}'"$TODAY"'\${color8}/}'} | |
# 1st -e = days of week, 2nd = current day of week, | |
# 3rd = current day of month |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment