upd
parent
e956f0d9b6
commit
d7bd255d87
|
@ -1,19 +1,15 @@
|
||||||
#!/bin/bash
|
#!/bin/bash
|
||||||
#
|
#
|
||||||
#
|
# Copy i18n files to ~ if available
|
||||||
|
# Run only once invoked from openbox autostart
|
||||||
|
LNG=${LANG:0:2}
|
||||||
FILE="$HOME/.config/mabox/.lang"
|
FILE="$HOME/.config/mabox/.lang"
|
||||||
if [ ! -f "$FILE" ]; then
|
if [ ! -f "$FILE" ]; then
|
||||||
case $LANG in
|
if [ -d "/usr/share/mabox/lang/$LNG" ]; then
|
||||||
pl*)
|
rsync -a /usr/share/mabox/lang/$LNG/ $HOME/
|
||||||
rsync -a /usr/share/mabox/lang/pl/ $HOME/
|
else
|
||||||
;;
|
|
||||||
es*)
|
|
||||||
rsync -a /usr/share/mabox/lang/es/ $HOME/
|
|
||||||
;;
|
|
||||||
*)
|
|
||||||
rsync -a /usr/share/mabox/lang/en/ $HOME/
|
rsync -a /usr/share/mabox/lang/en/ $HOME/
|
||||||
;;
|
fi
|
||||||
esac
|
|
||||||
touch $HOME/.config/mabox/.lang
|
touch $HOME/.config/mabox/.lang
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
|
|
@ -4,7 +4,7 @@
|
||||||
#
|
#
|
||||||
# Written for BunsenLabs by damo <damo@bunsenlabs.org> October 2015
|
# Written for BunsenLabs by damo <damo@bunsenlabs.org> October 2015
|
||||||
#
|
#
|
||||||
# Ported for Manjaro by napcok <napcok@gmail.com> March 2016
|
# Ported for Manjaro/Mabox by napcok <napcok@gmail.com> March 2016
|
||||||
#
|
#
|
||||||
# Save options are for Conky(s)
|
# Save options are for Conky(s)
|
||||||
# Tint2(s)
|
# Tint2(s)
|
||||||
|
@ -12,9 +12,6 @@
|
||||||
# GTK theme
|
# GTK theme
|
||||||
# Background (uses Nitrogen or feh, depending which
|
# Background (uses Nitrogen or feh, depending which
|
||||||
# has the newer saved bg config file)
|
# has the newer saved bg config file)
|
||||||
# Alt Menu (dmenu)
|
|
||||||
# Lightdm login gtk greeter
|
|
||||||
# X configs (.bashrc, .Xresources)
|
|
||||||
# Terminator config
|
# Terminator config
|
||||||
#
|
#
|
||||||
# Paths are assumed to be BunsenLabs defaults
|
# Paths are assumed to be BunsenLabs defaults
|
||||||
|
@ -481,10 +478,7 @@ function copyConky(){
|
||||||
if [[ $(pidof conky) ]];then
|
if [[ $(pidof conky) ]];then
|
||||||
mkdir -p "$CONFIGDIR/conky"
|
mkdir -p "$CONFIGDIR/conky"
|
||||||
rm "$CONFIGDIR/conky/*conkyrc"
|
rm "$CONFIGDIR/conky/*conkyrc"
|
||||||
pgrep -a conky | while read a b c conkyfile;do
|
cp ~/.config/conky/*conkyrc "$CONFIGDIR/conky/"
|
||||||
cp $conkyfile "$CONFIGDIR/conky/"
|
|
||||||
done
|
|
||||||
|
|
||||||
fi
|
fi
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue