Commit graph

2475 commits

Author SHA1 Message Date
tobi-wan-kenobi
1355a7e5d3 [core/decorators] add docstrings 2020-05-16 15:28:15 +02:00
tobi-wan-kenobi
a697500491 [core] add debugging around click events
log commandline outputs and errors. allow input handlers to be
configured as "waiting" for debugging purposes.

see #628
2020-05-16 15:16:23 +02:00
Zero Rust
f2d6f2f319 moving the module setter to after module init 2020-05-16 07:24:14 -04:00
tobi-wan-kenobi
02a80840a1 [core] more black'ing 2020-05-16 12:00:55 +02:00
tobi-wan-kenobi
ef4d87af8e [CI] update CI config 2020-05-16 12:00:48 +02:00
tobi-wan-kenobi
7584366adc [tests] add more tests 2020-05-16 11:57:27 +02:00
tobi-wan-kenobi
eea3c758de [core/input] Invoke commands in a subshell
add shell capability to util.cli and make sure that the input module
uses that to reliably spawn whatever command the user wants to run.

see #628
2020-05-16 11:43:43 +02:00
tobi-wan-kenobi
06fa453d71
Merge pull request #630 from TheEdgeOfRage/development
Handle n+1 characters in the scrolling decorator
2020-05-16 11:43:29 +02:00
Pavle Portic
a8df4a5f9d
Handle n+1 characters in the scrolling decorator 2020-05-15 20:31:37 +02:00
tobi-wan-kenobi
3bb2fb8247 [core/module] add missing registration of input events via CLI
see #628
2020-05-15 19:59:13 +02:00
tobi-wan-kenobi
bfe5d8f493 [module/battery] exception typo
see #628
2020-05-15 19:48:10 +02:00
tobi-wan-kenobi
835ed070e5 [core/module] Add docstrings 2020-05-15 10:22:10 +02:00
tobi-wan-kenobi
1b53e7ecf2 [util/popup] add docstrings 2020-05-15 10:07:07 +02:00
tobi-wan-kenobi
bc382e67d3 [general] black code some more 2020-05-14 20:36:01 +02:00
tobi-wan-kenobi
526560ea54 [core/decorators] use difflib to make scrolling reset detection fuzzy
when scrolling text that is subject to *slight* changes (e.g. a song
that contains the current position within the song), allow for slight
variations in the displayed text.

fixes #629
2020-05-14 20:35:09 +02:00
tobi-wan-kenobi
0238d59f8b [docs] add night-powerline 2020-05-12 07:14:18 +02:00
tobi-wan-kenobi
bb24d4371c
Merge pull request #627 from LtPeriwinkle/night-powerline-theme
Night powerline theme
2020-05-12 07:12:40 +02:00
LtPeriwinkle
583d76f220 Create night-powerline.png
screenshot for night-powerline theme
2020-05-11 16:03:22 -07:00
LtPeriwinkle
0123bb83f9 Create night-powerline.json
similar to greyish-powerline but made the good/warning/bad colors less obtrusive and added a third cycle color
2020-05-11 15:54:54 -07:00
LtPeriwinkle
a964abaa11 Revert "Create night-powerline.json"
This reverts commit eef2ab3141.
2020-05-11 15:50:52 -07:00
LtPeriwinkle
eef2ab3141 Create night-powerline.json
similar to grayish theme, but muted the good/warning/bad colors so they are less distracting and added a third cycle
2020-05-11 15:49:45 -07:00
tobi-wan-kenobi
3fdd2d2be6 [modules/arch-update] Gracefully handle exit code 2
fixes #624
2020-05-11 15:10:20 +02:00
tobi-wan-kenobi
f2aa006130 [github] re-enable pip publish workflow 2020-05-10 13:26:52 +02:00
tobi-wan-kenobi
b4f8870a95 [doc] update API docs 2020-05-10 13:25:13 +02:00
tobi-wan-kenobi
8ca036bc4c [util/graph] Add API documentation 2020-05-10 13:15:47 +02:00
tobi-wan-kenobi
106bb9e8c3 [util/graph] Remove docstrings in prep for more complete documentation 2020-05-10 13:07:08 +02:00
tobi-wan-kenobi
560083ce0c [docs] Update API doc to new package structure 2020-05-10 13:05:20 +02:00
tobi-wan-kenobi
f78981b226 [packaging/pip] Add test_suite
Hope it works like this...
2020-05-10 13:01:40 +02:00
tobi-wan-kenobi
b803f385a1 [tests] Fix failing tests 2020-05-10 12:56:30 +02:00
tobi-wan-kenobi
c560c07890 [packaging/pip] Make binary utility tools functional 2020-05-10 12:52:20 +02:00
tobi-wan-kenobi
92577e7d26 [all] black code :) 2020-05-09 21:24:28 +02:00
tobi-wan-kenobi
320827d577 [core] restructure to allow PIP packaging
OK - so I have to admit I *hate* the fact that PIP seems to require a
subdirectory named like the library.

