You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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
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
The text was updated successfully, but these errors were encountered:
Interpret the "include" property as a directive to parse the
configuration file described as the value. This mechanism is similar
in behavior to the preprocessor #include directive.
For this to work, the config parsing code changes its working directory
to the directory containing the configuration file being included,
and stores its path in a new "workdir" property, whenever a "command"
property is being read. This allows the block code to change directory
when a command is spawned, and thus allow command scripts relative
to their included configuration fragment to work as expected.
Note that include loop is detected, in which case an error is thrown.
If the include path starts with "~/", tilde is replaced with the
value of the HOME environment variable, if defined.
Below is an example of config file using the "include" directive:
# ~/.config/i3blocks/config
separator=true
separator_block_width=15
include=contrib/greetings/config
# ~/.config/i3blocks/contrib/greetings/config
[greetings]
command=echo "Hello, $USER!"
interval=once
Refs #453
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
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
The text was updated successfully, but these errors were encountered: