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
Displays the current song, as well as pause/play toggling by left
clicking the song name.
Mouse...
d14b56e8c2e5da44fc44a58cfaea4682fcbb168b authored almost 10 years ago by Jason Pleau <[email protected]>
To simplify user experience and maintainability, merge the contrib
scripts into the defaults, an...
The commit 305c1ffbed60728532a562cfc236c061feab1ad9 breaks the click
handling, as it tries to re...
As the number of source files grows, the root directory starts being
cluttered. This commit move...
These files are meant to regroup (mainly non-blocking) I/O functions.
This commit updates sched...
305c1ffbed60728532a562cfc236c061feab1ad9 authored almost 10 years ago by Vivien Didelot <[email protected]>
Extract the reading and parsing of the block output from the
block_reap() function to a new bloc...
The dump of the block stderr is not critical. So move it to its own
block_dump_stderr() function...
[vd: keep alphabetical order]
Closes #91
86437e3501db47717c6fca428d55a53ebe1bbbe3 authored almost 10 years ago by Guillaume Coré <[email protected]>Closes #88
9a8ba79e9e8554003babbe1932bf8a2c41f0b81e authored almost 10 years ago by The Gitter Badger <[email protected]>
Return directly from the expansion of the PARSE macro instead of using a
label.
fcntl(F_GETFL) may fail, so check its return value. Also use errorx()
instead of error() to hand...
If we read sizeof(buf) bytes (which is unlikely), we lose the
terminating null byte. Read sizeof...
It makes no sense for the caller to use const for function parameters
passed by value.
Use size_t instead of unsigned int, as used by strncpy().
5456a6787a06d89a2bb7ee128738e78bacbf0f41 authored almost 10 years ago by Vivien Didelot <[email protected]>18c41033ecd58ae75ae907ad9b921da84ec8c762 authored almost 10 years ago by Jason Pleau <[email protected]>
6cde14e2affc801f9dea0c0b152326204cca00bd authored almost 10 years ago by Jason Pleau <[email protected]>
If waitpid() fails (if interrupted for instance), the block->pid is
reset anyway, which could le...
It makes no sense for the caller to use const for function parameters
passed by value.
Closes #81
f296ffb9851fa1d2c2d60ed055ab119978d84c8e authored almost 10 years ago by Nycroth <[email protected]>d55bdcd9a5334a4d9bb12989445791303e35bbf8 authored almost 10 years ago by Vivien Didelot <[email protected]>
Fixes #74
Closes #75
This contrib script shows the status of the CAPS and NUM lock keys.
Closes #71
0a94f55e3972eb7e48708691812d6e9d268f7e3a authored about 10 years ago by Marcelo Cerri <[email protected]>Closes #72
1c74dd32d8d410bf947d3c29f6de4e29ba2d2be0 authored about 10 years ago by Vivien Didelot <[email protected]>
Compare load average and number of CPUs numerically instead of
lexicographically.
[vd: exit wit...
88e2ff664c9e2f257e2977fbc2081ca8f54c52d2 authored about 10 years ago by kb100 <[email protected]>
Debian's lintian tool checks for common spelling errors in packages, it
reported this one.
Clos...
4b36dba4fd1679f2732c7866a2ffc0d247960c05 authored about 10 years ago by Jason Pleau <[email protected]>
In the meantime, comment out the default instance, add a label and
group it with the memory blocks.
Optionally use the instance property to match individual batteries,
instead of using the first o...
92f844589e33d3740e8c0f12b1350d3bae3db89a authored about 10 years ago by Vivien Didelot <[email protected]>
Refs #53
d7be5512d160f88be94fc76f19b1ef1ef6f03889 authored about 10 years ago by Alexander Keller <[email protected]>
- Dynamically choose main volume control
- Selectable volume adjustment step
- Selectable volume...
Refs #53
bf1f267d8421580a6379c0eaa5cc00c5c7a8d3b4 authored about 10 years ago by Alexander Keller <[email protected]>Refs #53
072d7559e81a44932bb661cabaf8b40c28f9a45f authored about 10 years ago by Alexander Keller <[email protected]>The generated archive was not gzipped. Add a -z flag to the tar command.
Reported-by: Jason Ple...
c1620930277b6589e6b4eb267ab86a853e75e0f5 authored about 10 years ago by Vivien Didelot <[email protected]>
i3blocks.1 is removed during a "make clean", which is not convenient
when used from an archive. ...
Because I removed the double quotes of VERSION in Jason's d686490
commit, make is invoked with -...
Add the list of valid properties in the default config file, as well as
a link to the manual page.
This tool is needed to manually generate the man page.
Closes #56
e2469abc6b5475a75871f3107d9c7fc182a96c99 authored about 10 years ago by Vivien Didelot <[email protected]>die() already provide a very similar default message.
ef01f01ead276760d8ed31c10d305a507d6d85e8 authored about 10 years ago by Vivien Didelot <[email protected]>This script uses the raw output to support any sensor chip.
[vd: squash and move to contrib]
C...
47ebf5a3fcd5a597356de26164ef75825629bb47 authored about 10 years ago by Benjamin Chrétien <[email protected]>
Add a cumulative -v option to control the display of log messages. By
default, error messages ar...
The dist target in the Makefile will take care of generating the manual
page, and also create an...
When the bar visibility is toggled (e.g. with "i3-msg bar mode toggle"),
sigwaitinfo may be inte...
Thanks to:
@xelite for mouse volume controls
@jpleau for feedback about UI design
@Elfram ...
The ruby-ronn dependency for the man page generation should not be a
dependency to compile i3blo...
This reverts commit 822a6f8e069b7accf622004465b521900cc5357e.
145850a329d4a304cce073f2887a6ef686c77dd5 authored over 10 years ago by Vivien Didelot <[email protected]>
Since the Ruby ronn gem is packaged (usually as ruby-ronn) in many
distro, it is not necessary t...
Issues:
- If we're building from a release tarball, VERSION is not set
- If we're building ...
560bee196b1e7e52f9c07fa79d375b3fca3436c1 authored over 10 years ago by Vivien Didelot <[email protected]>
822a6f8e069b7accf622004465b521900cc5357e authored over 10 years ago by Vivien Didelot <[email protected]>
Added DOCDIR (defaulting to $PREFIX/usr/share/doc/$PROGRAM), and
installed the contents of contr...
[vd: split from Jason's PR43]
e143058d546770d275dbf287587d95fac7b17aba authored over 10 years ago by Jason Pleau <[email protected]>
By default, scripts are installed in /usr/libexec, but on Debian based
system, this directory is...
Debian's dpkg-buildpackage seems to use -Werror=format-security.
This patch fixes this compilat...
fa3881e3133bb9c2804db632dca1ec362fd3fa74 authored over 10 years ago by Jason Pleau <[email protected]>
According to the XDG specification, check for a system-wide config file
in {,/usr/local}/etc/xdg...
4180098284ae33f753b26e9854cca083e5012f98 authored over 10 years ago by Vivien Didelot <[email protected]>
Save -v for future verbose mode.
0849651ba4b549ac28d0c52d542ca256e5a1301d authored over 10 years ago by Vivien Didelot <[email protected]>ee71418c56bb0ace24a4e0bcfb359b16e34642c4 authored over 10 years ago by Vivien Didelot <[email protected]>
This reverts commit 2833ae631a5298bff3a71e28b91cdafc1063413c.
This new option added too much co...
4939ed2ae74f8cc6706b1001380a1cab2165af08 authored over 10 years ago by Vivien Didelot <[email protected]>
Print error messages for any failure between the fork and exec. On
internal error, return a spec...
Also add a link to the Archlinux i3blocks-git AUR package.
Closes #38
f04b736afa95bd2b2ccd3de7f6beeec66cce3e56 authored over 10 years ago by Vivien Didelot <[email protected]>Use word labels for volume and battery, instead of unicode characters.
Refs #36
2ddf288353029105b0dd3dfbe335d586277b52c1 authored over 10 years ago by Vivien Didelot <[email protected]>
Make the network script more i3bar-ish by taking the interface from the
BLOCK_INSTANCE environme...
Refs #36
59b7e22b79adeb64ba8959cf544c41ddc6a90fef authored over 10 years ago by Vivien Didelot <[email protected]>
Add a new i3blocks-specific property named "label", used to specify an
optional string to prepen...
Move labels to the config file instead of letting the scripts print
their own version.
* special-intervals:
block: introduce special interval value "repeat"
block: introduce speci...
If a block interval is specified as "repeat", then its command is
respawned as soon as it termin...
If "once" is specified for the interval, then the command will be
spawned just once on load. Thi...
Add a bar_poll_timed() function meant to be called on startup, to fork
commands with a time inte...
It is actually allowed to specify a negative interval, so ignore it in
the sleeptime calculation...
searching for the quoted key is more accurate than just the name. For
example, parsing a click f...
Let i3blocks catch an error and print it on its stderr.
e80259fc0f5afa511bcdff7407c079dace557547 authored over 10 years ago by Vivien Didelot <[email protected]>
Pipe stderr when forking a block command, in order to dump any error
message.
Do not print the first stdout line on error;
Close pipe read end on any error;
Simplify the mark...
As a user may want to trigger a different action on click, do not update
the time stamp when a c...
As allowed by the C99 standard.
5adf6e6d6d1ef3ba5b573eedeb5714f01fa811c1 authored over 10 years ago by Vivien Didelot <[email protected]>
This standard allows for-loop initial declarations, but also includes
the definitions of things ...
This tremendous diff constitutes a major refactoring of the scheduler.
Setup an interval timer ...
6712002589853ea51e02398f07579b6422918d73 authored over 10 years ago by Vivien Didelot <[email protected]>75c71c1a9c295ee2a3dd9e856c7d21c97330a5fb authored over 10 years ago by Vivien Didelot <[email protected]>
This ebuild is a contribution from @mudler sabayon repository.
Closes #31
da24d4fc382575d0eafdf9b30352fb49a9b0dafc authored over 10 years ago by Vivien Didelot <[email protected]>
Similar to what i3 does, check for the i3blocks user configuration file
first at ~/.config/i3blo...
[vd: adjust the min_width]
Closes #29
1c1742425e2653ec7aa14b0762719f7c6f629bcb authored over 10 years ago by Benjamin Chrétien <[email protected]>Remove the JSON escape bug from the man page since it was fixed by #24.
Add a link to the issue...
c776e47aa89865e1a39866ed2531a1b1f909afaa authored over 10 years ago by Valérian Galliat <[email protected]>
If LANG, LC_MESSAGES or LC_ALL is set to a language that has a different
word for "average", the...
8cfe257bd61a33978e2e4fa96196070463fa261d authored over 10 years ago by Vivien Didelot <[email protected]>
Closes #24
9e8e313d252e5000d6bebb59fbaaff506bcb0408 authored over 10 years ago by Valérian Galliat <[email protected]>
The 'player' argument to `playerctl` is given by `instance` in the
i3blocks config file.
Player...
16802713d942e397f88f40fb74b8eb20dfe13e75 authored over 10 years ago by Tony Crisci <[email protected]>01d34023d42f0f8908401be9599b9783c0bd2756 authored over 10 years ago by Philippe Proulx <[email protected]>
The new contrib/ directory is meant to include some well done and useful
scripts. It is scripts ...
Closes #18
[vd: fix typo i3block -> i3blocks]
b6d98be227f05bfa843fb4ad1c4126ee6910147f authored over 10 years ago by Pierre Mavro <[email protected]>Add support for cmus by using the cmus-remote utility to query metadata.
https://cmus.github.io...
54b0e777e7a65f8a336ad56f857e6e392f5b5bfd authored over 10 years ago by Tony Crisci <[email protected]>
On runtime, i3blocks now sets a BLOCK_LIBEXEC variable to the
environment. It is introduces for ...
Add the mediaplayer script for displaying "[ARTIST] - [TITLE]" in a
block if this information is...
This commit flattens the cpu_usage script, and add a few tweaks, like:
using $! instead of $?, s...
Change the script to consider color and urgent flag only on discharge.
Refs #12
e6bee6e46652dc3938e0cfe5cf663a9d8944f0fd authored over 10 years ago by Vivien Didelot <[email protected]>
This new version of the battery script uses the acpi tool to retrieve
percentage and remaining t...
This commit adds the exit code (if given) to the short_text,
concatenates the full_text with it ...
This commit introduces macros bdebug(), berror() and berrorx() which
takes a block as their firs...
Correct the man page to specify that an error is displayed, instead of
skipping the block.
In t...
085af234cacf7a1daa0e7e0496e69d0475aa2d2c authored almost 11 years ago by Vivien Didelot <[email protected]>4ce679aaa22427dd83677e51f54014b2fe547b6c authored almost 11 years ago by Vivien Didelot <[email protected]>