Commit graph

2784 commits

Author SHA1 Message Date
tobi-wan-kenobi
922575fcda [core/widget] make arbitrary modules scrollable
Use a boolean parameter "scrolling" that's applied generically to
modules to allow arbitrary modules to scroll.

see #606

TODO: Add to documentation
2020-05-18 13:13:06 +02:00
tobi-wan-kenobi
e359c75603 [core/widget] remove module from widget initializer 2020-05-18 12:59:47 +02:00
Zero Rust
2fcd277cf9 Merge branch 'development' into arandr 2020-05-18 06:58:07 -04:00
tobi-wan-kenobi
fbbd95b7a8 [modules/network_traffic] Minor refactoring 2020-05-18 12:56:41 +02:00
tobi-wan-kenobi
172781d2c4
Merge pull request #631 from zerorust/fix_network_traffic
Fix network_traffic mobule on development
2020-05-17 14:15:00 +02:00
Zero Rust
f5d296df80 adding first version of arandr module to contrib 2020-05-17 08:03:03 -04:00
Zero Rust
e339158aed updating all icon sets for arandr icon 2020-05-17 07:56:58 -04:00
Zero Rust
a16536ad3c adding prefix icon to arandr 2020-05-17 07:52:32 -04:00
Zero Rust
6d89cef600 cleaning up to match style 2020-05-17 07:16:33 -04:00
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