7 lines
194 B
Bash
7 lines
194 B
Bash
|
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
|