Ecosyste.ms: OpenCollective

An open API service for software projects hosted on Open Collective.

github.com/regolith-linux/i3xrocks

A fork of i3blocks that can read Xresources.
https://github.com/regolith-linux/i3xrocks

Do not print system file error if user files do not exist. Addresses https://github.com/regolith-linux/regolith-i3xrocks-config/issues/114.

0c39c518e5e0909268865d5b0d77c1fb9bf74d22 authored almost 4 years ago by Ken Gilmer <[email protected]>
Version bump to match changelog. Cleanup.

049055d9e41725789217d2630fcd002f9b78699e authored over 4 years ago by Ken Gilmer <[email protected]>
Add gbp config file

cec061f88dc6990d413d9d7e058c981936906689 authored over 4 years ago by Ken Gilmer <[email protected]>
Merge pull request #1 from winder/will/resource-default

Check for default values when parsing xresource

0dec23d4cf197cc3cdc444c5fc1fbca805cf7a1a authored over 4 years ago by Ken Gilmer <[email protected]>
Fix possible truncated resource value.

51f6971dd34f3129280b7bf0d41f17b12c304871 authored over 4 years ago by Will Winder <[email protected]>
Free resource allocated by xcb_xrm_resource_get_string

3f49ac891b90ecdea77bae3c9821213dac9539ac authored over 4 years ago by Will Winder <[email protected]>
Minor cleanup.

f5a15115b7bc7830ae258e6ff78f8ddc4815468c authored over 4 years ago by Will Winder <[email protected]>
Add optional default resource value.

9e22f6dcaa806a4f01dc4cf06a2ac728400ed3b2 authored over 4 years ago by Will Winder <[email protected]>
Sync package and version strings.

d0d7cd0863ec809233c94f17460ec9b6dda9ee76 authored almost 5 years ago by Ken Gilmer <[email protected]>
Switch config directory loading from AND to OR.

f621128222b2b4885312bc3369af01294003cbcb authored almost 5 years ago by Ken Gilmer <[email protected]>
Update manpage.

116bebd3f1fb4075f807c3aa08abf8ad08ee89a4 authored almost 5 years ago by Ken Gilmer <[email protected]>
Add Debian packaging from speed-ricer.

4bccbe30b911959fad7c9b97fbd3faa6529fc179 authored almost 5 years ago by Ken Gilmer <[email protected]>
Add conf.d style configuration ability.

f70bf796d37cc0cd23724994290441e38b40087a authored almost 5 years ago by Ken Gilmer <[email protected]>
WIP

7185b6b2f2141f89832d092a49c4c96817b0f554 authored almost 5 years ago by Ken Gilmer <[email protected]>
Post upstream merge fixes.

5d5df094d3a4ce77aa5b3e349d1caa4ff234a1be authored about 5 years ago by Ken Gilmer <[email protected]>
Merge branch 'upstream-master'

4203a8a1be4a133b5a990b28500bd3d6b2fc5807 authored about 5 years ago by Ken Gilmer <[email protected]>
i3blocks is a feed generator for text based status bars

Provide this better description of what the program is meant to be
in the README and the man page.

3417602a2d8322bc866861297f535e1ef80b8cb0 authored over 5 years ago by Vivien Didelot <[email protected]>
i3blocks.1: remove configuration section

The man page is meant to describe the usage of the i3blocks binary,
not the syntax of the config...

1b180d25deb08884adedf3c15d2752146e2043fe authored over 5 years ago by Vivien Didelot <[email protected]>
add a minimal system-wide configuration file

In order not to have an empty bar on a fresh installation of i3blocks,
include a basic system-wi...

0a35aaea011740aab5a8ce710fdea3a9a2a4fb90 authored over 5 years ago by Vivien Didelot <[email protected]>
readme: mention systemd usage

Mention the usage of systemd-cat for development and journalctl to
read i3blocks' output.

f78e1e3a6eecef1f6e84330845c435dd1cacad29 authored over 5 years ago by Vivien Didelot <[email protected]>
readme: the project does not include scripts anymore

Mention that this repository does not include the scripts anymore,
as this may not be obvious to...

7d1cf4298d768d31d4614a149f3689e6173dbc00 authored over 5 years ago by Vivien Didelot <[email protected]>
readme: repeat interval does not support clicks

Mention in the README (and thus the website) that the repeat interval
does not support the click...

17dca3695a2ab488604f0de88ba32103be3d2612 authored over 5 years ago by Vivien Didelot <[email protected]>
Makefile.am: install the man page

