Commit graph

16 commits

Author SHA1 Message Date
mw
0b9829bc77 Make pylint happy 2019-09-02 16:42:25 +02:00
mw
4743558a68 Add fixes 2019-09-01 22:54:38 +02:00
mw
2c861a3092 Clean up 2019-09-01 22:38:22 +02:00
mw
b59ecc8aac PoC use double fork to escape SIGSTOP 2019-08-28 00:09:04 +02:00
mw
6652a581df PoC using xdg-screensaver's suspend mechanisms 2019-08-27 21:31:50 +02:00
mw
c05fc3ae4d Add some basic error handling in case the executables don't exist 2019-08-25 21:08:00 +02:00
mw
61fe85842a Use xdg-screensaver instead of xset 2019-08-25 20:53:42 +02:00
mw
7b08777d77 Add support for switching dpms 2019-06-19 22:26:48 +02:00
Tobi-wan Kenobi
87714f12ee [modules/*] Add required executables/commandline tools to help output
fixes #39
2017-01-05 04:55:14 +01:00
Tobi-wan Kenobi
71582cbcd7 [modules/ping] Re-enable ping module
Show RTT measured by ICMP echo request/replies for a given host.

For that to work correctly, change the "full_text" callback for a widget
so that the widget itself is also passed as argument in the callback
method. That actually makes a lot of sense, since the widget can now be
used as a repository of state information.

see #23
2016-12-11 11:37:24 +01:00
Tobi-wan Kenobi
771c597ce9 [modules/caffeine] Re-implement caffeine module
Add caffeine module & add a framework for testing it (no tests yet,
though).

see #23
2016-12-10 15:36:18 +01:00
Tobi-wan Kenobi
a8a6c9bba2 [core] Refactor engine
This is going to be a bit more comprehensive than anticipated. In order
to cleanly refactor the core and the engine, basically start from
scratch with the implementation.

Goals:

* Test coverage
* Maintain backwards compatibility with module interface as much as
  possible (but still make modules easier to code)
* Simplicity

see #23
2016-12-03 20:38:54 +01:00
Tobi-wan Kenobi
2f3f171ca5 [core] Remove alias from module
Hide alias concept for modules in the engine. That way, the individual
modules never get to know about whether a module has been aliased or
not.

see #23
2016-12-02 18:53:34 +01:00
Tobi-wan Kenobi
027541126d [modules/caffeine] Enable status change notifications
Now that multi-command callbacks work, enable caffeine status change
notifications via "notify".
2016-11-23 18:29:05 +01:00
Pavle Portic
d2e3a19269 [modules/caffeine] Fix times for screen on time 2016-11-23 14:08:34 +01:00
Pavle Portic
be6559a251 [modules/caffeine] Add caffeine module to prevent sleep 2016-11-23 13:57:29 +01:00