obtheme2jgmenu upd

This commit is contained in:
Daniel Napora 2022-04-28 02:09:28 +02:00
parent 6004d23e41
commit dca85ebc9d

View File

@ -7,12 +7,11 @@ ob_file=$HOME/.config/openbox/rc.xml
CONFFILE="$HOME/.config/mabox/jgobthemes/${wm_theme// /_}.colorrc"
if [ ! -f "$CONFFILE" ]; then
jgmenu_run init --apply-obtheme
grep -f $HOME/.config/mabox/jgobthemes/example.txt $HOME/.config/jgmenu/jgmenurc | sponge $HOME/.config/mabox/jgobthemes/${wm_theme// /_}.colorrc
echo "color_title_border = #ffffff 50" >> "$CONFFILE"
#cp $HOME/.config/jgmenu/jgmenurc $HOME/.config/mabox/jgobthemes/$wm_theme.colorrc
echo "menu_gradient_pos = none" >> "$CONFFILE"
sd '# ' '' "$CONFFILE"
fi