awesome/autostart.sh

7 lines
194 B
Bash
Raw Normal View History

2022-06-14 09:22:03 +02:00
if [ -d "$HOME/.config/autostart" ]; then
for file in $HOME/.config/autostart/*; do
command=$(cat $file | grep '^Exec=' | head -n 1 | cut -d '=' -f 2-)
$command&
done
fi