782d815db657230ca3697f7c37b10ea339b4bd35 authored over 5 years ago by Vivien Didelot <[email protected]>
Makefile.am: fix SYSCONFDIR macro

After moving to an autotools based build, the SYSCONFDIR macro wasn't
defined anymore. Add it to...

e5c9497233ba6d451f829a6e712b54070b275eca authored over 5 years ago by Vivien Didelot <[email protected]>
Remove leading underscores from include guards

Include guards prefixed with underscore may not be compliant to the
C standard and may result in...

e06dcc0566d3378ff392834d8d9e470d5e4c26ab authored over 5 years ago by Tristan Matthews <[email protected]>
build: dump version to 1.5

737994c19d12d85258ff5ecb1cf0f510ecf7c245 authored over 5 years ago by Vivien Didelot <[email protected]>
bump copyright years

6292cf3024c1d41f38b87d4d158d8d68c3fb7261 authored over 5 years ago by Vivien Didelot <[email protected]>
i3blocks: add support for bash completion script

e1a4007084b1d131016762d9a61c4dd802b7111b authored over 5 years ago by Gaël PORTAY <[email protected]>
readme: fix written of -> on typo

Fix a "written of" instead of "written on" typo.

a2a57d914a3edd8896e67557e469c5a9e7c7cbb3 authored over 5 years ago by Vivien Didelot <[email protected]>
docs: rebuild documentation

Run rake to update the documentation.

4340f7b1b209ece6868516afd352c9792e37dddc authored over 5 years ago by Vivien Didelot <[email protected]>
block: remove unused variable err

The variable err is unused in functions block_send and block_setup.

e7b38e6e48cdd672a6562557511567621f0ef7f1 authored over 5 years ago by Gaël PORTAY <[email protected]>
readme: fix install-ed- typo

Fix the typo "installed" -> "install".

0843a350b89d93014d45c8d164e5afb2f8a20857 authored over 5 years ago by Carl Hicks <[email protected]>
block: define signal as an int

The signal member of the block structure is currently defined as
unsigned, while in C, signal nu...

391cba0d6dd918900a9192a0e3d2b50a4a8fbde7 authored over 5 years ago by Gaël PORTAY <[email protected]>
readme: add fedora to the list of distros

Add the link the to Fedora COPR package in the list of distros
packaging i3blocks.

ab09b7a16b69e9b31e4a08fdbecb1a068a27b4c3 authored over 5 years ago by Jorge Y. Castillo <[email protected]>
readme: add Void Linux to the list of distros

Add Void Linux to the list of distros that package i3blocks.

87d10960622f26d10187a29c70da793d9e19375c authored over 5 years ago by Sergiu Marton <[email protected]>
log: syslog friendly printing

Instead of implementing custom log level and printing formats, use
the standard syslog prefixes ...

148dd87f470ba820b2132b314241540fc4d973c1 authored over 5 years ago by Vivien Didelot <[email protected]>
block: do not pipe stderr

i3blocks currently pipes the standard error stream of the block
commands for the only purpose of...

dbc1d40623dde4647a5cc66921ab002bd40d931c authored over 5 years ago by Vivien Didelot <[email protected]>
block: report JSON write error

Return the error code from writing the JSON click data.

75d29aa9db8933065a09660c02aecb47e1f37d4d authored over 5 years ago by Vivien Didelot <[email protected]>
sched: dissolve source file

Split the sched.c file content into (mainly) bar.c, block.c and the
i3bar.c and term.h specific ...

f33211fbd787906b8b084cb12536a468bfb7813a authored over 5 years ago by Vivien Didelot <[email protected]>
Change xresource signifier to based on PR feedback.

c70f3933a1e48c66a0c704bce6b18b2152dbcf22 authored over 5 years ago by Ken Gilmer <[email protected]>
Add credit for original patch.

1e2092684c7d0fb481c6ebf005c93b1aa8a10b8e authored over 5 years ago by Ken Gilmer <[email protected]>
Fix formatting II

085362289117ac5a1ef7ce125db126cd266bd9d6 authored over 5 years ago by Ken Gilmer <[email protected]>
Fix formatting

e95065d9d8f8b4a172e73e52a82a93cfcbf403ae authored over 5 years ago by Ken Gilmer <[email protected]>
Rename project to i3xrocks. Change Xresource problems from errors to fatals.

