I am having this script to turn on some programs at startup
#!/usr/bin/bash
#yakuake
# programs
function startProgs() {
arr=("$@")
for value in "${arr[@]}"
do
#run without output
$value > /dev/null 2>&1 &
done
}
progArr=(
"yakuake"
"ibus-daemon -drx"
"warp-taskbar"
)
startProgs "${progArr[@]}"
And script is set up in setting here
While the script did turn on these programs at startup, they only last for seconds before getting turned off. Note that if i run the script normally from terminal, they worked just fine.
What should I do to prevent them from being off like so?
Thank you in advance
===
- Desktop KDE Plasma