lipido / kargos

KDE Plasma port of GNOME Argos and OSX BitBar
GNU General Public License v3.0
126 stars 13 forks source link

A question about `bash` attribute. #7

Closed trmdi closed 7 years ago

trmdi commented 7 years ago

How can I pass kdialog --msgbox Test to bash attribute? Tried the below echo but nothing works:

echo "This bash doesn't run | bash='kdialog --msgbox Test'"

cmd="kdialog --msgbox Test"
echo "This bash doesn't run too | bash=$cmd"

I could create another .sh file to place into the bash attribute. But could you improve the parser of kargos in this case?

lipido commented 7 years ago

Yes, I will fix it shortly. By now you have to place it in an external script.

lipido commented 7 years ago

Done in 0800e22ffe01afa3676b82a39a00ee1ecf040adf

Use single quotes, as in your example.

trmdi commented 7 years ago

Well done bro. 👍