My panel scripts - Desktop Customization & Workflow
Users browsing this thread: 4 Guest(s)
|
|||
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 |
|||
Messages In This Thread |
My panel scripts - by neeasade - 03-12-2020, 11:54 AM
RE: My panel scripts - by jkl - 03-12-2020, 12:14 PM
RE: My panel scripts - by pfr - 04-12-2020, 01:48 AM
RE: My panel scripts - by neeasade - 04-12-2020, 01:56 AM
RE: My panel scripts - by pfr - 04-12-2020, 02:03 AM
RE: My panel scripts - by neeasade - 04-12-2020, 12:30 PM
RE: My panel scripts - by pfr - 06-12-2020, 08:03 PM
|