Users browsing this thread: 1 Guest(s)
neeasade
Grey Hair Nixers
This started as a reply in the other thread [1] but I quickly realized it was getting link-dense, so I copied it over here. This is a share of the scripts that drive my i3blocks -> lemonbar experience.

Here's what my pipeline looks like[2] (form json dumps into plaintext) and my current i3blocks config[3]. It might look a little weird because it is generated. All of the values in that config end up as environment variables for panel sections (which I call "lemons"). And here's a link to the "tags" lemon [4], using a lemonbar helper[5] which gets passed to season[6] to style the separate blocks (this means the lemons work as standalone scripts as well as panel blocks).

The result of all these shenanigans is I can make fun panel-global styling decisions and see things quickly.

edit: to elaborate on the role of i3blocks: it gives me separate update timers for my panel sections, the ability to poll, and the ability to update only one block in response to a signal. Also I forgot to link it[7]

[1] https://nixers.net/Thread-How-To-Refresh...o-a-hotkey
[2] https://github.com/neeasade/dotfiles/blo...monade#L30
[3] https://0x0.st/i7gU.txt
[4] https://github.com/neeasade/dotfiles/blo.../tags#L118
[5] https://github.com/neeasade/dotfiles/blo...ools/bs#L4
[6] https://github.com/neeasade/dotfiles/blo...season#L61
[7] https://github.com/vivien/i3blocks
◈◈◈◈◈◈◈◈◈◈◈◈◈◈
https://neeasade.net
jkl
Long time nixers
Back when I used dwm, I added my battery and WiFi status to my status bar.
If anyone cares:
https://code.rosaelefanten.org/dotfiles/...p&name=dwm

--
<mort> choosing a terrible license just to be spiteful towards others is possibly the most tux0r thing I've ever seen
pfr
Nixers
(03-12-2020, 11:54 AM)neeasade Wrote: my i3blocks -> lemonbar experience.

Excellent, thanks for sharing! Got a screenshot of the finished product?
EDIT: found some on your website. Looks good!
_____________________________________________________________________________________________
“Maybe you have some bird ideas... Maybe that's the best you can do.” - Terry A. Davis (R.I.P Terry & Percival)
neeasade
Grey Hair Nixers
pfr
Nixers
Man, what happened to you between 2017-2018.. you went from dark to light color schemes. They look lovely, but my eyes could not handle it o_O
_____________________________________________________________________________________________
“Maybe you have some bird ideas... Maybe that's the best you can do.” - Terry A. Davis (R.I.P Terry & Percival)
neeasade
Grey Hair Nixers
:D I guess at some point the switch just flipped.

Actually, I think that's when I started trying to make my own schemes more, and I found it easier to reason about light colorschemes at the time.
pfr
Nixers
(04-12-2020, 12:30 PM)neeasade Wrote: I guess at some point the switch just flipped.

The light switch ? >_<
_____________________________________________________________________________________________
“Maybe you have some bird ideas... Maybe that's the best you can do.” - Terry A. Davis (R.I.P Terry & Percival)