home‎ > ‎notes‎ > ‎

wmii color

THEMES

Various color schemes to try out.

default

WMII_FOCUSCOLORS=('#ffffff' '#153F1F' '#2A7F3F')
WMII_BACKGROUND='#333333'
WMII_NORMCOLORS=('#222222' '#5FBF77' '#2A7F3F')

gray and green

WMII_FOCUSCOLORS=('#A0FF00' '#686363' '#8c8c8c')
WMII_BACKGROUND='#333333'
WMII_NORMCOLORS=('#e0e0e0' '#444444' '#666666')

light blue and white

WMII_FOCUSCOLORS=('#000000' '#bbc5ff' '#000000')
WMII_BACKGROUND='#ddeedd'
WMII_NORMCOLORS=('#000000' '#f8f8f4' '#f8f8f4')

blue and smoke

WMII_FOCUSCOLORS=('#ffffff' '#285577' '#4C7899')
WMII_BACKGROUND='#333333'
WMII_NORMCOLORS=('#888888' '#222222' '#333333')

sleepless night

WMII_FOCUSCOLORS=('#ff7700' '#11111' '#ff7700')
WMII_BACKGROUND='#333333'
WMII_NORMCOLORS=('#000000' '#ffffff' '#666666')
WMII_FONT='-*-terminus-*-*-*-*-12-*-*-*-*-*-*-*'

the green

WMII_FOCUSCOLORS=('#66FF00' '#101010' '#66FF00')
WMII_BACKGROUND='#888888'
WMII_NORMCOLORS=('#EEEEEE' '#000000' '#111111')
WMII_FONT='-artwiz-snap-normal-*-*-*-*-*-*-*-*-*-*-*'

the orange

WMII_FOCUSCOLORS=('#000000' '#CD6D37' '#000000')
WMII_BACKGROUND='#888888'
WMII_NORMCOLORS=('#000000' '#848484' '#000000')
WMII_FONT='-b&h-lucidatypewriter-medium-r-*-*-*-100-*-*-*-*-*-*'

crystal shining style

WMII_FOCUSCOLORS=('#fefefe' '#307080' '#5090a0')
WMII_BACKGROUND='#333333'
WMII_NORMCOLORS=('#cccccc' '#004050' '#002030')
WMII_FONT='-*-fixed-medium-r-normal-*-13-*-*-*-*-*-*-*'

kawai anime

WMII_FOCUSCOLORS=('#FFFFFF' '#FF11FF' '#000000')
WMII_BACKGROUND='#FF88FF'
WMII_NORMCOLORS=('#000000' '#FF55FF' '#000000')
WMII_FONT='-*-fixed-medium-r-normal-*-13-*-*-*-*-*-*-*'

anthrazit style

WMII_FOCUSCOLORS=('#eeeeee' '#506070' '#708090')
WMII_BACKGROUND='#333333'
WMII_NORMCOLORS=('#bbbbbb' '#222222' '#000000')
WMII_FONT='-artwiz-snap-*-*-*-*-*-*-*-*-*-*-*-*'

acme style

WMII_FOCUSCOLORS=('#000000' '#eaffff' '#8888cc')
WMII_BACKGROUND='#757575'
WMII_NORMCOLORS=('#000000' '#ffffea' '#bdb76b')
WMII_FONT='-artwiz-glispbold-*-*-*-*-*-*-*-*-*-*-*-*'

blue style

WMII_FOCUSCOLORS=('#000000' '#9191FF' '#444444')
WMII_BACKGROUND='#333333'
WMII_NORMCOLORS=('#9191FF' '#000000' '#444444')
WMII_FONT='-artwiz-glispbold-*-*-*-*-*-*-*-*-*-*-*-*'

bluedark style

WMII_FOCUSCOLORS=('#EEEEEE' '#005577' '#006699')
WMII_BACKGROUND='#111111'
WMII_NORMCOLORS=('#BBBBBB' '#222222' '#000000')
WMII_FONT='-artwiz-glispbold-*-*-*-*-*-*-*-*-*-*-*-*'

gloom

WMII_FOCUSCOLORS=('#ffffff' '#282828' '#cccccc')
WMII_BACKGROUND='#333333'
WMII_NORMCOLORS=('#e0e0e0' '#0a0a0a' '#606060')

Xterm style

WMII_FOCUSCOLORS=('#54FF54' '#000000' '#73A5FF')
WMII_BACKGROUND='#000000'
WMII_NORMCOLORS=('#A8A8A8' '#000000' '#A07040')
WMII_FONT='*-fixed-medium-r-*-*-13-*-*-*-*-*-*-*'

This script will generate the above formatting given wmii color/font variables on its standard input:

#/usr/local/plan9/bin/rc
. /dev/fd/0
* = ($WMII_FOCUSCOLORS $WMII_NORMCOLORS)
ff = $1; fb = $2; fr = $3
nf = $4; nb = $5; nr = $6
bg = $WMII_BACKGROUND

cat<<!
<div style="color: $ff; background: $bg; border-color: $fr;">
<div style="color: $ff; background: $fb; border: 0px; border-bottom: 1px solid $fr; margin: 0;">
WMII_FOCUSCOLORS=('$ff' '$fb' '$fr')
</div>
<div style="margin: 0;">
WMII_BACKGROUND='$bg'
</div>
</div>
<div style="color: $nf; background: $nb; border-color: $nr; margin-top: .5em;">
WMII_NORMCOLORS=('$nf' '$nb' '$nr')
</div>
!
font=`{echo $WMII_FONT | 9 sed 's/^-[^\-]+-([^\-]+).*/\1/g'}
if(test $"WMII_FONT) {
cat<<!
}
<div style="font-family: $font;">
WMII_FONT='$WMII_FONT'
</div>
!
Comments