Commit Graph

1186 Commits

Author SHA1 Message Date
enkore
832061c426 Merge pull request #343 from rscholer/dpms_format
dpms: Allow a different format string when DPMS is disabled.
2016-03-26 21:22:59 +01:00
enkore
a645bb74eb Merge pull request #340 from grimpy/pulse_auto_sink
Pulseaudio: Display/control active sink
2016-03-26 21:22:16 +01:00
Mathis FELARDOS
f26a9f9d1d core: Improve the support of other button
* This commit fix #259
* Change 'unhandled' callback by 'other'
* Add the an optional parameter 'button_id' for all callbacks

Signed-off-by: Mathis FELARDOS <mathis.felardos@gmail.com>
2016-03-25 22:27:33 +01:00
Raphael Scholer
bf71e78e23 dpms: Allow a different format string when DPMS is disabled.
Substitution of {status} is still possible, for backwards compatibility.
2016-03-25 18:05:42 +01:00
Erik Johnson
4867afeda1 Change color_no_updates to None to default to i3bar color
If ``statusline`` is not set in ``~/.config/i3/config``, it defaults to
``#ffffff`` (white). Therefore, the default behavior of the updates
module in this case is to show white for both ``color_no_updates``
(system is up-to-date) and ``color_working`` (update check in progress).

However, if one sets ``statusline`` in their ``~/.config/i3/config``,
then the color will be white when the system is up-to-date, forcing the
user to manually set ``color_no_updates`` if they would prefer it match
their default i3bar color.

This commit changes the default value of ``color_no_updates`` to
``None`` so that it matches the default i3bar unless overridden.
2016-03-25 00:29:19 -05:00
Mathis FELARDOS
95f625cd6b core: Add the middle click support and unhandled button support
* This commit fix #259
* Support of middle click button
* Add an unhandled click events for all button that will not be handled
* Remove the return type of on_click: it became useless now
* Fix the unique call of on_click in CommandEndpoint

Signed-off-by: Mathis FELARDOS <mathis.felardos@gmail.com>
2016-03-25 04:32:29 +01:00
Jo De Boeck
6161d591d2 Now Playing: Check for mpris service in activatable services 2016-03-24 21:25:27 +02:00
Jo De Boeck
b711ba96ed Pulseaudio: Display/control active sink
Make sink a property which checks which sink is currently active.
Use pactl to control volumes which gets standard insalled with libpulse
which is already a requirement.
2016-03-23 20:46:04 +02:00
Mathis FELARDOS
98e8a1cc04 core: handle callbacks that are not functions on Python 3.3
* Fix inspect.getargspec issue for non functions callbacks by creating
  an empty ArgSpec. There for we ignore all kwargs parameters.

Signed-off-by: Mathis FELARDOS <mathis.felardos@gmail.com>
2016-03-23 10:14:20 +01: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
enkore
0b49c4058a Merge pull request #333 from terminalmage/fix-updates
Fix KeyError when using backend-specific updates formatter
2016-03-22 12:31:48 +01:00
enkore
843088c9f5 Merge pull request #332 from drwahl/master
last.fm: initial commit of last.fm module
2016-03-22 12:30:22 +01:00
enkore
c35eb5ee3b Merge pull request #338 from grimpy/fix_nowplaying
now_playing: use get_dbus_method for compatibility
2016-03-22 12:29:41 +01:00
Jo De Boeck
6a7e80ec38 now_playing: use get_dbus_method for compatibility
Calling method directly on dbus proxy object does not always work.
2016-03-22 12:13:29 +02:00
Hugo Osvaldo Barrera
9a091ab024 Improve solaar error handling/display
Improve errors shown by solaar plugin, also cleaning up how error are
internally handled.

See #335
2016-03-21 19:51:44 -03:00
David Wahlstrom
e529fa8c95 dota2wins: truncate win percentage
Use only 2 decimals for win percentage so we don't fill all of the
status bar with decimal places.
2016-03-18 09:03:19 -07:00
Erik Johnson
2a886ffa1e Fix KeyError when using backend-specific updates formatter
When a backend-specific formatter (i.e. ``{Pacman}``, ``{Cower}``, etc.)
is used, and the initial "working" status is set, the loop in which the
update totals is compiled has not yet run, leading to a KeyError.