d64bdb8901c03253df3eb878dcfefc8d8ef026d9 authored over 5 years ago by Ken Gilmer <[email protected]>
Remove debugging code.

febf02e51a63ad234c4c8cdd95856840837d1964 authored over 5 years ago by Ken Gilmer <[email protected]>
Move xresource loading to conserve loading of db when initializing configuration. Add some error handling.

d27f3799e52ebe651544dc5f6924203e97b4db65 authored over 5 years ago by Ken Gilmer <[email protected]>
Manually merge @Airblader's patch from https://github.com/vivien/i3blocks/issues/198 and add lib dependencies.

8ce03098a5ad5f1ff57f97259bd8c3b9bc4e95bf authored over 5 years ago by Ken Gilmer <[email protected]>
sched: error out on unknown child processes

This is not supposed to happened, if it does, error out and reap the
child process anyway.

56844daa490410a78e24d9f1f602a2d7e428ffd7 authored over 5 years ago by Vivien Didelot <[email protected]>
bar: turn blocks into a list

Convert the bar->blocks array into a list to simplify iterations.

ea0ad0e01f87c9ec4a0d34546208678eb436732e authored over 5 years ago by Vivien Didelot <[email protected]>
bar: add i3bar raw line reading function

Provide a new i3bar_read function mapping raw line by line output to
i3bar keys. At the same tim...

8f4407d9bdb1f770168dfdd9cd77545ac010f868 authored over 5 years ago by Vivien Didelot <[email protected]>
readme: use short option -i for hostname

Not all versions of the hostname utility provide an --ip-addresses
long option, e.g. hostname 3....

ec050e79ad8489a6f8deb37d4c20ab10729c25c3 authored almost 6 years ago by Julien Jerphanion <[email protected]>
main: add output command line option

Introduce a new -o option to force a specific output format. Currently
only the -o term is under...

3887a35317583d972be65a28cbb1728e389a4b57 authored almost 6 years ago by Vivien Didelot <[email protected]>
bar: add basic support for terminal output

This patch adds a basic support for output the bar in a terminal. The
cursor is reset before eac...

575159264f2d0cbd4fb86ac4e921b3850ddf3bc2 authored almost 6 years ago by Vivien Didelot <[email protected]>
bar: add support for i3-gaps features

Add support for the additional border_* properties introduced in the
i3-gaps fork.

Refs #360

d353d48f8043dd5b14b88fa939c015e8ada0f73c authored almost 6 years ago by Vivien Didelot <[email protected]>
bar: output only known i3bar keys

From now on only output the keys known to the i3bar protocol, otherwise
unknown keys with valid ...

26e91fd1abcc9d60de651b8b1e1e163f2f031345 authored almost 6 years ago by Vivien Didelot <[email protected]>
bar: add indexof helper

Add a i3bar_indexof helper to get the index of an i3bar key. If the
key is unknown, return 0. Th...

4b4c33e308b949227a685f9ab9eaac2d0fe47cb8 authored almost 6 years ago by Vivien Didelot <[email protected]>
docs: mention IEEE about lowercase env variables

c42bb1b0c3019211759055d3b8135af954b0a6ee authored about 6 years ago by Vivien Didelot <[email protected]>
json: unescape at parsing

Rework the JSON implementation so that the parsing code can
optionally write the unescape value ...

8d89804fa556a66a4a215fd792ddbc3333d0afc6 authored about 6 years ago by Vivien Didelot <[email protected]>
json: read with map

Replace the callback and data pointer arguments of json_read with a
map to simplify the click ha...

76cefdad2c4be488e4bc635d559a60209e163915 authored about 6 years ago by Vivien Didelot <[email protected]>
block: make config non-const

To make the compiler happy, we drop the const modifier off each
block's config declaration.

Clo...

f6817711c7327135beb910daec60f65228bdceab authored about 6 years ago by James Murphy <[email protected]>
json: skip nested array and object values

This commit also prevent from future evolution of i3bar protocol.

Closes #353

385818ca82a13074d6719ab25a49a912d2faee2b authored about 6 years ago by Gaël PORTAY <[email protected]>
json: skip object values too

This commit may prevents from errors, such as #335, in case of future
evolutions of the i3bar pr...

b4913ddfccfa20c3cb060929016862bef58fc190 authored about 6 years ago by Gaël PORTAY <[email protected]>
json: escape control charaters

When encountering control character, escape it with \uxxxx format.

Fixes #334