But since the PIP package is something really nifty to have (thanks to
@tony again!!!), I updated the codebase to hopefully conform with what
PIP expects. Testruns so far look promising...
2020-05-09 21:22:00 +02:00
tobi-wan-kenobi
1d25be2059 [doc] update module documentation 2020-05-09 15:31:25 +02:00
tobi-wan-kenobi
3ce8e2f278 [doc] Add content to "writing a theme" 2020-05-09 15:16:25 +02:00
tobi-wan-kenobi
b3200abb23 [doc] update notes 2020-05-09 10:58:49 +02:00
tobi-wan-kenobi
99e3571eee [modules] remove setting widgets via "self.widgets(new list)"
use self.add_widget() for all modules
2020-05-09 10:57:44 +02:00
tobi-wan-kenobi
85ac953111 [modules/arch-update] Better handling of errors in checkupdates
see #624
2020-05-09 10:22:26 +02:00
tobi-wan-kenobi
a8f4d3f9c6 [modules/octoprint] Add missing contribution 2020-05-09 10:19:11 +02:00
tobi-wan-kenobi
9ef826b5fd [core] fix tests 2020-05-08 21:01:45 +02:00
tobi-wan-kenobi
dd4294ecfa [modules] move some modules into contrib, as appropriate 2020-05-08 20:59:38 +02:00
tobi-wan-kenobi
21049b9b03 [modules] Add contributions to (hopefully!) all modules 2020-05-08 20:58:35 +02:00
tobi-wan-kenobi
5dcf9f9c9d [modules/arch-update] fix typo 2020-05-08 16:24:10 +02:00
tobi-wan-kenobi
3033c6646c [util/xrandr] Add binaries for rewriting i3 config 2020-05-08 16:18:32 +02:00
tobi-wan-kenobi
41f8f31dd8 [modules/redshift] Use boolean format, rename parameter 2020-05-08 16:14:07 +02:00
tobi-wan-kenobi
7d8b659a55 [modules/smartstatus] Use common boolean format 2020-05-08 16:12:34 +02:00
tobi-wan-kenobi
7d7324f6ed [modules/docker_ps] upper -> lowercase (personal preference) 2020-05-08 16:10:27 +02:00
tobi-wan-kenobi
e4f7019f5b [modules/arch-update] log exceptions 2020-05-08 16:09:51 +02:00
tobi-wan-kenobi
fde51b3f79
Merge pull request #625 from martindoublem/martin-development
Improved three modules in showing more compacted info with new parameters
2020-05-08 16:08:54 +02:00
tobi-wan-kenobi
e7eef7f028 [modules/arch-update] catch more error
see #624
2020-05-07 20:10:58 +02:00
tobi-wan-kenobi
b3e4c7503b [doc] add note about module RST documentation 2020-05-07 20:07:02 +02:00