Fix autostarting desktop apps with spaces

This commit is contained in:
ItsDrike 2021-08-24 15:40:24 +02:00
parent 09bf6478dc
commit 742f8f6382
No known key found for this signature in database
GPG key ID: B5F6B41F708C3ADD

View file

@ -3,5 +3,4 @@
# Automatically start the applications in $HOME/.config/autostart
AUTOSTART_DIR="${XDG_CONFIG_HOME:-$HOME/.config}/autostart"
find $AUTOSTART_DIR -name '*.desktop' -exec ~/.local/bin/scripts/deskopen {} +
find "$AUTOSTART_DIR" -name '*.desktop' -exec ~/.local/bin/scripts/deskopen "{}" \;