ESC goes back from file selection

This commit is contained in:
Tomas Baca 2018-09-02 03:37:50 +02:00
parent 9f6afaf24c
commit 2d08de7447

View File

@ -84,7 +84,7 @@ fi
# no action, exit # no action, exit
if [ -z "$LAYOUT_NAME" ]; then if [ -z "$LAYOUT_NAME" ]; then
exit exec "$0" "$@"
fi fi
# #} # #}
@ -342,7 +342,7 @@ fi
if [[ "$ACTION" = "DELETE LAYOUT" ]]; then if [[ "$ACTION" = "DELETE LAYOUT" ]]; then
rm "$LAYOUT_FILE" rm "$LAYOUT_FILE"
notify-send -u low -t 2000 "Layout deleted" -h string:x-canonical-private-synchronous:anything notify-send -u low -t 2000 "Layout deleted" -h string:x-canonical-private-synchronous:anything
exec ./"$0" "$@" exec "$0" "$@"
fi fi
# #} # #}