577510f054070a9a0a155503d39a82251c022c39 authored about 6 years ago by Gaël PORTAY <[email protected]>
sched: disable signal-driven I/O on exit

When signals SIGINT or SIGTERM is received, i3blocks ends with SIGRTMIN
or SIGIO return code ins...

44dcdaaeabe822499a3e5d3852d6d740716506a1 authored about 6 years ago by Gaël PORTAY <[email protected]>
sys: support disabling signal-driven I/O

Add support for disabling the signal-driven I/O when signal 0 is
given: using F_SETSIG with sign...

84d43dafcd1ab814ce5e6b21bb74f3873a54d134 authored about 6 years ago by Gaël PORTAY <[email protected]>
json: do not increment unescaped string after null

Valgrind complains about the invalid read below:

==19274== Invalid read of size 1
==19274== ...

49a126214a93885f1687d8335c31d6202b3f1cd9 authored about 6 years ago by Gaël PORTAY <[email protected]>
bar: fix memory leak and remove TODO

Valgrind complains about the leak below:

==18102== 4,976 (560 direct, 4,416 indirect) bytes in...

7bcb556a7e59a2b43809e25e186f7d385f280976 authored about 6 years ago by Gaël PORTAY <[email protected]>
config: fix memory leak

Valgrind complains about the leak below:

==18102== 179 (8 direct, 171 indirect) bytes in 1 blo...

f6bb90891152fd2d17651e60b8ce843fdc5ac55e authored about 6 years ago by Gaël PORTAY <[email protected]>
sys: fix SEGV on exit caused by an invalid write

i3blocks crashes with a segmentation fault when it tries to exit
gracefully.

Valgrinds complain...

88001213ed7c02a4665bc5ea0489b5361239b9bc authored about 6 years ago by Gaël PORTAY <[email protected]>
json: skip array values

i3bar sends an array of active modifiers when a click happened.

Currently, i3blocks does not su...

2e5be5bfefa67b035dfee704f3200d80935ebf2f authored about 6 years ago by Gaël PORTAY <[email protected]>
bar: fix conditional jump on uninitialised value

Valgrind complains about an uninitialised value that is used in a
condition.

==7083== Conditio...

4036924aad101f81ab9597f088a886341f1a2327 authored about 6 years ago by Gaël PORTAY <[email protected]>
main: add missing verbose option to usage

Closes #339

97b194a0dc58ecfdfa5b8052f2cb2bf7d87688b0 authored about 6 years ago by Gaël PORTAY <[email protected]>
docs: add a blocklets page

Add a new blocklets page to the website to dynamically list projects
from Github using the "i3bl...

317c145436ee1ff2ff8002ed4ec1677c5e870f1a authored about 6 years ago by Vivien Didelot <[email protected]>
sched: declare iterator outside of loop

Loop initial declarations end up being less readable (in my opinion)
and cause warnings on older...

1d8a6b2fc3e691fcbc49cdce03868013da095845 authored about 6 years ago by Vivien Didelot <[email protected]>
block: restore deprecated label

Now that user variables are supported, it is preferable that a blocklet
handles its label on its...

37f23805ff886639163fbef8aedba71c8071eff8 authored about 6 years ago by Vivien Didelot <[email protected]>
bar: update i3bar identifiers from clicks

It doesn't hurt to update the "name" and "instance" keys parsed from
a click, so for the sake of...

159d4a22c858ba6c71b9186d36ba2066ec898738 authored about 6 years ago by Vivien Didelot <[email protected]>
bar: properly unquote click data

Use the new json_unescape function to unquote the click values
properly.

a3d11727aa4579c4b0730a61d67d40f2873efe43 authored about 6 years ago by Vivien Didelot <[email protected]>
block: update i3bar identifiers

Now that we unescape values from JSON, overriding the "name" and
"instance" keys won't break cli...

81d52beec002fce0e6dffadcd07fee7bfcab64ca authored about 6 years ago by Vivien Didelot <[email protected]>
block: update unescaped values

From now on, update block properties from JSON with the unescaped
values. This makes the behavio...

a7877c65f29b6db8b7a1b218c722b75545e75da8 authored about 6 years ago by Vivien Didelot <[email protected]>
json: implement unescaping

Implement a json_unescape function to parse JSON-encoded values.

1042f5858a347669d903f87f115e7b4a4e0a8813 authored about 6 years ago by Vivien Didelot <[email protected]>
json: do not lazy check strings

Make use of the private json_parse_string function to check if a given
string is a valid JSON va...