This commit fixes the traceback by setting initial values of "?" for
these formatters before the initial "working" status is set.
2016-03-16 21:47:14 -05:00
David Wahlstrom
7163122e1b last.fm: initial commit of last.fm module
This last.fm module will report to the status bar the current track that
is being played.  Last.fm requires an API key for access to their APIs,
so the user must provide their own API key which can be easily obtained
for free from http://www.last.fm/api/.
2016-03-16 16:27:02 -07:00
Erik Johnson
ff31e08b74 Add settings entry for color_icons
This allows this item to be overridden in i3pystatus with custom colors
and icons.
2016-03-12 22:49:30 -06:00
Kenny Keslar
693d2ebdb7 Catch exceptions in button handlers 2016-03-02 15:57:57 -05:00
Kenny Keslar
7d90574212 Pulseaudio - use execute helper & fix program check 2016-03-02 15:40:16 -05:00
Lennart Braun
f2b4447126 Fix explicit utf-8 encoding 2016-02-26 16:18:12 +01:00
Lennart Braun
530b9f2d88 Add mpd password support 2016-02-26 15:34:38 +01:00
facetoe
357aaa76a1 Fix uneven quotes in status command. 2016-02-20 22:51:27 +08:00
facetoe
ee79a691b2 Fix dateTime bug identified in #322
Also fixed bug where an event with no title would cause a crash.
2016-02-18 20:29:07 +08:00
enkore
7117df6fb2 Display exception class name (in-line exception display)
cf #322
2016-02-16 13:40:30 +01:00
enkore
bf2e992fc9 Merge pull request #317 from facetoe/google_calendar
Add GoogleCalendar module
2016-02-14 14:56:33 +01:00
facetoe
577e3df17f Fix bugs in setting_util.py.
An exception was thrown while loading classes and the -l paramater
wasn't working correctly.
2016-02-14 14:49:55 +08:00
enkore
32296aad6b Merge pull request #319 from t3zla/master
Made the openvpn module more flexible by allowing custom status commands, along with changing the spelling of "colour"
2016-02-12 14:14:34 +01:00
enkore
58ca67109c Change default mode to standalone=True 2016-02-12 14:12:43 +01:00
Holden Salomon
8254eaf43e Made the openvpn module more flexible by allowing custom status commands, making it compatible with networkmanager based VPNs. Also changed the spelling of colour_down and colour_up to color so the module is the same as all of the others 2016-02-11 12:00:49 -05:00
facetoe
67142bc6fe Add GoogleCalendar module 2016-02-10 22:06:29 +08:00
Julius Haertl
99ca98eaea openvpn: Rename colour_up/colour_down to color_up/color_down 2016-02-10 10:03:47 +01:00
enkore
a83a53dec0 Merge branch 'dota2winsdefaultetc' 2016-02-03 18:43:47 +01:00
David Wahlstrom
4f490d6b4a dota2wins: truncate win percentage
Use only 2 decimals for win percentage so we don't fill all of the
status bar with decimal places.
2016-02-03 18:42:28 +01:00
w8u
b1a2c4d6c5 corrected settings to avoid Sphinx errors 2016-02-02 16:38:52 +01:00
w8u
1680ef4f17 A module for monitoring message amount in VK 2016-02-02 16:38:52 +01:00
enkore
2890f942f3 configuration.rst: update example callbacks 2016-02-02 16:01:28 +01:00
enkore
289c090ea4 Import core.util.get_module into i3pystatus main module 2016-02-02 15:47:18 +01:00
enkore
dcda1bb3a4 Fix initialization error if standalone is False
Does anybody even use this scenario anymore? We could remove quite some
code if we only supported standalone operation.
2016-02-02 15:47:00 +01:00
enkore
9759d6eea5 Revert "Lift restriction that "run" cannot be used as a callback"
This reverts commit d018be872a.
2016-02-01 17:09:47 +01:00
enkore
57be3c45a9 updates: add an individual formatter for every backend 2016-02-01 13:11:58 +01:00
enkore
d7af5c762f updates: new formula®
Start an extra worker ourselves, then use a condition to notify it
of explicit update requests
2016-02-01 12:48:56 +01:00
enkore
39e2c64570 updates: allow display of a "working/busy" message 2016-02-01 12:20:30 +01:00
enkore
d018be872a Lift restriction that "run" cannot be used as a callback 2016-02-01 12:18:03 +01:00
enkore
5dbb8b6cac Fix typo 2016-01-31 18:34:07 +01:00
enkore
b3a1ab2508 syncthing: callback descriptions 2016-01-31 18:33:34 +01:00
enkore
5959ba9463 Merge pull request #295 from rumpelsepp/master
Add Syncthing module
2016-01-31 18:30:37 +01:00
Stefan Tatschner
70a9ead7ef Add Syncthing module
This module provides support for Syncthing [1]. Currently this module
only supports showing the up/down status of Syncthing and it is possible
to start/shutdown Syncthing via click events. A few callback functions
for usage with/without systemd are provided as well.

The module is designed in a generic way (st_get(), st_post()), such that
new features could be add very easily.

