shithub: 9utils

ref: 7217e737dd503a2687d49950a3714f15e71b2e24
dir: /util/theme/

View raw version
#!/bin/rc

if(~ $#* 0){
    echo 'Usage: theme [ls|set theme]'
}

comm=$1

switch($comm){

case 'ls'
    lc $home/lib/themes/rio/
case 'set'
    theme=$2

    cat $home/lib/themes/rio/$theme > /dev/theme
    grep softscreen /dev/vgactl >> /dev/vgactl
}