50a5ea5a6564de7961e14cdf613134b2be1f1355 authored over 6 years ago by Vivien Didelot <[email protected]>
Revert "Set theme jekyll-theme-slate"

Github-Pages doesn't support jekyll-asciidoc yet, thus the _config.yml
file has no effect. Remov...

360458e5b9cb73a543cf63f4ac3cd232b55109a2 authored over 6 years ago by Vivien Didelot <[email protected]>
block: update outside of reap function

Move the update call outside of the reap function so that we isolate
more clearly what is specif...

103c78101e605d2b34ec55e4f0dea0315db7aaf0 authored over 6 years ago by Vivien Didelot <[email protected]>
block: close outside of reap function

Let the caller close the block pipes, so that we can move the update
later out of the reap funct...

14948164794f5368f74dfc124d7d26ff300c48a8 authored over 6 years ago by Vivien Didelot <[email protected]>
block: add open routine

Move stdin, stdout and stderr pipes opening in a block_open function for
symmetry with the exist...

6a3d48d7a1b45901753d3a518875ebcaa1b49b0a authored over 6 years ago by Vivien Didelot <[email protected]>
block: rename interval macros

Rename the INTER_* macros to INTERVAL_*.

863aff521b4049121a9e86bd6353ca57f535b0de authored over 6 years ago by Vivien Didelot <[email protected]>
block: rename plain text format to raw

"Plain text" wasn't ideal since JSON is also a plain text format.

Rename this format to raw, wh...

7171c43458352585b1ab651e40c744b750cb41ea authored over 6 years ago by Vivien Didelot <[email protected]>
bar: print empty values

It is valid to output empty strings as values or "null" if a key is
provided but without value. ...

c8e760903f8c89ab3e2e43a86d45a40b581cf62f authored over 6 years ago by Vivien Didelot <[email protected]>
config: change to config file parent directory

This patch changes the current working directory to the parent directory
of the configuration fi...

9a9ffc7f75405846196d18a94de083b5678337b0 authored over 6 years ago by Vivien Didelot <[email protected]>
Set theme jekyll-theme-slate

f397edb6e8a01a210eab326a80f5a9069edf74dc authored over 6 years ago by Vivien Didelot <[email protected]>
docs: centralize all documentation

This commit moves the README and the manpage source files to a docs/
directory, since Github ren...

f05422d7053ec67e61827f063426c2af5cd530a1 authored over 6 years ago by Vivien Didelot <[email protected]>
manpage: switch to AsciiDoc

8de007416798553cc9f44bf4ea8acdf4dd07a08a authored over 6 years ago by Vivien Didelot <[email protected]>
readme: use AsciiDoctor Q&A syntax

3c51a22de56a8cdc8565470e7ae7e4bfd109f80d authored over 6 years ago by Vivien Didelot <[email protected]>
readme: fix one-sentence-per-line

3b6d924db5539f15dcc6e063032840653e1f4d2d authored over 6 years ago by Vivien Didelot <[email protected]>
readme: split question about variables

Split the question about using custom variables to speak about string
interpolation and naming c...

d3f2226eaee5bf826ef23220823cdfc08b10de70 authored over 6 years ago by Vivien Didelot <[email protected]>
readme: switch to AsciiDoc

Add a fresh version of the README file and switch its syntax to
AsciiDoc.

faade51cc9e5b2d9bdde05dd8c04aee2a31b043f authored over 6 years ago by Vivien Didelot <[email protected]>
ini: fix key parsing

A key must start with an alphabetic character or underscore, especially
since it will be exporte...

eaede36dac75c75020706231669dd928e35574a0 authored over 6 years ago by Vivien Didelot <[email protected]>
block: handle exit code 126

An exit code of 126 is a POSIX shell exit for "Command Not Executable",
handle this gracefully.

efa3680f93e8cc68a6cab2b6ac63f2420e9d1371 authored over 6 years ago by Vivien Didelot <[email protected]>
block: compare timestamp on touch

Compare the block's timestamp with the current time in block_touch.

d6aad037ef68b7a953e21da260ea1a78a3d2fc0a authored over 6 years ago by Vivien Didelot <[email protected]>
bar: move polling functions to sched code

The poll functions are in fact related to the scheduling, not the bar.
Move the bar_poll_* funct...

8dbe21fc93ce22a6457370e0c2735d2d0befbb39 authored over 6 years ago by Vivien Didelot <[email protected]>