Commit graph

2515 commits

Author SHA1 Message Date
tobi-wan-kenobi
1156b428d0
Merge pull request #583 from martindoublem/sensors
Spell fix and documentation upgrade
2020-03-27 21:30:33 +01:00
Martin
49e6c33a9f Spell fix and documentation upgrade 2020-03-27 15:40:48 +01:00
tobi-wan-kenobi
908ef67109 [core/widget] bump test coverage 2020-03-27 13:54:22 +01:00
tobi-wan-kenobi
e3bca53ca2
Merge pull request #582 from martindoublem/sensors
[module] sensors2 made selective
2020-03-27 13:31:31 +01:00
tobi-wan-kenobi
733e182b31
Merge pull request #580 from soykan/patch-1
Requirements of sun module
2020-03-27 13:29:22 +01:00
tobi-wan-kenobi
46d568b5b1
Merge pull request #581 from soykan/patch-2
Requirements of sun module
2020-03-27 13:29:04 +01:00
Martin
4e74b165e0 [module] sensors2 made selective
made the module sensors2 selective by adding the following parameters and their handling:

    * sensors2.chip_include: Comma-separated list of chip to include (defaults to "" will include all by default, example: "coretemp,bat")
    * sensors2.chip_exlude:Comma separated list of chip to exclude (defaults to "" will include none by default)
    * sensors2.field_include: Comma separated list of chip to include (defaults to "" will include all by default, example: "temp,fan")
    * sensors2.field_exlude: Comma separated list of chip to exclude (defaults to "" will exclude none by default)
    * sensors2.chip_field_exclude: Comma separated list of chip field to exclude (defaults to "" will exclude none by default, example: "coretemp-isa-0000.temp1,coretemp-isa-0000.fan1")
    * sensors2.chip_field_include: Comma-separated list of adaper field to include (defaults to "" will include all by default)

The chip, field are findable by using sensors -u
2020-03-26 23:01:28 +01:00
Soykan Ertürk
ba42e819b7
Requirements of sun module 2020-03-27 00:22:52 +03:00
Soykan Ertürk
4e36f29351
Requirements of sun module 2020-03-27 00:22:46 +03:00
Tobias Witek
9755a70578 [tests] Make tests pass again (configurable update interval) 2020-03-23 15:40:53 +01:00
Tobias Witek
e8288ef793 [core] Add per-module interval configuration
Allow individual modules to set different update intervals by using an
overriding 'interval' parameter.

see #574
2020-03-23 15:32:06 +01:00
tobi-wan-kenobi
7adc1df088
Merge pull request #578 from TheEdgeOfRage/master
[module/cmus] Add server and passwd parameters
2020-03-23 12:41:55 +01:00
Pavle Portic
09c0e741c3
[module/cmus] Add server and passwd parameters 2020-03-21 15:28:44 +01:00
Tobias Witek
be1aff1041 [doc] Update module count 2020-03-20 13:18:36 +01:00
tobi-wan-kenobi
42d62581a7
Merge pull request #575 from martindoublem/bluetooth
[module] New module bluetooth2
2020-03-20 13:17:17 +01:00
Martin
8fe444aeca [module] New module bluetooth2
I was unhappy with how the module bluetooth functioned so I decided to write a new one

This is the result. The module tries to find adapters ON with bluetoothctl list initally
if none are there, then it assumes it is off and check if any adapters are present with rfkill list

State were added

as well as the number of devices

I also made it so that the toggle works

I was initally going to push this as bluetooth but decided it was so different so to push it as a different module.

