From 4988a0b97067ae91578f46fe0b3b4cb881ef82c6 Mon Sep 17 00:00:00 2001 From: ItsDrike Date: Thu, 22 Jul 2021 22:21:27 +0200 Subject: [PATCH] Add autostart script from ~/.config/autostart --- home/.config/xmonad/scripts/autostart.sh | 7 +++++++ 1 file changed, 7 insertions(+) create mode 100755 home/.config/xmonad/scripts/autostart.sh diff --git a/home/.config/xmonad/scripts/autostart.sh b/home/.config/xmonad/scripts/autostart.sh new file mode 100755 index 0000000..e3c515b --- /dev/null +++ b/home/.config/xmonad/scripts/autostart.sh @@ -0,0 +1,7 @@ +#!/bin/sh + +# 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 {} +