small corrections
parent
01e749bd7b
commit
6cf7a294af
|
@ -307,10 +307,11 @@ out+=("^sep(<i>$COLOR_SCHEME</i>)")
|
|||
ob_file=$HOME/.config/openbox/rc.xml
|
||||
[[ -f $ob_file ]] && wm_theme=$(awk '/<theme>/ {while (getline n) {if (match(n, /<name>/)){l=n; exit}}} END {split(l, a, "[<>]"); print a[3]}' "$ob_file")
|
||||
|
||||
out+=("$CHOOSE,^checkout(motywy)")
|
||||
|
||||
if [ $jgmenu_theme != obtheme ]; then #INNY NIŻ OB THEME
|
||||
. $HOME/.config/mabox/jgobthemes/${jgmenu_theme}.colorrc
|
||||
out+=("$EDIT_CURRENT: (<i>$jgmenu_theme</i>),geany $HOME/.config/mabox/jgobthemes/$jgmenu_theme.colorrc,geany")
|
||||
out+=("$CHOOSE [<b>$jgmenu_theme</b>],^checkout(motywy)")
|
||||
out+=("$EDIT_CURRENT: (<b>$jgmenu_theme</b>),geany $HOME/.config/mabox/jgobthemes/$jgmenu_theme.colorrc,geany")
|
||||
out+=("<s>$FOLLOW_OB</s>,mb-setvar jgmenu_theme=obtheme;$me
|
||||
^sep()")
|
||||
out+=("$GRADIENT [ <b>${menu_gradient_pos:-none}</b> ],^checkout(gradient)")
|
||||
|
@ -320,8 +321,9 @@ out2+=("^tag(motywy)")
|
|||
else
|
||||
|
||||
. $HOME/.config/mabox/jgobthemes/${wm_theme// /_}.colorrc
|
||||
out+=("#${menu_gradient_pos}\n")
|
||||
out+=("$EDIT_CURRENT: (<i>${wm_theme// /_}</i>),geany $HOME/.config/mabox/jgobthemes/${wm_theme// /_}.colorrc,geany")
|
||||
#out+=("#${menu_gradient_pos}\n")
|
||||
out+=("$CHOOSE [<b>${wm_theme// /_}</b>],^checkout(motywy)")
|
||||
out+=("$EDIT_CURRENT: (<b>${wm_theme// /_}</b>),geany $HOME/.config/mabox/jgobthemes/${wm_theme// /_}.colorrc,geany")
|
||||
out+=("$FOLLOW_OB,mb-setvar jgmenu_theme=obtheme;$me
|
||||
^sep()")
|
||||
out+=("$GRADIENT [ <b>${menu_gradient_pos:-none}</b> ],^checkout(gradient)")
|
||||
|
|
Loading…
Reference in New Issue