Commit Graph

7 Commits

Author SHA1 Message Date
Franziska Kunsmann
cfd60a6bb0 mpd: add option "time_format" to module 2021-06-20 15:56:11 +00:00
Armin F. Gnosa
e9a4948adb add option "freq_divisor" to "network" module, which allows division of Wi-Fi frequency 2017-02-22 15:45:05 +01:00
Erik Johnson
8d1646e92c Add myself to CONTRIBUTORS 2016-03-29 01:14:56 -05:00
Mathis FELARDOS
d15b3173f1 core: Change command_endpoint and on_click for supporting i3bar mouse positions
* command_endpoint: get the position from the mouse when the click
  occured. Parameters names are set here: pos_x pos_y.
  Positions are passed to on_click through keyword arguments.
* Module:
  - change __log_button_event, __button_callback_handler and on_click
    methods for handling keyword arguments.
  - "Member", "Method" and "Python" callbacks are handled by detecting
    if they have pos_x or pos_y as parameters, or if they have a
    keyword arguments. The special case of wrapped callbacks (made with
    get_module decorator for example) is handled in a similar way.
  - "External command" is handled by considering the position as a
    format dictionary. Actually no distinctions are made of how
    self.data and the new keyword argument are treated on this.
  - the parameter kwargs as been added to the doc string of on_click.
* MultiClickHandler: now handle keyword arguments.

Signed-off-by: Mathis FELARDOS <mathis.felardos@gmail.com>
2016-03-23 08:36:11 +01:00
Holden Salomon
ddb97dfbdf Total rewrite into an IntervalModule, how it should have been. Added {status}, format_not_running, color_not_running, and comments to make it readable. This improvement was loosely based on the cmus module 2015-09-13 16:59:22 -04:00
enkore
8a4ecca25e Remove some double names (fixes #242) 2015-09-10 12:59:01 +02:00
Raphael Scholer
9dc1c755c0 Move list of contributors into an extra files.
CONTRIBUTERS was created with `git log --format=%aN" |sort -u > CONTRIBUTORS`.

This makes the README more manageable and more on point, it also provides a
complete list of all contributors.

A list of contributors is in all likelyhood of secondary interst at best when
evaluating software.
2015-08-19 22:14:45 +02:00