[1]: https://syncthing.net
2016-01-31 17:46:09 +01:00
enkore
739c595ef0 Fix is_method_of (cf #310), add regression test case 2016-01-28 20:34:53 +01:00
enkore
fcc3bf67d4 Update alsa.py
cf #300
2016-01-28 16:57:57 +01:00
enkore
81690baa62 Merge pull request #309 from richese/timer
Added `Timer` module.
2016-01-28 15:01:24 +01:00
enkore
2aeda9c5e3 Fix single string case & docs 2016-01-27 20:15:59 +01:00
enkore
dec534ce81 Fix errorneous recursive replace mishap 2016-01-27 20:02:51 +01:00
enkore
0743767385 Two line if 2016-01-27 20:00:50 +01:00
enkore
612b8b07eb Update modules to a7583a9
Not updated for various reasons:
clock,
dpms,
gpu_temp,
load,
mail,
mem_bar,
modsde,
net_speed,
pianobar,
pulseaudio,
regex [no named formatters],
runwatch,
shell,
solaar,
temp,
text,
updates,
weather,
whosonlocation,
xkblayout,
zabbix


This might break something: I can't test all these modules. If it does,
file a bug / open a PR / send me a note.
2016-01-27 19:53:33 +01:00
enkore
a7583a9786 Implement #300 2016-01-27 19:31:12 +01:00
enkore
a9462aa862 Merge branch 'cbself' 2016-01-27 19:11:54 +01:00
enkore
aed169de4d Implement decided resolution of #304
- Remove self for normal callables
- Retain self for methods (of course)
- Add decorator to retrieve self for special callbacks that need it
  (Yes, the example is kinda stupid and would be unnecessary with #300)
2016-01-27 19:07:59 +01:00
Lukáš Mandák
1c6b42d9e5 Removed dependency on enum module. 2016-01-27 14:20:09 +01:00
Lukáš Mandák
0bf0fd3591 Added Timer module. 2016-01-27 11:59:26 +01:00
enkore
4c37834df4 Merge pull request #282 from t3zla/master
Added previous song support to the spotify module, activated by scrolling down while over the module in the status bar
2016-01-26 22:34:59 +01:00
enkore
f05a16482b Merge pull request #308 from tukss/mpd-unix-socket
add support for MPD connects via AF_UNIX sockets
2016-01-26 22:34:38 +01:00
enkore
69f5835223 Merge pull request #306 from janoliver/master
Added module for tracking the status of Batch computing jobs on a cluster running the Sun Grid Engine (SGE)
2016-01-26 22:33:58 +01:00
Philipp Edelmann
45377b12c3 add support for MPD connects via AF_UNIX sockets
A port number equal to 0 now lets the mpd module interpret the host as
a path to a socket.
2016-01-22 23:27:53 +09:00
Jan Oliver Oelerich
691453950b fixed indentation 2016-01-20 09:11:30 +01:00
Jan Oliver Oelerich
0fce823952 fixed a bug of running jobs not being displayed. 2016-01-20 09:09:32 +01:00
asmikhailov
0f23620336 Fixed error with empty triggers list 2016-01-19 12:33:13 +03:00
Jan Oliver Oelerich
f32c8e0650 reverted .gitignore and fixed indents of sge.py 2016-01-19 10:17:50 +01:00
Jan Oliver Oelerich
6925770e4f Added module for tracking the status of Batch computing jobs on a cluster running the Sun Grid Engine (SGE) 2016-01-19 09:38:47 +01:00
Maxi Padulo
f12d1f9d48 Fix handler not executing external cmd (#301)
Wrong name on function call was raising AttributeError
exception disrutping the code execution.
2016-01-12 13:03:50 +01:00
enkore
6520d1e770 Merge pull request #299 from mxlian/master
backlight module increasing brightness on scroll not working
2016-01-11 12:43:09 +01:00
Maxi Padulo
b132c4d842 Fix backlight not increasing brightness 2016-01-09 17:39:46 +01:00
David Bronke
084269cf0d Fix typo in MoonPhase.status.
This fixes the default shown in the docs, so copy/pasting it into your config won't end up giving you a broken `Waning Crescent` mapping.
2016-01-08 02:12:32 +00:00
enkore
a356e42c12 Fix pulseaudio creating zombies (#293) 2016-01-05 12:51:39 +01:00
enkore
f40feda2c4 Merge pull request #281 from fabrox/master
Implemented optional volume display/setting as in AlsaMixer.
2016-01-05 12:49:06 +01:00
Lorian Coltof
ef58c5a6fa Added the bar_design option in the format of the battery module 2016-01-03 16:43:29 +01:00
Douglas Eddie
731749f0e3 Added check for ismount() and empty directories.
Previously the free space of the underlying filesystem would be reported if the path provided was a directory but not a valid mountpoint. This adds a check to first confirm whether a directory is a mountpoint using os.path.ismount(), and if not, then runs an os.listdir() to count the files; empty directories are considered not mounted.

This functionality allows for usage on setups with NFS and will not report free space of underlying filesystem in cases with local mountpoints as path.
2016-01-03 16:43:29 +01:00
Douglas Eddie
1c4f941304 Improved handling of (un)mounted drives/partitions.
richese provided base for new options.
2016-01-03 16:43:29 +01:00
Nuno Cardoso
87c01278f7 Added double click support 2016-01-03 16:43:29 +01:00
Alexandr Mikhailov
3d22043881 Fixed global color with max severity alert 2016-01-03 16:43:29 +01:00
Alexandr Mikhailov
a09bf88007 Another PEP8 compatibility fix 2016-01-03 16:43:29 +01:00
Alexandr Mikhailov
0aeec83741 Pep8 correction 2016-01-03 16:43:29 +01:00
Alexandr Mikhailov
b2dd1b46ca Added Exception for incorrect Zabbix authentication and implemented global color for module result 2016-01-03 16:43:29 +01:00
Alexandr Mikhailov
bac8a05d41 Simplify individual alerts assignment 2016-01-03 16:43:28 +01:00
Alexandr Mikhailov
31374a2ec4 Added Zabbix module 2016-01-03 16:43:28 +01:00
Jan Fader
b6a472e014 fixed documentation of solaar 2016-01-03 16:43:28 +01:00
Jan Fader
09e2e64d36 initial commit of solaar.py 2016-01-03 16:43:28 +01:00
fahrstuhl
2a65efa068 adds doc for variant feature 2016-01-01 18:18:01 +01:00
fahrstuhl
0a17ee2bfb PEP8 compliance 2016-01-01 14:05:55 +01:00
fahrstuhl
0a63932c62 adds variant to xkblayout 2016-01-01 14:04:32 +01:00
Maximiliano
47f1f72c5c disk module: corrected doc string 2015-12-22 17:14:38 +01:00
enkore
378d913caf Merge pull request #283 from PolarNick239/master
GPU temperature and memory usages modules (nvidia only)
2015-12-21 23:20:12 +01:00
enkore
b1aabe3b52 Merge pull request #285 from facetoe/openvpn
Make symbol configurable in openvpn module
2015-12-21 23:19:34 +01:00
enkore
e430454905 Merge pull request #280 from richese/misc_settings
Added options to change logfile and internet check server.
2015-12-21 23:19:24 +01:00
enkore
597667acc7 Merge pull request #274 from facetoe/iinet
Add IINet module
2015-12-21 23:18:00 +01:00
Alexandr Mikhailov
86d876fd58 Fixed global color with max severity alert 2015-12-18 01:25:39 +03:00
Alexandr Mikhailov
38f7c6cd80 Another PEP8 compatibility fix 2015-12-18 00:46:10 +03:00
Alexandr Mikhailov
bfe367b836 Pep8 correction 2015-12-17 23:25:53 +03:00
Alexandr Mikhailov
0c52b5586c Added Exception for incorrect Zabbix authentication and implemented global color for module result 2015-12-17 23:18:37 +03:00
Alexandr Mikhailov
0c15903d4e Simplify individual alerts assignment 2015-12-17 16:44:30 +03:00
Alexandr Mikhailov
2a3041fb57 Added Zabbix module 2015-12-16 16:58:24 +03:00
facetoe
93220ac178 Make symbol configurable 2015-12-12 18:38:53 +08:00
Nikolay Polyarniy
e569b934b2 PEP8 fix for utils/__init__ and accidental copyright removed 2015-12-10 01:42:00 +03:00
Nikolay Polyarniy
8ae40efa30 gpu_temp: GPU temperature module (nvidia-smi only) 2015-12-10 01:30:37 +03:00
Nikolay Polyarniy
6f492ff406 gpu_mem: GPU memory module (nvidia-smi only) 2015-12-10 01:30:04 +03:00
Holden Salomon
3b82e8de1e Added previous song support, activated by scrolling down while over the module 2015-12-05 13:37:32 -05:00
Fabian Tobias Rajter
1376f5f6be Changed cosmetical things Travis CI was complaining about. 2015-12-05 18:31:45 +01:00
Fabian Tobias Rajter
2abaab1769 Implemented optional volume display/setting as in AlsaMixer. 2015-12-05 18:12:44 +01:00
Lukáš Mandák
6d211f823c Added options to change logfile and internet check server. 2015-11-28 15:42:26 +01:00
facetoe
32067112c7 Add IINet module 2015-11-08 15:36:06 +08:00
facetoe
b9cc06e310 Refactor reddit module to be more efficient. 2015-11-08 10:38:20 +08:00
Jan Oliver Oelerich
e78501a0cc Update desktop.py
Fixed syntax error.
2015-10-25 20:41:42 +01:00
enkore
4d24b17e2b Fix crash on import with desktop notifications when python-gobject is available, but no notification daemon is running. 2015-10-25 20:30:36 +01:00
enkore
8bd6fb45e3 Merge pull request #268 from drwahl/plexstatus
plexstatus: initial commit
2015-10-23 16:29:30 +02:00
David Wahlstrom
c714ae7ef2 plexstatus: cleanup catchall except
Cleanup a bare try/except that is supposed to be catching just an
attribute error.
2015-10-17 08:22:51 -07:00
enkore
d36211e853 Wording and such 2015-10-17 11:42:21 +02:00
enkore
88d437d72d Add docs for xkblayout 2015-10-17 11:39:00 +02:00
David Wahlstrom
a6c88c9890 plexstatus: initial commit
The plexstatus plugin provides the user with a notification when there
is media being streamed from their Plex Media Server (https://plex.tv/).
The user must provide their API key, which can be found by following the
instructions provided by plex for developers
(https://support.plex.tv/hc/en-us/articles/204059436-Finding-your-account
-token-X-Plex-Token).
2015-10-16 23:42:06 -07:00
enkore
c5caec8b09 Merge pull request #264 from richese/fix_263
MDP: Fix for #263.
2015-10-16 16:28:58 +02:00
enkore
ec14973fbd Merge branches 'rscholer-online_module', 'schroeji-yaourt', 'richese-bg_commands', 'facetoe-praw_warning' and 'NiclasEriksen-master' into master 2015-10-16 16:25:53 +02:00
enkore
1a8e77f06a Merge branch 'bg_commands' of https://github.com/richese/i3pystatus into richese-bg_commands 2015-10-16 16:24:04 +02:00
Niclas Eriksen
f696cb5989 Can now fetch link and comment karma of user
Link and comment karma of user can be fetched with {link_karma} and {comment_karma} if username is set.
2015-10-15 12:13:34 +02:00
Lukáš Mandák
2b73cc4a55 MDP: Fix for #263. 2015-10-11 10:31:35 +02:00
Lukáš Mandák
b0e914d4e9 Module: Updated docstring for on_click method. 2015-10-03 11:20:16 +02:00
Lukáš Mandák
081bd329f9 Changed checks for command attribute in run_through_shell and execute. 2015-10-03 10:14:29 +02:00
Raphael Scholer
1210f01edd Add simple module to show internet connection 2015-10-03 01:42:51 +02:00
Lukáš Mandák
2ef74ded79 Replace regular 'split' to 'shlex.split'. 2015-09-29 12:47:32 +02:00
schroeji
e70a199d69 Removed indentation in docstring. 2015-09-25 23:06:38 +02:00
schroeji
18062dd416 Moved the docstring and added usage examples. 2015-09-25 20:22:26 +02:00
Lukáš Mandák
68d11b2f81 Module: Log first then let bad things happen. :) 2015-09-25 19:37:53 +02:00
Lukáš Mandák
6d3c7eddc8 Module: More detailed logs for clickevents as suggested by @teto in #231. 2015-09-25 19:12:05 +02:00
Lukáš Mandák
4aa6b2a73c Docs: Updated docstring of run_through_shell. 2015-09-25 18:47:54 +02:00
Lukáš Mandák
30b73fe6d6 SettingsBase: Fixed logging for modules outside of i3pystatus directory i.e. modules defined directly in the config file. 2015-09-25 18:17:54 +02:00
Lukáš Mandák
d07168beb7 Module: Allow passing of arguments to callable callbacks. 2015-09-25 13:58:08 +02:00
Lukáš Mandák
32ab77c203 Module: External programs are launched in detached mode. 2015-09-25 13:57:09 +02:00
Lukáš Mandák
97e2ad7bba Fixed detached mode of execute and updated its docstring. 2015-09-25 13:55:56 +02:00
schroeji
e9835070e2 Fix for Travis CI 2015-09-25 11:15:56 +02:00
schroeji
675ddd8d08 Merge branch 'master' of https://github.com/enkore/i3pystatus into yaourt 2015-09-25 10:47:23 +02:00
facetoe
84d5fc8efc Remove PRAW deprecation warning. 2015-09-23 22:05:09 +08:00
enkore
4e8dd82792 Merge pull request #247 from gutodisse1/gutodisse1-patch-1
Update cpu_usage.py
2015-09-23 12:55:28 +02:00
enkore
a6e3aec2ee Merge pull request #253 from schroeji/master
Fixed a race condition which sometimes caused an empty output.
2015-09-23 12:54:23 +02:00
enkore
333a6dcdff Update moon.py 2015-09-23 12:53:59 +02:00
enkore
94ef50044e Merge pull request #245 from Elder-of-Ozone/master
Added moon phase module
2015-09-23 12:53:23 +02:00
enkore
dd87e5ee1c Merge pull request #250 from t3zla/spotify_improvements
I totally rewrote the spotify module as it needed work. Details inside
2015-09-23 12:51:43 +02:00
enkore
c70808ca1f mpd: don't change default error handling 2015-09-23 12:51:11 +02:00
Lukáš Mandák
4bfe04dab6 Module: Clickevents now do not wait for commands output. Fix for #254. 2015-09-22 10:35:42 +02:00
Lukáš Mandák
375b77178d Renamed 'run_in_background' to 'execute'. 2015-09-21 23:09:19 +02:00
schroeji
f577bd2bf9 Added aur_only mode for yaourt backend 2015-09-21 13:08:05 +02:00
schroeji
1e6e42a3d8 Fixed for Travis CI 2015-09-17 13:42:22 +02:00
schroeji
e6d88abaae Added yaourt backend for the updates script. 2015-09-17 12:10:49 +02:00
schroeji
f68d790ccc Removed spaces in front of the colons to pass Travis CI. 2015-09-17 10:46:37 +02:00
Holden Salomon
ca84690265 Fixed random flashing of the module output 2015-09-16 20:34:00 -04:00
schroeji
8a3b8c2112 Fixed a race condition which sometimes caused an empty output. 2015-09-16 23:25:34 +02:00
Sebastian Potasiak
ff0fa4737c Hide status information when MPD is not running 2015-09-14 20:38:09 +02:00
Sebastian Potasiak
df997058f8 Revert "Hide MPD information when not running"
This reverts commit 748ef06d8a.
2015-09-14 20:35:37 +02:00
Sebastian Potasiak
748ef06d8a Hide MPD information when not running 2015-09-14 20:34:40 +02: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
Aaron Fordham
a7460dc9e9 Adding moon phase module 2015-09-11 10:38:14 +00:00
Aaron Fordham
f8223286e0 Adding moon phase module 2015-09-11 10:32:43 +00:00
Aaron Fordham
78d9bdda27 Adding moon phase module 2015-09-11 09:13:10 +00:00
gutodisse1
12a9aeebb9 Update cpu_usage.py
Add color option on cpu_usage.py
2015-09-10 23:18:11 -03:00
Aaron Fordham
e939d54eaf Adding moon phase module 2015-09-10 23:41:04 +00:00
Aaron Fordham
ae8a57afdc Adding moon phase module 2015-09-10 12:05:29 +00:00
enkore
73b6d96e20 Merge pull request #241 from Arvedui/format_param_shell
Add format parameter to shell module
2015-09-10 12:59:45 +02:00
Arvedui
97ea1f76d3 fix docs build error 2015-09-06 14:43:48 +02:00
Arvedui
05a9cd551e fix docs code discrepancy and error reporting with non empty format strings 2015-09-06 14:01:42 +02:00
Arvedui
2a432c6bb2 add format parameter to shell module 2015-09-06 13:47:12 +02:00
Raphael Scholer
4823d56531 cmus - Use #fffff as default text color
This is the default for most modules.
2015-08-19 18:07:42 +02:00
Raphael Scholer
aaf8eb38ea cmus - Text can now be a different color, when cmus is not running 2015-08-19 18:07:42 +02:00
Raphael Scholer
2eb0abf596 cmus - Make expected result in Cmus.run clearer 2015-08-19 18:07:29 +02:00
Raphael Scholer
1f97408709 cmus - Allow changing of output when cmus is not running
This closes enkore/i3pystatus#226
2015-08-19 18:04:03 +02:00
Raphael Scholer
2b12fb6fe7 cmus - Expose status output mapping as a setting 2015-08-19 07:31:30 +02:00
Raphael Scholer
e979e28aec cmus - One line per from ... import 2015-08-19 07:14:49 +02:00
Raphael Scholer
a1f2636c3c cmus - Make Cmus.run() more pythonic
- Remove duplicate declaration of self.output
- Remove unneccesary stripping of artist and title information. This
  is take care of in the information gathering functions/methods.
- Group code into sections
- Make exit path more obvious
- Make retrival of filename more obvious
- Use more obvious variable names
2015-08-19 06:42:02 +02:00
Raphael Scholer
37c30f645d cmus - Make Cmus._query_cmus more pythonic
- Use string.partition instead of excessive slicing
- Use splitlines instead of split('\n'). This also reduces the times the
  for-loop is run.
2015-08-19 06:15:44 +02:00
Raphael Scholer
e943831b12 cmus - Remove unused class property 2015-08-19 06:00:07 +02:00
Raphael Scholer
6996c0b575 cmus - Update settings information
- Remove duplicate information (available formatters are also listed in
  docstriong)
- Add description for 'color' setting
2015-08-19 05:55:11 +02:00
Raphael Scholer
502000a467 cmus - Simplify extraction of artist and title information
The "fallback" did exactly what the preceeding code did.
2015-08-19 05:28:56 +02:00
Raphael Scholer
5583324c13 cmus - Use run_through_shell() 2015-08-18 21:21:16 +02:00
Raphael Scholer
0daf4ea0c1 cmus - Remove superflous empty line 2015-08-18 21:12:17 +02:00
Raphael Scholer
f93dfcde60 cmus - Replace double quote with single quote 2015-08-18 18:01:50 +02:00
enkore
fb8052ceb5 dota2wins: doc 2015-08-17 10:48:55 +02:00
enkore
5c6cb5e862 Merge pull request #236 from ismaelpuerto/master
Add module for view and change keyboard layout
2015-08-17 10:44:08 +02:00
enkore
2115c26c73 Merge pull request #235 from plumps/adding-lowbattery-command
added the alert_command option
2015-08-17 10:38:32 +02:00
enkore
50d396d761 Merge pull request #230 from SyxbEaEQ2/uptime_format
Added proper formatter for uptime module
2015-08-17 10:37:25 +02:00
enkore
3586dce9be Merge pull request #229 from opatut/dota2win-formatting
dota2win: allow formatting of win percentage by passing it as float
2015-08-17 10:36:56 +02:00
plumps
d1e3ee701a small typo 2015-08-14 11:53:13 +02:00
plumps
873de77294 little typo in critical_level 2015-08-14 11:48:35 +02:00
plumps
f6d30ab093 changed alert_command to critical_level_command
this change is made to differentiate the low-energy from the critical
level one better.

new options:
- critical_level_command="<some command>"
- critical_level_percentage=int
2015-08-14 11:45:56 +02:00
Ismael Puerto
793b1be032 fix commit e85425c 2015-08-12 16:15:06 +02:00
Ismael Puerto
097c42b5a8 Add module for view and change keyboard layout 2015-08-12 14:24:02 +02:00
plumps
f404874767 added the alert_command option
running a shell command before the battery is completely discharged
2015-08-10 18:41:49 +02:00
SyxbEaEQ2
9dea4258a4 Added proper formatter for uptime module 2015-07-24 14:52:43 +02:00
Paul Bienkowski
bea95ab5e4 dota2win: allow formatting of win percentage by passing it as float, not preformatted string
See example format on how to do that.
2015-07-21 17:42:22 +02:00
Paul Bienkowski
f81d903480 dota2wins: allow finding steam ID by username 2015-07-21 17:40:44 +02:00
Lukáš Mandák
6f2c8f2e40 Added run_in_background function. 2015-07-14 16:14:29 +02:00
Sergey Rublev
fe1755835d Added AnyBar widget 2015-07-06 23:28:10 +06:00
Lukáš Mandák
46794200fa StandaloneIO: Change all static and class methods to normal methods. 2015-06-22 17:34:10 +02:00
Lukáš Mandák
a63d7fe4d8 StandaloneIO: Remove unused variable from refresh_signal_handler. 2015-06-22 13:06:32 +02:00
Lukáš Mandák
3a33c8131b StandaloneIO: Added documentation for new methods. 2015-06-22 13:00:41 +02:00
Lukáš Mandák
8cca39bb1a StandaloneIO: Modules with above average intervals are refreshed in their own threads. This should prevent freezing of the bar caused by running all modules. 2015-06-22 12:27:58 +02:00
Lukáš Mandák
ba01a7af44 Click events: Modules output is udated and status line is refreshed after a valid click event callback is executed. 2015-06-22 11:43:52 +02:00
Lukáš Mandák
7dd99604be StandaloneIO: Responds to SIGUSR1 signal by refreshing outputs of all modules. 2015-06-22 11:32:46 +02:00
Lukáš Mandák
c042be12ed Module: on_click now returns True if a valid click event callback was found and executed, False otherwise. 2015-06-22 11:07:23 +02:00
Lukáš Mandák
fff0444151 Module: Fixed and documented 'text_to_pango' method. 2015-06-22 11:04:51 +02:00
enkore
14b35c6081 Fix failing test, therefore fixing #89 2015-06-21 20:24:22 +02:00
Lukáš Mandák
b501d22ad9 Moved hints documentation to Configuration section.
Added a few basic examples.
2015-06-19 22:27:16 +02:00
Lukáš Mandák
d802c7d3de Merge branch 'Master' into hints
# Conflicts:
#	i3pystatus/core/modules.py
2015-06-18 21:05:54 +02:00
Lukáš Mandák
0267454557 Module: Add hyperlinks to hints docstring. 2015-06-18 20:39:28 +02:00
enkore
394e80ad4e Some minor docstuff ; functionally equivalent 2015-06-17 18:11:49 +02:00
enkore
7df811b9a1 Add callbacks chapter 2015-06-17 18:11:40 +02:00
enkore
66b568afc6 Fix trailing whitespace 2015-06-17 15:55:33 +02:00
enkore
bbab4c0db0 setting util: add -l -v options 2015-06-17 15:50:10 +02:00
enkore
f5598b8b7c make setting_util zip_safe and location-independent 2015-06-17 15:10:24 +02:00
enkore
2a6d6bbea0 Move and ln-s setting_util there 2015-06-17 14:52:37 +02:00
enkore
56f6fd6a8b Create package i3pystatus.tools for additional command line tools 2015-06-17 14:52:24 +02:00
enkore
dee25535e7 Fix some warning from some glib-thing. 2015-06-17 14:07:43 +02:00
enkore
ff519fbde0 Remove shebangs and coding tags 2015-06-17 10:32:10 +02:00
David Wahlstrom
b2175b1931 dota2wins: truncate win % to 2 decimals
In order to avoid filling i3pystatus with super long decimals, this
patch sets the dota2win module to use only 2 decimal places for it's win
percent.
2015-06-17 10:27:05 +02:00
enkore
29d6a5c63b Merge pull request #217 from fpcr/feature/tot_bytes
Add total received/sent Mbytes to network module
2015-06-17 10:25:16 +02:00
David Wahlstrom
3ad6fc495c net_speed: allow bps or Bps
This patch provides a feature that allows the user to select between
Bits or Bytes when displaying the calculated network speed.  Also fixes
an issue that would sometimes cause the widget to break when
speedtest_cli couldn't find a good server.
2015-06-17 10:19:13 +02:00
David Wahlstrom
9c246bc60f net_speed: a module to display internet speeds
This module provides a glimpse/snapshot of current internet based
speeds.  To keep things simple (and due to bugs in speedtest_cli), this
module simply uses requests to download a small(ish) image and times the
download.  This is not a perfect/definitive test, but it should be a
decent indicator of how the internet bound traffic looks on the clients
network.
2015-06-17 10:18:58 +02:00
microarm15
46c6076f95 check whether files exist 2015-06-16 19:10:48 +02:00
microarm15
4742f74583 add whitespace around the / operator 2015-06-15 21:28:05 +02:00
microarm15
16ab492b84 add whitespace around the * operator 2015-06-15 20:15:45 +02:00
microarm15
475c788c0c add total rcv/snt Mbytes to network module 2015-06-15 18:57:41 +02:00
Lukáš Mandák
3d0142b74d Module: Added docs for hints.
Module: All modules now set `"markup": "none"` by default to prevent from #181.
Module: is now replacing ampersands with "&amp;" if output is to be parsed by pango.
2015-06-12 17:38:34 +02:00
enkore
c5fe29d258 Always log to file in home dir 2015-06-08 02:41:34 +02:00
enkore
e9b7c6c439 Don't print exceptions to stderr, log them instead, always force output 2015-06-08 02:41:04 +02:00
enkore
3a6319c1b9 Change default log level to WARNING (30) 2015-06-08 02:40:48 +02:00
enkore
63c7cc6523 Fix minor bug with required inherited settings in subclasses redefining them 2015-06-08 02:32:39 +02:00
Lukáš Mandák
040b765b5d Module: Replaced list comprehension for better code readability. 2015-06-06 18:17:38 +02:00
Lukáš Mandák
8d80b375a3 Module: Added hints setting that allows the user to add additional i3bar protocol blocks to module's output. 2015-06-06 14:15:48 +02:00
enkore
41003ef702 Remove unnecessary metaclass from IntervalModule 2015-06-06 12:49:13 +02:00
enkore
60470e4d7f Handle settings inheritance statically through a metaclass 2015-06-06 12:48:47 +02:00
enkore
e41d12079f Fix missing documentation of inherited settings 2015-06-06 12:37:51 +02:00
David Wahlstrom
b09e213e69 makewatch: remove uneeded modules
psutil is already included (line 25) and getpass is part of the stdlib.
2015-06-06 09:29:21 +02:00
David Wahlstrom
8b8a3db25c makewatch: Remove "user" setting
While there was documentation suggesting you could limit the search by
user, the code was not written to do such.  This could be implimented in
the future, but for now, I'm just going to remove the comment.
2015-06-06 09:29:18 +02:00
David Wahlstrom
7be136167d makewatch: a module to watch for make (or other long running) jobs
A module that will watch for (by default) make jobs and notify of their
status.  This can be used for other long-running processes by providing
an alternate 'name'.
2015-06-06 09:28:42 +02:00
enkore
317d96b176 docs 2015-06-06 00:48:45 +02:00
enkore
3a2542a266 Merge pull request #214 from claria/master
Add module for DPMS state
2015-06-06 00:03:11 +02:00
enkore
82959e117c Merge pull request #213 from gacekjk/master
CPU frequency module
2015-06-06 00:02:17 +02:00
gacekjk
adbb9c0165 changed docstrings to be more informative, removed unnecessary docstring 2015-06-05 22:23:33 +02:00
Georg Sieber
2fe7ad1c41 more formatting fixes 2015-06-05 21:39:17 +02:00
Georg Sieber
c569dd608f fixed formatting issues 2015-06-05 21:19:17 +02:00
Georg Sieber
19ea035e68 Add module for DPMS state 2015-06-05 21:08:32 +02:00
gacekjk
2f778885e6 code refactor, reformat and add docstrings 2015-06-05 17:23:21 +02:00
enkore
4e169b199e Merge pull request #211 from drwahl/master
Dota 2 win rate module
2015-06-05 16:49:26 +02:00
David Wahlstrom
22dc932e22 dota2wins: fix typo and remove uneeded modules
urllib and json are part of the standard library.
2015-06-05 06:21:21 -07:00
gacekjk
f8c803e1cb GHz values added 2015-06-05 15:04:03 +02:00
enkore
4383a34446 mail: fix incorrect specification of settings 2015-06-05 13:25:25 +02:00
enkore
375bbb6962 parcel: fix missing required setting 'name' 2015-06-05 13:25:10 +02:00
enkore
0a66c57f3b pomodoro: fix missing required setting 'sound' 2015-06-05 13:25:00 +02:00
gacekjk
d723ae47e3 added cpu frequency module 2015-06-05 04:13:37 +02:00
David Wahlstrom
a1a4127eed dota2wins: add screename identifier
Add the ability for a user to define a screenname or for the name to be
dynamically discovered from the API.
2015-06-04 12:47:03 -07:00
David Wahlstrom
3ce9c13a8a dota2win: provide overrides for color
While the default values for the colors are probably reasonable, this
patch provides the user with a way to override them.  This will be
particularly useful for colorblind users, or people who just don't like
the defaults.
2015-06-04 12:05:49 -07:00
David Wahlstrom
4963ac9c96 dota2wins: update discription 2015-06-04 11:07:46 -07:00
David Wahlstrom
69b565ac7d dota2wins: another pep8 compliance fix 2015-06-04 10:27:44 -07:00
David Wahlstrom
ebbe033a66 dota2wins: pep8 compliance 2015-06-04 10:21:40 -07:00
David Wahlstrom
d1d3fe332f Dota 2 win rate module
A Dota 2 win/loss module that helps track the win:loss ratio of
recent games.
2015-06-04 10:09:35 -07:00
enkore
588e8dfc88 openstack_vms: add format option 2015-06-03 23:05:37 +02:00
David Wahlstrom
5d4e893d7b Truncat openstack_vms output some
The output for openstack_vms was a bit too verbose, causing it too
consume too much of the status bar.  This patch uses smaller words
that may be less accurate, but portray the same general idea.
2015-06-03 13:45:43 -07:00
enkore
14ad898f78 Merge pull request #209 from richese/updates
Updates module
2015-06-03 20:44:12 +02:00
Lukáš Mandák
3a69a5d0eb Fixed typo. 2015-06-03 20:06:16 +02:00
David Wahlstrom
efcf36205d Remove unused import 2015-06-03 10:08:42 -07:00
David Wahlstrom
33aba21cd3 Fix typo 2015-06-03 10:06:07 -07:00
David Wahlstrom
31b8d423b4 Remove defaults documentation, as they are auto-gen 2015-06-03 09:46:19 -07:00
Lukáš Mandák
96ef3656c8 Simplified pacman and cower backends.
Fixed bug in `aptget` backend.
2015-06-03 16:43:24 +02:00
David Wahlstrom
8b299233cc Add mock module and additional documentation
This patch updates conf.py's mock_modules to include the required
python-novaclient module to ensure we have green tests.  This patch
also updates the openstack_vms.py description to be more explicit
about it's requirements.
2015-06-03 07:35:28 -07:00
David Wahlstrom
9134880d55 pep8 compliance for openstacK_vms.py 2015-06-03 07:32:55 -07:00
Lukáš Mandák
3496a7bae5 Checks for internet connection before running backends. 2015-06-03 12:19:17 +02:00
David Wahlstrom
6a63df5a72 Initial commit of openstack_vms.py
This patch provides an module for tracking the number of active and
non-active VMs in a given openstack cluster.  When non-"ACTIVE" VMs
are above a given threshold, the text will (by default) change to
red, thus indicating an issue.  Otherwise, the text will be green.
2015-06-03 00:13:12 -07:00
Lukáš Mandák
0b507807bc Updated docs. 2015-06-02 23:22:49 +02:00
Lukáš Mandák
7d48a00b1e Updated docs. 2015-06-02 22:49:12 +02:00
Lukáš Mandák
b47f099dcf Added backend for apt-get. 2015-06-02 19:40:18 +02:00
enkore
ffaf67eb61 Update network.py 2015-06-01 13:41:45 +02:00
Lukáš Mandák
a42d78c5c5 Added Update indicator module with pacman and cower backends. 2015-06-01 12:55:47 +02:00
enkore
e395fe31f1 Fix #206 - {kbs} doesn't work if no other traffic formatter is used 2015-05-28 00:52:38 +02:00
Mikael Knutsson
0bf17aa833 Fixed an accidental replace in a bullet list 2015-05-27 19:13:53 +02:00
Mikael Knutsson
848077dbfe Fixed a typo in not_present_text 2015-05-27 19:13:53 +02:00
Mikael Knutsson
01a4a04fa1 The tests now complete successfully! 2015-05-27 19:13:53 +02:00
Mikael Knutsson
3e8e0b8b18 Added a mention of the new "ALL" battery_ident value which will summarise all batteries available 2015-05-27 19:13:53 +02:00
Mikael Knutsson
2251889855 Add support for multiple batteries 2015-05-27 19:13:53 +02:00
enkore
e50a893aa3 openvpn: removed offensive space 2015-05-27 19:13:44 +02:00
facetoe
b06785cea9 Add module for monitoring openvpn connections. 2015-05-21 07:38:03 +08:00
facetoe
5448e38d14 Use named tuple for return value 2015-05-20 21:51:26 +08:00
enkore
a610722b6d Update backlight.py 2015-05-19 10:45:18 +02:00
enkore
05c4dd366b backlight: typos 2015-05-19 10:44:54 +02:00
enkore
ce0504bea0 Merge pull request #204 from pandada8/add_scroll_for_backlight
Add scroll support for backlight
2015-05-19 10:43:53 +02:00
Pandada8
80b44c9c55 Use run_though_shell rather than subprocess 2015-05-08 01:01:47 +08:00
Pandada8
0a3241ac30 pep8 and docs 2015-05-07 11:00:38 +08:00
Pandada8
babda71f9d Fix typo :( 2015-05-07 10:40:49 +08:00
Pandada8
3c01f85455 Add xbacklight support 2015-05-07 10:05:52 +08:00
enkore
c3b6f095ff Merge pull request #198 from richese/clock
Remove dependency on `pytz` in clock module.
2015-04-28 12:17:51 +02:00
krypt-n
7b696d948d Fixes newline issue in shell module 2015-04-28 10:51:23 +02:00
Lukáš Mandák
b6080422da Updated docs. 2015-04-13 15:51:05 +02:00
Lukáš Mandák
e31c58f1ad Remove dependency on pytz and datetime modules. 2015-04-13 12:25:52 +02:00
enkore
23ecdeed88 Merge pull request #195 from simon04/doc
Harmonize documentation wrt formatters
2015-04-10 10:16:59 +02:00
Simon Legner
f4fdea377d Weather: provide today's min/max temperature
The corresponding formatters are `{min_temp}`, `{max_temp}`,
respectively.
2015-04-07 19:46:10 +02:00
Simon Legner
72386c1fd3 Harmonize documentation wrt formatters 2015-04-07 19:40:28 +02:00
enkore
e92e93f0e7 Merge pull request #194 from theswitch/feature/pulse-default-sinks
Detect default sink changes in pulseaudio
2015-04-05 17:01:29 +02:00
enkore
ba7ca67453 Merge pull request #193 from simon04/direct_weather
Remove `pywapi` dependency from weather module
2015-04-05 17:00:47 +02:00
theswitch
bd7ed9704f pulseaudio: subscribe to default sink changes 2015-04-05 16:54:16 +10:00
Simon Legner
1976a83569 Fix PEP8 errors in weather module 2015-04-04 13:21:00 +02:00
Simon Legner
e2d07f8262 Remove pywapi dependency from weather module
The python-weather-api seems currently unmaintained and provides a thin
wrapper around the XML structure output from weather.com
2015-04-04 13:21:00 +02:00
enkore
83c04fd245 Merge pull request #191 from Arvedui/load_better_critical_default
Better default for critical load limit
2015-04-03 15:24:02 +02:00
enkore
e5c128ea39 Merge pull request #190 from facetoe/master
Truncate long error messages.
2015-04-03 15:22:23 +02:00
Arvedui
04fa8b0458 add fallback to multiprocessing.cpu_count because os.cpu_count is not available before 3.4 2015-03-29 12:40:31 +02:00
Arvedui
b353b5adc9 use os.cpu_count instead of the multiprocessing one 2015-03-29 12:36:10 +02:00
Arvedui
21ce8db120 adjusted docs 2015-03-29 12:24:09 +02:00
Arvedui
d73be0911e improve default for critical_limit in the load module 2015-03-29 12:21:51 +02:00
facetoe
3146b2a567 Add max_error_len to Github module. 2015-03-28 19:24:41 +08:00
facetoe
2701a22db4 Add method to truncate long error messages. 2015-03-28 19:10:13 +08:00
David Garcia Quintas
f81841c722 Fixed processing of dynamic_colors settings, previously ignored. 2015-03-22 14:30:29 -07:00
enkore
ab4bb9af20 Merge pull request #188 from facetoe/master
Truncate error message if it is too long.
2015-03-21 15:56:00 +01:00
facetoe
07b0244dd9 Merge https://github.com/enkore/i3pystatus 2015-03-21 20:17:24 +08:00
facetoe
e1edb1a9d8 Truncate error message if it is too long. 2015-03-21 20:15:33 +08:00
tyjak
ab25a1b6eb Merge remote-tracking branch 'upstream/master' 2015-03-16 21:43:45 +01:00
tyjak
09f6e27a7e fix output format 2015-03-16 21:32:03 +01:00
enkore
0182372d92 Merge pull request #178 from richese/fixes
Fixes
2015-03-16 16:03:20 +01:00
enkore
54d813877c Merge pull request #180 from facetoe/network_fix
Fixed bug that prevented color_up being shown if the user is not using network_traffic
2015-03-16 16:02:20 +01:00
enkore
d37eb9e890 Merge pull request #186 from facetoe/master
Remove 'u' prefix from unicode strings
2015-03-16 16:01:00 +01:00
facetoe
16b3799b91 Remove 'u' prefix from unicode strings as it is no longer required in Python3 2015-03-16 19:45:50 +08:00
Arvedui
194fc29e02 readded default intervall 1 but in the right way this time 2015-03-12 20:42:15 +01:00
facetoe
4209d7046c Fixed bug that prevented color_up being shown if the user is not using network_traffic. 2015-03-08 08:38:08 +08:00
tyjak
c2592e9272 Update network.py 2015-03-07 21:58:01 +01:00
Lukáš Mandák
013b15ffd4 Fixed dbus error when not using player autodetection. 2015-03-07 12:47:42 +01:00
Lukáš Mandák
efd1c5f09f fixed #177 2015-03-07 12:47:20 +01:00
Arvedui
6dbc2c78e5 remove the module specific and hard coded interval in cpu_usage 2015-03-01 14:54:12 +01:00
enkore
22b5abf899 Merge pull request #172 from Arvedui/mpd_truncation_improvment
Mpd truncation improvement
2015-02-23 20:57:39 +01:00
enkore
aadabc1a55 Merge pull request #171 from ixjlyons/disk-urgent
Disk module urgent output
2015-02-23 20:57:22 +01:00
enkore
ee56b48e2d Merge pull request #170 from gacekjk/master
added alert temperature handling
2015-02-23 20:56:19 +01:00
Arvedui
787e8d2623 fixed build failure 2015-02-22 15:03:32 +01:00
Arvedui
68813026e6 add functionalaty for deactivate truncation in mpd module 2015-02-22 14:54:01 +01:00
Arvedui
d0692798b7 fix a documentation issue 2015-02-22 14:29:48 +01:00
Arvedui
2bcef67c83 some changes to prevent recomputation of the output string if no truncation is done 2015-02-22 14:17:03 +01:00
Arvedui
87b57ce838 some clarification in docs about the truncation order 2015-02-22 14:14:58 +01:00
Arvedui
cceb032576 rename text_len to max_field_len, add max_len parameter and some logic to truncate certain fields if output len exceeds max_len 2015-02-22 14:10:36 +01:00
Kenneth Lyons
912be61900 Output should not be urgent if available space is greater than the critical limit. 2015-02-21 16:53:41 -08:00
gacekjk
40a9291cef added alert temperature handling 2015-02-21 22:21:52 +01:00
facetoe
cb8f4225bd Fixed bug that prevented user-defined keyring being used. 2015-02-16 21:09:59 +08:00
facetoe
c051e01959 Added documentation of keyring feature. 2015-02-14 10:40:58 +08:00
facetoe
61a8669eca Removed POC NetrcBackend. 2015-02-14 10:07:30 +08:00
facetoe
7fa5c10787 Added keyring_backend to the settings tuple. 2015-02-13 19:53:08 +08:00
David Foucher
5432a9faa1 synchro
Merge branch 'master' of github.com:tyjak/i3pystatus
2015-02-09 22:55:38 +01:00
David Foucher
b6f6eeaf36 Add option to choose bitcoin symbol 2015-02-09 22:54:11 +01:00
tyjak
a28f29cf8f format wifi percentage 2015-02-08 14:34:04 +01:00
David Foucher
7d8ebb948f Better percentage format 2015-02-07 00:06:09 +01:00
facetoe
9324f06a3c Added keyring_backend variable. 2015-02-01 09:31:13 +08:00