diff --git a/usr/bin/jgdeskmngr b/usr/bin/jgdeskmngr
index 4b276c7..69d576e 100755
--- a/usr/bin/jgdeskmngr
+++ b/usr/bin/jgdeskmngr
@@ -62,20 +62,20 @@ i="0"
while IFS= read -r line
do
name=$(basename $line .desk)
-out+=(" ${name//_/ },^checkout(sess${i})")
+out+=(" ${name//_/ },^checkout(sess${i})")
out2+=("^tag(sess${i})")
out2+=("^sep($RESTORE_TO)")
while IFS= read -r linia || [ -n "$linia" ];
do read -r ID dname< <(echo $linia)
dname=$(wmctrl -d | grep ^${ID} | cut -d' ' -f13-)
- out2+=("\"\"\" ${dname/&/&}\"\"\",deskmngr -r $name.desk $ID")
+ out2+=("\"\"\" ${dname/&/&}\"\"\",deskmngr -r $name.desk $ID")
done < <(wmctrl -d|awk '{print $1}')
out2+=("^sep()" " $EDIT ${name//_/ },geany $SESSIONDIR$name.desk")
out2+=("^sep()" " $DELETE ${name//_/ },rm -f $SESSIONDIR$name.desk;$me")
((i=i+1))
done < <(deskmngr -l)
-out+=("^sep()" " $OPEN_CNFDIR,pcmanfm ~/.config/deskmngr/")
+out+=("^sep()" " $OPEN_CNFDIR,pcmanfm ~/.config/deskmngr/")
out+=("^sep($ADD)")
out+=(" $NEW,deskmngr -s")
diff --git a/usr/bin/jgdesktops b/usr/bin/jgdesktops
index 2e11aff..c394258 100755
--- a/usr/bin/jgdesktops
+++ b/usr/bin/jgdesktops
@@ -61,7 +61,7 @@ if [[ "$ID" = "$currdesk" ]]; then
out+=("^sep(${dname/&/&} ($ACTIVE))")
else
-out+=("^sep(${dname/&/&})" " $GOTO,wmctrl -s $ID")
+out+=("^sep(${dname/&/&})" " $GOTO,wmctrl -s $ID")
fi
while IFS= read -r line
do
@@ -82,7 +82,7 @@ if [ $(wmctrl -l | awk $2 '!/-1/ {print $2}' | uniq |wc -l) -gt 0 ];then
for i in $(wmctrl -l | awk $2 '!/-1/ {print $2}' |sort| uniq)
do
dname=$(wmctrl -d | grep ^${i} | cut -d' ' -f13-)
- out2+=(" $DESKTOP ${dname/&/&},killwindows $i")
+ out2+=(" $DESKTOP ${dname/&/&},killwindows $i")
done
out2+=("^sep()" "$ALL_DESK,killwindows all")
fi
diff --git a/usr/bin/mbhelper b/usr/bin/mbhelper
index 2b936e1..07955f6 100755
--- a/usr/bin/mbhelper
+++ b/usr/bin/mbhelper
@@ -25,7 +25,7 @@ CSVFILE="/usr/share/mabox/lang/${LNGDIR}/.config/mabox/mbhelper.csv"
### RUN
-if [ $1 == "-s" ]; then
+if [[ $1 = "-s" ]]; then
. /usr/bin/pipemenu-standalone.cfg
. $HOME/.config/mabox/mabox.conf
MENU_PADDING_TOP=$((jgtools_padding+24))