vivien / i3blocks

The hacker-friendly status_command for Sway and i3
https://vivien.github.io/i3blocks/
GNU General Public License v3.0
2.28k stars 182 forks source link

[Feature Request] Multiple config files #453

Open waweic opened 2 years ago

waweic commented 2 years ago

Hi, I apologize if this has already been discussed or even implemented, though I have searched the issues and couldn't find any evidence of it.

I do manage my configurations centrally, but sometimes I would like to have little additions to my status line that I do not want to check into the repository - for example a little blocklet that regularly checks the amount of tickets for an event that are still available, the remaining time/price for an auction etc. etc.

Ideally, I would have my blocklets in a dedicated directory, in the usual manner, like

10-ip-address.blocklet
20-vpn-connection.blocklet
30-battery-status.blocklet
40-datetime.blocklet

etc. etc. I'd then be able to simply add 35-available-tickets.temp.blocklet, put a *.temp*line into my .gitignore and delete the blocklet later when I don't need it anymore, leaving my static configuration untouched. This might also be a solution to #266.

It's quite possible that this might conflict with other options of the configuration, I do not know them very well as I am only a basic user of i3blocks