Closed trmdi closed 7 years ago
I think Vertical-align it is now fixed in github. Could you try? To test:
git clone git@github.com:lipido/kargos.git
cd kargos
plasmapkg2 --remove org.kde.kargos
plasmapkg2 -t plasmoid --install .plasmoid
killall plasmashell; kstart5 plasmashell
Ok, it is vertically aligned. Looks much better now. About the left/right margin, after checked again, I think that space is the margin of others widget.
I have some other suggestions:
Hi, awesome review!
The Run button appears only on items which have bash
attribute. A Go button also appears on items with href
attribute. The aspect is a standard button, nothing else. I've used buttons because you can have href
and bash
in the same item, so a click over the item is ambiguous, so I've used two buttons.
The tooltip is not a tooltip of the Run button, is a tooltip of the entire plasmoid. In any case, I think that a static text like is is currently implemented or a configuration option to place just another static text is not very useful. What about this idea? Place contents taken from the command execution to create useful and dynamic tooltips. For example, creating a non BitBar standard attribute like tooltipmain
and tooltipsub
. An example code:
#!/bin/bash
echo "en" # text on the panel echo "Cool kargo plugin | tooltipmain=true" echo "This kargo plugin shows the new tooltip feature $(date) | tooltipsub=true"
3. Implemented, just committed. :-)
4. The name... I didn't know argos nor bibar, but I saw a post in the las few days and I thought that it was so awesome that I was forced to learn to program plasmoids and take it into my beloved KDE :-). The name is a tribute to those apps.
@trmdi I think the hover effect should be the one of the other plasmoids (like sys tray). The effect of share button is a bug and if I remember correctly is fixed in git.
@lipido git clone git@github.com:lipido/kargos.git
gives me error about denied permission. git clone https://github.com/lipido/kargos.git
works instead.
@lipido
@trmdi Could you please open different issues with those ideas to keep this more organized?
Ok, I did that. Please go to https://github.com/lipido/kargos/issues/2
It's like the "Vertical-align" isn't aligned to the middle, and the left/right margin is a little too far. See the screenshot below:
The .sh file: