conky-session fix
parent
947bf93c92
commit
2d6c219702
|
@ -61,7 +61,7 @@ findArgs(){ # get command args (switches & sessionfile paths)
|
||||||
i=$(($i+1))
|
i=$(($i+1))
|
||||||
fi
|
fi
|
||||||
done
|
done
|
||||||
# check if sessionfiles were passed to bl-conky-session
|
# check if sessionfiles were passed to mb-conky-session
|
||||||
if (( ${#rawArr[@]} != 0 )); then
|
if (( ${#rawArr[@]} != 0 )); then
|
||||||
# remove duplicate args
|
# remove duplicate args
|
||||||
sessArr=(`printf "%s\n" "${rawArr[@]}" | sort -u`)
|
sessArr=(`printf "%s\n" "${rawArr[@]}" | sort -u`)
|
||||||
|
@ -71,6 +71,7 @@ findArgs(){ # get command args (switches & sessionfile paths)
|
||||||
for SESSION in "${sessArr[@]}";do # run the conkys in the sessionfiles
|
for SESSION in "${sessArr[@]}";do # run the conkys in the sessionfiles
|
||||||
source "$SESSION"
|
source "$SESSION"
|
||||||
done
|
done
|
||||||
|
cat "$1" > "$SESSIONFILE"
|
||||||
else # --autostart used, but no sessionfiles passed to bl-conkyzen
|
else # --autostart used, but no sessionfiles passed to bl-conkyzen
|
||||||
if [[ -f $SESSIONFILE ]] && (( $NOKILL == 1 )); then
|
if [[ -f $SESSIONFILE ]] && (( $NOKILL == 1 )); then
|
||||||
source "$SESSIONFILE" # use conky-sessionfile
|
source "$SESSIONFILE" # use conky-sessionfile
|
||||||
|
|
|
@ -1,15 +0,0 @@
|
||||||
#!/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
|
|
Loading…
Reference in New Issue