cavactl upd
This commit is contained in:
@@ -26,7 +26,7 @@ foregroundcolor(){
|
||||
foreground() {
|
||||
sd ".*foreground .*" "foreground = '${1}'" ${CFGFILE}
|
||||
sd ".*gradient .*" "gradient = 0" ${CFGFILE}
|
||||
reload_colors
|
||||
reload_config
|
||||
}
|
||||
gradientcolors() {
|
||||
n=1
|
||||
@@ -46,7 +46,7 @@ for i in $(pastel gradient -n 3 ${1} ${2}|pastel format hex)
|
||||
|
||||
sd ".*gradient .*" "gradient = 1" ${CFGFILE}
|
||||
sd ".*gradient_count .*" "gradient_count = 3" ${CFGFILE}
|
||||
reload_colors
|
||||
reload_config
|
||||
}
|
||||
grad_from() {
|
||||
read GR_TO <<< "$(grep '.*gradient_color_3 ' ${CFGFILE} | cut -d"'" -f2)"
|
||||
|
||||
Reference in New Issue
Block a user