
Glad you were able to resolve the issue
Code: Select all
# if kdeconnect is installed, start the kdeconnect-indicator
if [ -x /usr/bin/kdeconnect-indicator ]; then
sleep 5s && bash -c 'kdeconnect-indicator' &
fi
Nice, I like having this in my startup script, and I used this modified bash if statement and it did work to automatically start kdeconnect-indicator after I logged into Fluxbox. This is just a little bit cleaner to have the code in the "startup" instead of calling a separate script. Thanks for the bash scripting insight.ceeslans wrote: Thu Aug 11, 2022 5:48 am @mowest : after reading up on some old bl-forum posts, found that you can write the 'sleep' command directly in ~/.fluxbox/startup:using the double ampersand instead of a single semicolon.Code: Select all
# if kdeconnect is installed, start the kdeconnect-indicator if [ -x /usr/bin/kdeconnect-indicator ]; then sleep 5s && bash -c 'kdeconnect-indicator' & fi
Makes it all a bit easier, huh?