python-dbus is a dependency
2020-03-19 00:59:20 +01:00
tobi-wan-kenobi
d90af8c257
Merge pull request #573 from martindoublem/docker
[module] improvement of docker_ps by adding states
2020-03-18 12:56:23 +01:00
Martin
1e2f1243f0 [module] improvement of docker_ps by adding states
Added state to the module to indicate when no containers are running, vs daemon off, container running
2020-03-17 23:06:43 +01:00
Tobias Witek
0e538a6088 [modules/weather] double quotes to single quotes 2020-03-15 14:05:26 +01:00
Tobias Witek
633bbdd6ff [modules] Reimport weather module 2020-03-15 14:05:13 +01:00
Tobias Witek
9076b30325 [core/output] Make tests pass again
Using an empty configuration vs. no configuration at all to make tests
run again.
2020-03-15 14:02:48 +01:00
Tobias Witek
f2dc5f4b40 [core/output] Implement autohide
Allow output to automatically hide widgets that are *not* in any
critical mode
2020-03-15 14:01:09 +01:00
Tobias Witek
6975f179fc [modules/sensors2] Update to newest API 2020-03-15 13:53:12 +01:00
Tobias Witek
665fde5399 [modules/sensors2] Double to single quotes 2020-03-15 13:44:54 +01:00
Tobias Witek
d0406ffe83 [modules] Reimport sensors2 2020-03-15 13:44:38 +01:00
Tobias Witek
7fb626aa2c [modules/disk] Update to new API
Also, remove deprecated parameters
2020-03-15 13:40:13 +01:00
Tobias Witek
2007f8d0b9 [modules/disk] Quotes conversion 2020-03-15 13:34:09 +01:00
Tobias Witek
7aa1bc7b44 [modules] Reimport disk module 2020-03-14 14:04:45 +01:00
Tobias Witek
7ffb2d8626 [doc] Update documentation structure 2020-03-13 14:23:11 +01:00
Tobias Witek
5851b104c5 [modules/xrandr] Adapt to new API 2020-03-13 13:56:08 +01:00
Tobias Witek
932d362d30 [modules/xrandr] Change quotation 2020-03-11 21:35:45 +01:00
Tobias Witek
59dc5f8047 [modules] Reimport xrandr 2020-03-11 21:35:25 +01:00
Tobias Witek
929f4751c3 [modules/battery_all] Set default capacity
If capacity cannot be read -> set it to -1

fixes #572
2020-03-11 21:24:27 +01:00
Tobias Witek
41dc387d0c [core] Re-enable WAL support
Implement a generic "load keywords and replace during runtime"
mechanism, with the first concrete use-case of WAL colors (load them
during startup, and during runtime, whenever a matching name is found in
the keywords, replace with the actual color)
2020-03-08 14:19:21 +01:00
Tobias Witek
be2864b063 [modules/redshift] Update to latest framework 2020-03-07 14:13:25 +01:00
Tobias Witek
2592069fb9 [modules/redshift] Single quotes 2020-03-07 14:06:18 +01:00
Tobias Witek
967521593c [modules] Import redshift 2020-03-07 14:06:01 +01:00
Tobias Witek
867e87913d [modules/battery] Add warning log if no estimates 2020-03-07 13:56:05 +01:00
Tobias Witek
7cdcde0080 [modules/dunst] Update to make working again 2020-03-07 13:54:45 +01:00
Tobias Witek
4bc5f73ccc [modules/dunst] Single quotes 2020-03-07 13:49:09 +01:00
Tobias Witek
b373de4cad [modules] Import module dunst 2020-03-07 13:48:54 +01:00
Tobias Witek
f24cd6fa83 [modules/brightness] Update APIs 2020-03-07 13:37:56 +01:00
Tobias Witek
cfa4d0df48 [modules/brightness] Single quotes 2020-03-07 13:34:22 +01:00
Tobias Witek
e6181e2d94 [modules/brightness] Re-import brightness module 2020-03-07 13:34:02 +01:00
Tobias Witek
8efa101380 [util/format] Tests and minor renaming 2020-03-07 13:33:28 +01:00
Tobias Witek
0f96f2727b [doc] Some updates 2020-03-07 13:26:33 +01:00
Tobias Witek
47e8d5b82b [core] replace widget.minwidth with widget.set('theme.minwidth') 2020-03-07 13:21:19 +01:00
Tobias Witek
b841ba3c93 [modules/battery] Re-enable battery module 2020-03-06 20:57:32 +01:00
Tobias Witek
9b96c142d5 [modules/battery] Migrate constructor 2020-03-06 20:37:46 +01:00
Tobias Witek
c2b0c8e754 [modules/core] Add battery module 2020-03-06 20:34:30 +01:00