Browsing royniang/swmyfdt at commit HEAD: /rth

view raw
#!/bin/rc

themes=$home/lib/themes
rio=$themes/rio
zuke=$themes/zuke

switch($1) {
case blck
	cat $rio/blck > /dev/theme
	cat $zuke/blck > $zuke/current
case lght
	cat $rio/lght > /dev/theme
	cat $zuke/lght > $zuke/current
case otk
	cat $rio/otk > /dev/theme
	cat $zuke/otk > $zuke/current
case fmcm
	cat $rio/fmcm > /dev/theme
	cat $zuke/fmcm > $zuke/current
case *
	echo 'USAGE'
	echo '	rth [ theme ]'
	echo '	Themes availables are blck, lght, otk, fmcm.'
}