Commit Graph

690 Commits

Author SHA1 Message Date
Arvedui
2a432c6bb2 add format parameter to shell module 2015-09-06 13:47:12 +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 "&" 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