tobi-wan-kenobi
6f4f163a7d
[core/layout] use python-only layout detection
...
remove precompiled binary and make the layout module
fall back to the python implementation.
fixes #883
2022-07-03 14:02:38 +02:00
tobi-wan-kenobi
dfd23a44de
[modules/layout] add a new - generic - layout module
...
Add a new module "layout" that will eventually evolve into the only
keyboard layout module.
Right now, it uses an external binary (get-kbd-layout) to determine the
layout of a keyboard device (because I did not manage to call libX11
with ctypes correctly).
see #788
see #790
2021-05-16 21:09:58 +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
9ef826b5fd
[core] fix tests
2020-05-08 21:01:45 +02:00
tobi-wan-kenobi
d2f796baa9
[util/store] add docstrings
2020-05-05 20:37:00 +02:00
tobi-wan-kenobi
456a3ec4a4
[util] add docstrings
2020-05-05 19:55:37 +02:00
tobi-wan-kenobi
30c1f712a6
[formatting] reformat using "black -t py34"
...
getting rid of thinking about consistent formatting...
2020-05-03 11:15:52 +02:00
tobi-wan-kenobi
289a4bad41
[modules/deadbeef] Update to latest API
2020-04-30 20:34:34 +02:00
tobi-wan-kenobi
fae06da446
[modules/battery] Rewrite for bigger reuse
2020-04-19 14:07:15 +02:00
tobi-wan-kenobi
74c25ba2ee
[util] Add central geolocation info library
2020-04-15 13:25:51 +02:00
tobi-wan-kenobi
4b402438cc
[modules/vault] Update to new API
2020-04-11 13:35:12 +02:00
tobi-wan-kenobi
464a165c8b
[util] Add popup utility
2020-04-11 13:35:04 +02:00
tobi-wan-kenobi
f46796c653
[util/graph] Re-enable braille charts
2020-04-11 09:11:15 +02:00
tobi-wan-kenobi
a71828f0b4
[modules/weather] Small improvements
2020-04-04 07:47:53 +02:00
tobi-wan-kenobi
d0200b656d
[core/config] Allow string formatted intervals
...
Allow users to specify intervals such as '5m', for convenience
2020-04-02 16:55:36 +02:00
tobi-wan-kenobi
422a9986b4
[modules/shell] Update to new API
2020-03-30 21:09:09 +02:00
Tobias Witek
8efa101380
[util/format] Tests and minor renaming
2020-03-07 13:33:28 +01:00
Tobias Witek
b841ba3c93
[modules/battery] Re-enable battery module
2020-03-06 20:57:32 +01:00
Tobias Witek
56a6173282
[modules/memory] Simplify and use util methods
2020-03-06 14:52:16 +01:00
Tobias Witek
533b8ca0cc
[modules] Re-add module nic
2020-03-01 14:36:12 +01:00
Tobias Witek
b2064142d0
[util] Add graph library
...
Add a library for drawing horizontal and vertical bar graphs (thanks to
@somospocos for contributing!)
2020-02-23 13:59:22 +01:00
Tobias Witek
30c539f1f2
[util/cli] Add option to ignore return codes
...
Add an option that ignores the return code of an execute, instead of
throwing an error (which sometimes causes ugly try/except blocks in
client code)
2020-02-23 13:44:49 +01:00
Tobias Witek
7a1cd4b613
[util] Add 'formatting' utility methods
...
Add helpers to unify formatting of bool/list/int values.
2020-02-23 13:43:44 +01:00
Tobias Witek
3bb857f250
[core/theme] Add iconset support
...
Allow themes to specify iconsets. To do so, add a new util library
"util.algorithm", which currently contains support for deep merging of
dicts.
2020-02-22 14:07:24 +01:00
Tobias Witek
fca364554e
[core/output] Add id of widget and module to output
...
In the process of that, fix a bug in how the parent class constructors
were invoked.
2020-02-08 13:45:52 +01:00
Tobias Witek
9d4936b596
[util/cli] Add new CLI utilities
...
For now, this just allows executing commands
2020-02-08 13:39:35 +01:00
Tobias Witek
8a2ef5ea5d
[core] Add util.store for store-like get/set
2020-01-25 14:20:25 +01:00