This commit is contained in:
Daniel Napora 2024-12-27 01:31:19 +01:00
parent ca19fb7e34
commit dcee065c37
2 changed files with 2 additions and 2 deletions

View File

@ -264,7 +264,7 @@ getvalues
# Current colors # Current colors
currcolors="${MBG}|${MBGA}|${MBGT}|${MBGTA}|${MBORDER}|${MBORDERA}|${TBG}|${TBGA}|${TFG}|${TFGA}|${TBORDER}|${TBORDERA}|${NORMBG}|${NORMBGA}|${NFG}|${NFGA}|${SBG}|${SBGA}|${SFG}|${SFGA}|${SBORDER}|${SBORDERA}|${SEPFG}|${SEPFGA}|${jgtools_border}|${jgtools_radius}|${jgtools_padding}|${submenu_spacing}|${IBORDER}|${IRADIUS}|${arrow_string}|${arrow_string_left}|${SEPHALIGN}|${GRADIENT}|" currcolors="${MBG}|${MBGA}|${MBGT}|${MBGTA}|${MBORDER}|${MBORDERA}|${TBG}|${TBGA}|${TFG}|${TFGA}|${TBORDER}|${TBORDERA}|${NORMBG}|${NORMBGA}|${NFG}|${NFGA}|${SBG}|${SBGA}|${SFG}|${SFGA}|${SBORDER}|${SBORDERA}|${SEPFG}|${SEPFGA}|${jgtools_border}|${jgtools_radius}|${jgtools_padding}|${submenu_spacing}|${IBORDER}|${IRADIUS}|${arrow_string}|${arrow_string_left}|${SEPHALIGN}|${GRADIENT}|"
#echo "${currcolors}" > ~/.config/mabox/.menu_colors #echo "${currcolors}" > ~/.config/mabox/.menu_colors
notify-send.sh "Currcolors" "${currcolors}" ###notify-send.sh "Currcolors" "${currcolors}"
if [ ! -f "$USERSCHEMES" ]; then if [ ! -f "$USERSCHEMES" ]; then
mkdir -p "$HOME/.config/colorizer/menus/" mkdir -p "$HOME/.config/colorizer/menus/"
echo " MBG |opa| MBGT |opa|MBORDER|opa| TBG |opa| TFG |opa|TBORDER|opa|NORMBG |opa| NFG |opa| SBG |opa| SFG |opa|SBORDER|opa| SEPFG |opa|B|R|P|SS|IB|IR|A|AL|SEPHAL|GRADIENT|scheme_name" > "$USERSCHEMES" echo " MBG |opa| MBGT |opa|MBORDER|opa| TBG |opa| TFG |opa|TBORDER|opa|NORMBG |opa| NFG |opa| SBG |opa| SFG |opa|SBORDER|opa| SEPFG |opa|B|R|P|SS|IB|IR|A|AL|SEPHAL|GRADIENT|scheme_name" > "$USERSCHEMES"

View File

@ -467,7 +467,7 @@ themefile=$(find /usr/share/mb-jgtools/jgobthemes/ -type f -name *.colorrc |shuf
cat ${themefile} > ~/.config/mabox/jgobthemes/MBcolors.colorrc cat ${themefile} > ~/.config/mabox/jgobthemes/MBcolors.colorrc
} }
applyoldscheme(){ applyoldscheme(){
notify-send.sh "th" "${1}" #notify-send.sh "th" "${1}"
mb-setvar jgmenu_theme=MBcolors mb-setvar jgmenu_theme=MBcolors
cat ${1} > ~/.config/mabox/jgobthemes/MBcolors.colorrc cat ${1} > ~/.config/mabox/jgobthemes/MBcolors.colorrc
} }