spacebar icon indicating copy to clipboard operation
spacebar copied to clipboard

More robust support for plugins/sections/blocks

Open strafe opened this issue 3 years ago • 9 comments

The new shell config options are amazing, being able to add custom output means I can finally stop using Uebersicht so thank you!

I'd love to see the ability to stack multiple commands from the left and right sides rather than just a single command for each, this has tons of benefits. Each plugin/block would provide an icon, command and update interval (on click actions would be incredible too if that's even possible).

strafe avatar Apr 01 '21 15:04 strafe

Hey @strafe 👋🏻 Glad you're liking the new features!

Yes, I'd been planning to implement what you've described here :)

I'll see what I can put together soon

cmacrae avatar Apr 01 '21 21:04 cmacrae

We should also open an issue for people to share their custom shell scripts! It is difficult for some people with less shell scripting experience (me included) to create their own custom plugin.

itsdawei avatar Apr 06 '21 18:04 itsdawei

Yeah! I've been thinking I'll enable GitHub Discussions so we have a forum :)
I'll set it up once I'm done wrapping up the feature I'm working on

cmacrae avatar Apr 06 '21 20:04 cmacrae

@itsdawei I created a discussion here :) https://github.com/cmacrae/spacebar/discussions/70

cmacrae avatar Apr 09 '21 17:04 cmacrae

A sneak peek of this in the rewrite:
image

cmacrae avatar Apr 27 '21 09:04 cmacrae

A sneak peek of this in the rewrite: image

Great job on this!

Possibly out of the scope of this issue, but is it possible in theory with whatever UI library is used to add separators between elements? It's easier in Ubersicht because you can just style them how you want but just outputting them with the shell command will probably leave some pretty unsightly gaps at the top and bottom. CleanShot 2021-04-27 at 15 47 34@2x

strafe avatar Apr 27 '21 14:04 strafe

Thanks @strafe !
Yeah, sure 👍 Separators should be easy enough :)
Forgive the silly question, but where are the separators in the image you've shared? Is it just the blank space that you're referring to?

cmacrae avatar Apr 27 '21 15:04 cmacrae

No problem, circled them and zoomed in. CleanShot 2021-04-27 at 16 52 44@2x

strafe avatar Apr 27 '21 15:04 strafe

Ah! I should've clicked to open the image 😅 No problem, I can definitely implement that 👍

cmacrae avatar Apr 27 '21 16:04 cmacrae