fix session for tint2
parent
f82ef19914
commit
6b7ab32ac8
|
@ -40,13 +40,17 @@ testSessionfile(){
|
|||
if test -z $line &>/dev/null;then
|
||||
continue
|
||||
else
|
||||
tint2 -c "$line" &
|
||||
if test -e "$HOME/$line";then
|
||||
tint2 -c "$HOME/$line" &
|
||||
sleep 1s
|
||||
else
|
||||
tint2 -c "$line" &
|
||||
fi
|
||||
fi
|
||||
done < "$1"
|
||||
else
|
||||
echo -e "Created sessionfile \"$1\"\nRunning default tint2rc" 2>&1
|
||||
echo "/.config/tint2/tint2rc" > "$SESSIONFILE"
|
||||
echo "$HOME/.config/tint2/tint2rc" > "$SESSIONFILE"
|
||||
killTints
|
||||
tint2 -c "$TINT2PATH/tint2rc" &>/dev/null
|
||||
fi
|
||||
|
|
Loading…
Reference in New Issue