fix restore main menu to default
parent
a391e99c32
commit
7149da49fb
|
@ -0,0 +1,15 @@
|
|||
#!/bin/bash
|
||||
#
|
||||
# Restore default Main menu
|
||||
|
||||
case $LANG in
|
||||
pl*)
|
||||
rsync -a /usr/share/mabox/lang/pl/.config/jgmenu/ $HOME/.config/jgmenu/
|
||||
;;
|
||||
es*)
|
||||
rsync -a /usr/share/mabox/lang/es/.config/jgmenu/ $HOME/.config/jgmenu/
|
||||
;;
|
||||
*)
|
||||
rsync -a /usr/share/mabox/lang/en/.config/jgmenu/ $HOME/.config/jgmenu/
|
||||
;;
|
||||
esac
|
2
bin/mcc
2
bin/mcc
|
@ -271,7 +271,7 @@ yad --plug=$KEY --tabnum=7 --borders=10 \
|
|||
--field="$M_CUSTOMIZE places-prepend.csv:FBTN" "geany $HOME/.config/mabox/places-prepend.csv" \
|
||||
--field="$M_LEFT_DESC:LBL" "" \
|
||||
--field="$M_CUSTOMIZE places-append.csv:FBTN" "geany $HOME/.config/mabox/places-append.csv" \
|
||||
--field="$M_RESTORE_MAIN:FBTN" "cp /etc/skel/.config/jgmenu/prepend.csv $HOME/.config/jgmenu/prepend.csv" \
|
||||
--field="$M_RESTORE_MAIN:FBTN" "mb-restore-menu" \
|
||||
--field="$M_RIGHT:LBL" "" \
|
||||
--field="$M_CUSTOMIZE right-prepend.csv:FBTN" "geany $HOME/.config/mabox/right-prepend.csv" \
|
||||
--field="$M_RIGHT_DESC:LBL" "" \
|
||||
|
|
Loading…
Reference in New Issue