tobi-wan-kenobi
6b20d09d60
[doc] update notes
2020-04-11 08:59:11 +02:00
tobi-wan-kenobi
bda153720f
[modules/brightness] Use tools also for reading backlight info
2020-04-11 08:58:34 +02:00
tobi-wan-kenobi
ab55cd6514
[doc] Improve theme howto
2020-04-11 08:46:09 +02:00
tobi-wan-kenobi
9b50e96b21
[modules/progress] Update to latest API
2020-04-10 17:11:06 +02:00
tobi-wan-kenobi
55c8f6af28
[modules/progress] double to single quotes
2020-04-10 16:58:54 +02:00
tobi-wan-kenobi
8875e75734
[modules] Re-add "progress"
2020-04-10 16:58:19 +02:00
tobi-wan-kenobi
1cab99175b
[core/theme] slight improvements for clarity
2020-04-10 16:56:15 +02:00
tobi-wan-kenobi
99a6a11e3a
[core/output] Fix drawing of separator backgrounds
2020-04-08 14:13:18 +02:00
tobi-wan-kenobi
20044762af
[core/config] Ignore malformed parameters
2020-04-08 11:50:00 +02:00
tobi-wan-kenobi
f22561cf90
[core/module] remove debug output
2020-04-08 11:48:16 +02:00
tobi-wan-kenobi
cde06bd33b
[core/module] Re-enable aliases
2020-04-07 21:23:42 +02:00
tobi-wan-kenobi
be4e901e42
[doc] update notes
2020-04-07 21:04:22 +02:00
tobi-wan-kenobi
c4762d92f7
[core/theme] slight refactoring
2020-04-07 21:00:55 +02:00
tobi-wan-kenobi
32e5d633f4
[core/output] Add tests for pango formatting
2020-04-07 20:59:26 +02:00
tobi-wan-kenobi
2b8eda9d72
[modules/error] Add simple module to show bumblebee errors
2020-04-07 20:44:10 +02:00
tobi-wan-kenobi
c0cc1ccd75
[core] Remove "intelligent" theme accessors
...
To simplify code, remove the auto-generated theme accessors for
attributes, and instead use a generic "get" method.
2020-04-07 20:44:01 +02:00
tobi-wan-kenobi
f32affa563
[modules/shell] Fix missing trim of output string
...
Remove starting/trailing whitespaces, \n etc.
fixes #592
2020-04-06 08:23:17 +02:00
tobi-wan-kenobi
23215303ca
[core] Add "merged" pango support
...
With this commit, it is possible to add pango directives inside every
piece that supports direct output (e.g. defaults/prefix or <module
name>/prefix) and those will be merged - i.e. it is possible to specify
defaults inside "defaults" and override/specify in the particular
modules.
2020-04-05 14:57:52 +02:00
tobi-wan-kenobi
e653624f5a
[core/output] Re-enable basic pango support
...
Re-enable pango as simple "pango" dict wherever a normal value (e.g.
prefix, suffix) can go.
2020-04-05 14:27:09 +02:00
tobi-wan-kenobi
37cca1c3b9
[core/output] Fully switch to i3 block abstraction
...
According to the unit tests, at least, the old functionality is back
again - with the additional i3 block abstraction in output in place.
Also, pango support is temporarily removed again and will be
re-implemented based on the new architecture.
2020-04-05 13:58:59 +02:00
tobi-wan-kenobi
f5052473fb
[core] Add preliminary block abstraction to output
...
The idea is to simplify the way the output module currently works by:
- introducing an abstraction that represents blocks; these abstractions
contain all data - uninterpreted - required to draw a block
- separately from that, whenever the block is serialized into JSON,
do the interpretation (pango vs. non-pango, etc.)
This - theoretically - should simplify code by creating two separate
concerns: collecting the data and actually interpreting it.
2020-04-05 10:53:17 +02:00
tobi-wan-kenobi
b5c2ca6ccf
[core/output] Add generic pango support
...
Allow any piece of a theme that specifies a set of attributes (default,
cycles, states, widgets) to use pango *instead* of the usual attributes.
If pango is present, this will have precedence.
A practical example of this can be found in the powerline-pango theme,
which is added solely for demonstration purposes.
fixes #531
2020-04-04 14:38:37 +02:00
tobi-wan-kenobi
89247d834b
[core/widget] Use __ for private variables
2020-04-04 13:58:22 +02:00
tobi-wan-kenobi
7547537c81
[core/event] Remove debug output
2020-04-04 13:57:54 +02:00
tobi-wan-kenobi
a6eb6c3a11
[core/output] Use __ for private variables
2020-04-04 13:57:42 +02:00
tobi-wan-kenobi
3aeec1c7e6
[core/module] Use __ for private variables
2020-04-04 13:55:54 +02:00
tobi-wan-kenobi
476b2000f9
[core/config] Use __ for private variables and methods
2020-04-04 13:54:08 +02:00
tobi-wan-kenobi
04fc9867ac
[core/input] Move event handling to core.event
...
Until now, bumblebee-status did event handling in two places with almost
identical code: in core.event (makes sense) and core.input (still makes
sense, but a bit more dubious).
Changed core.input to use core.event
2020-04-04 13:52:10 +02:00
tobi-wan-kenobi
a43917594e
[tests/event] Add some more tests for trigger-time args
2020-04-04 08:44:41 +02:00
tobi-wan-kenobi
52e5ad7b43
[core/input] Handle exceptions for non-existent commands
2020-04-04 08:17:35 +02:00
tobi-wan-kenobi
944b223f1e
[doc] small updates
2020-04-04 08:04:48 +02:00
tobi-wan-kenobi
77443b7802
[tests/theme] Add more theme tests
2020-04-04 08:03:03 +02:00
tobi-wan-kenobi
a71828f0b4
[modules/weather] Small improvements
2020-04-04 07:47:53 +02:00
tobi-wan-kenobi
a7effbff78
[modules/weather] move to contrib
2020-04-02 22:10:37 +02:00
tobi-wan-kenobi
5ff0269662
[modules/weather] Update to new API
2020-04-02 22:10:18 +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
18154dd74f
[modules] Adjust update schedules
...
Make a few modules update more seldomly, to reduce CPU consumption.
2020-04-02 16:30:31 +02:00
tobi-wan-kenobi
0f6dfb3f1a
[core/input] do not throw on wrong event type
...
until now, if a module had registered callbacks, events for nonexistent
buttons caused the trigger mechanism to raise an exception.
2020-04-02 16:21:07 +02:00
tobi-wan-kenobi
2756f8fbb3
[core/theme] Fix retrieval of rotating theme values (e.g. battery)
...
When rotating theme values (e.g. the "charge" icon of the battery
module(s)), until now, the code just showed the raw list (because it
wasn't aware of the need to rotate).
2020-04-02 12:51:08 +02:00
tobi-wan-kenobi
658fbd2c1c
[modules/hddtemp] Update to new API
2020-03-31 21:06:44 +02:00
tobi-wan-kenobi
52ca6e5a43
[modules/hddtemp] double to single quotes
2020-03-31 21:03:30 +02:00
tobi-wan-kenobi
0873a58dc0
[modules] Re-added hddtemp
2020-03-31 21:03:07 +02:00
tobi-wan-kenobi
885cc09636
[core/output] Add some more tests
2020-03-31 20:57:09 +02:00
tobi-wan-kenobi
232dcb733e
[doc] Improve HOWTO_MODULE
2020-03-30 21:51:46 +02:00
tobi-wan-kenobi
f262080e78
[modules/shell] Small refactoring
...
Use threads a bit differently do make do with fewer helper functions.
2020-03-30 21:18:28 +02:00
tobi-wan-kenobi
422a9986b4
[modules/shell] Update to new API
2020-03-30 21:09:09 +02:00
tobi-wan-kenobi
251a23d2f1
[modules/shell] double quotes -> single quotes
2020-03-30 20:56:35 +02:00
tobi-wan-kenobi
006a729be3
[modules] re-add shell module
2020-03-30 20:56:08 +02:00
tobi-wan-kenobi
95410e4adf
[core/input] __ for private variables, use id as property
2020-03-29 14:43:04 +02:00
tobi-wan-kenobi
428b627daf
[core/events] Use __ for private variables
2020-03-29 14:37:30 +02:00