About this snippet
Overview
Change between two color schemes with /color Switch
; Color scheme toggle script
; Usage: /color switch
alias color {
if ($1 == switch) {
if (%colorscheme == "Sh33p Dark") {
color -s "Sh33p Light"
set %colorscheme "Name of the color scheme"
echo $color(notify) -a * Farbschema aktiviert "Name of the color scheme"
}
else {
color -s "Sh33p Dark"
set %colorscheme "Name of the color scheme"
echo $color(notify) -a * Farbschema aktiviert Name "of the color scheme"
}
}
}