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

scripts: (cpu) rename and comment out

This commit renames the "cpu" script to "load_average", as suggested by
@deimosfr. With the prev...

cf48b9c7f6cd162234faef30850ba842985ef472 authored almost 11 years ago by Vivien Didelot <[email protected]>
scripts: add CPU usage with colorization

[vd: add a note about sysstat, update the CHANGELOG, add a min_width and
no separator to the cpu...

23ea28b29867f453386a348e73660c80c53835c8 authored almost 11 years ago by Deimosfr <[email protected]>
sched: fix click check

Now that the click button member is a buffer, checking its value
(address) instead of the pointe...

c1d51bb2d5492645474c8576761437df06e6fde2 authored almost 11 years ago by Vivien Didelot <[email protected]>
add specific header in source files

This commit removes the common description line in each source file and
add a description specif...

6124def559bff7b67e29f2db8475e9f25147ca25 authored almost 11 years ago by Vivien Didelot <[email protected]>
add emphasis on the wiki

d168ea1875be12b54909128cc2f72dd15650f11d authored almost 11 years ago by Vivien Didelot <[email protected]>
get rid of block_free_status_line

There's no need to expose a block_free_status_line() function.
Also, the function wasn't freeing...

2b35713575e8f374b838bdab8f7bfd661ecc5491 authored almost 11 years ago by Vivien Didelot <[email protected]>
block: remove useless declaration of caughtsig

082f73ef740b0ec09c77e8923d70cf4820d41de1 authored almost 11 years ago by Vivien Didelot <[email protected]>
Makefile: simplify VERSION

It it now easier for packaging to have a single VERSION variable to
overwrite, in case the packa...

bc37129771b065af1e48e507b1f54d8ef1d1009e authored almost 11 years ago by Vivien Didelot <[email protected]>
prepare 1.2 release

3401a61333e55f9fe538f75f0d22fc478ece06b9 authored almost 11 years ago by Vivien Didelot <[email protected]>
make struct click members char buffers

This commit turns the struct click members from unsigned int into char
buffers. A json_parse() f...

b82d627c57a182244518fb1d0e7eb983373d95a0 authored almost 11 years ago by Vivien Didelot <[email protected]>
add a changelog

2a33c52722ef92968602bb9daff29b29cf21b8f1 authored almost 11 years ago by Vivien Didelot <[email protected]>
change return code for urgency

The return code 127 is used by sh when the specified command_file could
not be found by a non-in...

408b96e117e391ad05bbe2e2a4378199a1dfaee5 authored almost 11 years ago by Vivien Didelot <[email protected]>
readme: add a link to the wiki

cb6eb2301037cfdc72c4627f256e8f01a17f227d authored almost 11 years ago by Vivien Didelot <[email protected]>
sched: do not setup stdin if it refers to a tty

i3blocks will segfault if it is run in a terminal. This is because stdin
receives an EOF and thu...

493bea72cc21d78e238514c0a91c2e4609a27133 authored almost 11 years ago by Vivien Didelot <[email protected]>
readme: add a link to the AUR package

e9a48f50c7b28730c518f55580b518a4fbbb81fd authored almost 11 years ago by Vivien Didelot <[email protected]>
readme: add a screenshot of the default config

5a9a9a9c9b81537488705ffa2553ec867c6d4936 authored almost 11 years ago by Vivien Didelot <[email protected]>
conf: adjust intervals and put volume on left

694457e93c411210a9f634ea93d54ddf6acb91a1 authored almost 11 years ago by Vivien Didelot <[email protected]>
better debug message

Prefix block related debug messages with [foo] where foo is the block
name.

98a9bd97c5b8a64c7472105b4288bb0a4db18a3b authored almost 11 years ago by Vivien Didelot <[email protected]>
scripts: (network) use ip command

ac65466ae0bf205b5d7662a9b8fccb9fab03d6cc authored almost 11 years ago by Vivien Didelot <[email protected]>
introduce debug macros

This commit introduces log.h, which provides compile-time macros for
debugging (debug()) and err...

3176964305676734abd477964d065d8cbd344d6f authored almost 11 years ago by Vivien Didelot <[email protected]>
undef macros after use

af31b5ec67263056cd3313354fd127a7f493096a authored almost 11 years ago by Vivien Didelot <[email protected]>
Makefile: add a PROGRAM variable

dad8c17193c6b6b61b788a86c3eeac6fb890ce12 authored almost 11 years ago by Vivien Didelot <[email protected]>
Makefile: do not remove the manpage on cleaning

595da4b9da0550e716f2e342d5e11371a3e2b398 authored almost 11 years ago by Vivien Didelot <[email protected]>
i3blocks is a status line for i3bar (also manpage)

4c8597b5c79c37a374ee097631501c469c68d3c4 authored almost 11 years ago by Vivien Didelot <[email protected]>
readme: prettify bar block

6423fa55341a09b5be8a10a436417ac6eecf5eeb authored almost 11 years ago by Vivien Didelot <[email protected]>
readme: detail how to setup i3blocks

3ce500913ae1be11bf9291853929e849c877ecde authored almost 11 years ago by Vivien Didelot <[email protected]>
explain how to use i3blocks

b6c0af8b52acab172335e504a688278df0070a37 authored almost 11 years ago by Vivien Didelot <[email protected]>
i3blocks is a status line for i3bar

Change the project description to emphasis on the fact that i3blocks
aims to respect the i3bar p...

462e382bbeadd6613e700a7e1447aadf386fcca7 authored almost 11 years ago by Vivien Didelot <[email protected]>
readme: concise i3bar possibilities

c0e1ef12d77cf0fbd3000062290f7015b9ba720a authored almost 11 years ago by Vivien Didelot <[email protected]>
readme: detail what i3bar offers

Also emphasis on "status line" and break line in Copying.

cc326afc9e58723aecb22a3716c91a96b18ea391 authored almost 11 years ago by Vivien Didelot <[email protected]>
readme: add sections

Split the readme file in sections, add Documentation, Installation and
Copying. Also remove emph...

3ebb8c10ab14008e65a4186f6255ae262bc5673b authored almost 11 years ago by Vivien Didelot <[email protected]>
add a note about the respect of i3bar protocol

6a77057518c5de43dc9af1812690ef95f006be08 authored almost 11 years ago by Vivien Didelot <[email protected]>
describe the clickme block in the readme

61f07f067510b17ae48361e78dfd5f7cbe2a79d0 authored almost 11 years ago by Vivien Didelot <[email protected]>
do not catch manpage installation error

Now that the manpage is present with the source, its installation should
not fail. Do not silent...

c89f305fe463b7f96f430de79f2cc79b97ae626f authored almost 11 years ago by Vivien Didelot <[email protected]>
do not look for scripts in $DESTDIR

$DESTDIR is used to install files in a temporary directory, e.g. to
prepare a rootfs.

dcaf933fc164fe20a0c63e7268c508b2ed36df6f authored almost 11 years ago by Vivien Didelot <[email protected]>
update config and add a few scripts

9344d1d3ac1d2ae68ae2a5017f659dabb9f963ad authored almost 11 years ago by Julien Bonjean <[email protected]>
explicit every failure in block_update

345b2fd60e2687f74ce5403cf48070ebc6d2e0b5 authored almost 11 years ago by Vivien Didelot <[email protected]>
add a clickme example to the readme

d14dc922f263f7151383d72f286bb4c16e043f23 authored almost 11 years ago by Vivien Didelot <[email protected]>
simplify click support with a struct

3e887fd779b1c4655afa043e7726199110f95e77 authored almost 11 years ago by Vivien Didelot <[email protected]>
prefix functions according to their purpose

- prefix block functions with block_
- prefix ini functions with ini_
- prefix json functions...

6d10409a875cfbe88fd2f3e5655d0defc9a5202f authored almost 11 years ago by Vivien Didelot <[email protected]>
move scheduling code to sched.{c,h}

5624d83f01a0d527ca8dade78d3c54e74d5cf70f authored almost 11 years ago by Vivien Didelot <[email protected]>
handle click

0ce6329fdc7d5c97de4d0f0124d77470e3a96f0d authored almost 11 years ago by Vivien Didelot <[email protected]>
add manpage

It will be easier for packaging to version the manpage as well and
remove the dependency to ronn.

ace0240b4614ee1ba3b83dda308cdcab75f7f9b7 authored almost 11 years ago by Vivien Didelot <[email protected]>
explain how to setup i3blocks

a2121e0878f0d52b4bbbd99029d5c093fb72f207 authored almost 11 years ago by Vivien Didelot <[email protected]>
highlight a few words

2490e286a84f0a3778be37f4ae569b4da8d3c84c authored almost 11 years ago by Vivien Didelot <[email protected]>
add a simpler README file

b6a5c05649eb7445eafca32b1c8453fa08f3a913 authored almost 11 years ago by Vivien Didelot <[email protected]>
change program description in source files

c9ab816b1d4c7be18b5058fa3b88ca824e5b2a4f authored almost 11 years ago by Vivien Didelot <[email protected]>
extract and rewrite the manpage

The project's README won't be the manpage anymore. Instead, extract it
to i3blocks.1.ronn.

fc540cc1910cd26d7fdc4180c846f53ab4b6a831 authored almost 11 years ago by Vivien Didelot <[email protected]>
click_events is not supported yet

317f8d128fd0594ccb6b2daca722d6f21ac59715 authored almost 11 years ago by Vivien Didelot <[email protected]>
do not update if interval is 0

0e6ec50d699017159e34c7ede315d0328734607b authored almost 11 years ago by Vivien Didelot <[email protected]>
add signal support

Now a block can specify a signal used to force its update. For instance:

[volume]
comma...

d4e080c9e3171438f9125d50222f51e1edfc44c9 authored almost 11 years ago by Vivien Didelot <[email protected]>
overwrite block on failure

f2e3d56c2f9f85f8ef262db92f10d13551084106 authored almost 11 years ago by Vivien Didelot <[email protected]>
do not overwrite config block settings

If a block fails or doesn't provide every field, we should fallback to
the config field. To do ...

248bc9a976e77ef13116c6528a2e35d908537f8f authored almost 11 years ago by Vivien Didelot <[email protected]>
support global properties

Every properties outside a block will be considered global, and will be
applied to every block, ...

39cb79f72c140df3f0227036aa25997af8e00998 authored almost 11 years ago by Vivien Didelot <[email protected]>
json: add prepare_block()

4dbc5e62e5a2fd8b7259718fdf1ed113a89d6dfc authored almost 11 years ago by Vivien Didelot <[email protected]>
merge status_line.* into block.*

5cdf67e7611e7965d3298e0c9b0fd7179dcf144b authored almost 11 years ago by Vivien Didelot <[email protected]>
split ini and json code

Configuration file (ini) parsing code goes to ini.{c,h} and JSON
printing code goes to json.{c,h...

b29ed6d170f6b66813efd25f1b79e0691b2d07bb authored almost 11 years ago by Vivien Didelot <[email protected]>
remove useless timeout member in struct block

2db076eb30c8b5223f04e9b103bbf81e9ad9b9df authored almost 11 years ago by Vivien Didelot <[email protected]>
remove redundant strncmp on full_text

394fe8dc38ef7ece62c8227f96bee37a16ec352f authored almost 11 years ago by Vivien Didelot <[email protected]>
define i3blocks better

f3d3786323bf9dd94d88e512c349649a93073577 authored almost 11 years ago by Vivien Didelot <[email protected]>
setup environment variables

i3blocks will set the environment variables BLOCK_* before forking a
block command. Actually, BL...

ae5463f053fb47d9971123c311583ee4d2c50b95 authored almost 11 years ago by Vivien Didelot <[email protected]>
fix interval for a single entry

The GCD was actually calculated for at least 2 blocks. With only one
block, the interval was ign...

12dcd762abed5e194bccde3ed9b6bfbf54b942c2 authored almost 11 years ago by Vivien Didelot <[email protected]>
do not add comma if last block fail

If the last block fails, a trailing comma is printed, like:

,[{"full_text":"Time : 11:50:54...

1b7b2a7d4ed5424cb7031217c22ebedd13da4cdf authored almost 11 years ago by Vivien Didelot <[email protected]>
add hyperlink for the github url

5e6e2b23dd98be5d6c410ca9d6f7124860fd3827 authored almost 11 years ago by Vivien Didelot <[email protected]>
set urgent return code to 127

226a1fe344bac356c7ad6cc037ac61bccafe07ef authored almost 11 years ago by Vivien Didelot <[email protected]>
add support for short_text and color

Now a block command may return 3 lines. If so, they will be:

1. the full_text
2. the short_...

f07c560cdb8800d377171d229a0fe382503d90aa authored almost 11 years ago by Vivien Didelot <[email protected]>
fix child exit status

The status returned by pclose() is a combination of the child pid and
its exit status. The actua...

6064410b73ec2e292fa0cd0893d3a1bdb3845dd6 authored almost 11 years ago by Vivien Didelot <[email protected]>
add .gitignore

7245a5b60b38850f413872204c5edc2f61a3c66d authored almost 11 years ago by Vivien Didelot <[email protected]>
add uninstall make target

6e0a4b98528190344682c2a9c0c7f98c6e2dc0ab authored almost 11 years ago by Vivien Didelot <[email protected]>
add documentation

The README.md file is the only entry point for the documentation.
Using the Markdown format and ...

2ed222fb7f1efcde6c423c7cbdad272d0603a766 authored almost 11 years ago by Vivien Didelot <[email protected]>
split source files

9a3cb5be9bbea41006f2c47d7ab6c178da3f334b authored almost 11 years ago by Vivien Didelot <[email protected]>
only evaluate *VERSION when necessary

This avoids the following error during a `make clean`:

fatal: No names found, cannot descri...

32e6ff57aca249afe90e90278a53b99d5900f044 authored almost 11 years ago by Vivien Didelot <[email protected]>
rename child variables in update_block

0b113df7b747ba7bd69fbeec44da8516fc534659 authored almost 11 years ago by Vivien Didelot <[email protected]>
license under GPL version 3

85abbc78185a986580544461f64cb207fe633272 authored almost 11 years ago by Vivien Didelot <[email protected]>
rename bar to status_line

This commit renames the struct bar and some related functions to
status_line, which is more rele...

9391a36a5e1e0839804c1eda84458085fd1511db authored almost 11 years ago by Vivien Didelot <[email protected]>
change default PREFIX

By convention, it is strongly recommended that locally installed
software must be placed within ...

bbb80ee76ef25c52d29f251b35238e9d45a86805 authored almost 11 years ago by Vivien Didelot <[email protected]>
initial commit

45bc6484579506ef97d3ac264434677e94521450 authored almost 11 years ago by Vivien Didelot <[email protected]>