Commit graph

2207 commits

Author SHA1 Message Date
tobi-wan-kenobi
77287408e1 [README] bump module count 2020-04-11 13:41:23 +02:00
tobi-wan-kenobi
c77c5c9c0d
Merge pull request #597 from bendardenne/watson
Added module for watson
2020-04-11 13:40:52 +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
2837a78502 [modules/error] Minor refactoring 2020-04-11 13:21:41 +02:00
tobi-wan-kenobi
1a5a324498 [core/module] improved handling of import errors
Now, the error message includes the name of the module that was not
imported, and there's checks to ensure the "more specific" error (i.e. a
failing import *inside* the module) "wins".
2020-04-11 12:59:39 +02:00
tobi-wan-kenobi
801eceddd2 [modules/vault] quotes 2020-04-11 12:49:25 +02:00
tobi-wan-kenobi
de42edc6b7 [modules] re-add vault 2020-04-11 12:49:04 +02:00
Benoît Dardenne
3b2b9bfc0c Added module watson 2020-04-11 11:48:05 +02:00
tobi-wan-kenobi
d2c3a41db8 [doc] update notes 2020-04-11 09:26:28 +02:00
tobi-wan-kenobi
22c91e352e [modules/publicip] Update to new API 2020-04-11 09:20:19 +02:00
tobi-wan-kenobi
818c0edbc4 [modules/publicip] quotes 2020-04-11 09:15:51 +02:00
tobi-wan-kenobi
a2865f941d [modules] Re-add publicip module 2020-04-11 09:15:29 +02:00
tobi-wan-kenobi
c998af5649 [modules/traffic] Update to new API 2020-04-11 09:11:24 +02:00
tobi-wan-kenobi
f46796c653 [util/graph] Re-enable braille charts 2020-04-11 09:11:15 +02:00
tobi-wan-kenobi
008f0dc4f2 [modules/traffic] update quotes 2020-04-11 09:02:47 +02:00
tobi-wan-kenobi
605b3bc20b [modules] Re-enable traffic module 2020-04-11 09:02:11 +02:00
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
d57bbc28fe [modules/vpn] Add experimental wireguard support
fixes #595
2020-04-10 16:46:15 +02:00
tobi-wan-kenobi
3a376a4ad2
Merge pull request #596 from martindoublem/smartstatus
[smartstatus] Added support for nvme SSDs
2020-04-10 16:41:55 +02:00
Martin
cb3351f8a3 [smartstatus] Added support for nvme SSDs 2020-04-10 14:09:16 +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
079f87e046
Merge pull request #591 from soykan/patch-1
Fixing no internet crash (Sun Module)
2020-04-05 13:22:54 +02:00
Soykan Ertürk
62fac70309
Fixing no internet crash 2020-04-05 13:29:56 +03: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
efb67357cf
Merge pull request #590 from soykan/patch-1
arch-update module requirement
2020-04-05 10:43:18 +02:00
Soykan Ertürk
5d7af8fc80
Requirement of arch update 2020-04-05 10:28:39 +03:00
Soykan Ertürk
8ef0edc1cb
requirement comment 2020-04-05 10:18:49 +03: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