From 742f8f6382069d43f39541058fb775baf2d15e6e Mon Sep 17 00:00:00 2001 From: ItsDrike Date: Tue, 24 Aug 2021 15:40:24 +0200 Subject: [PATCH] Fix autostarting desktop apps with spaces --- home/.config/xmonad/scripts/autostart.sh | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/home/.config/xmonad/scripts/autostart.sh b/home/.config/xmonad/scripts/autostart.sh index e3c515b..6849535 100755 --- a/home/.config/xmonad/scripts/autostart.sh +++ b/home/.config/xmonad/scripts/autostart.sh @@ -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 "{}" \;