Frederic Junod
62f79beb90
Use 'is False' instead of '== False'
2018-06-04 14:53:01 +02:00
Frederic Junod
f46671a85f
Use 'is None' instead of '== None'
2018-06-04 14:50:51 +02:00
4shadoww
403b5ddd13
added new test to check is locale defined
2018-05-31 14:12:39 +03:00
Tobias Witek
290f95d6b4
[core] Collapse modules by using middle mouse
...
When pressing the middle mouse button (and it's not assigned to any
other functionality), the module (i.e. all widgets of that module) will
disappear and be replaced with the module's icon (or prefix, as
fallback) and an ellipsis.
fixes #264
2018-05-30 10:42:31 +02:00
Tobias Witek
455707c583
[core/theme] Handle errors during color loading
...
When loading a color scheme (e.g. wal) fails for some reason, do not
abort bumblebee-status. Instead, log an error message and continue
without the colors.
fixes #263
2018-05-30 09:42:41 +02:00
Tobias Witek
c99a2d253e
[modules/pacman] Use slight refactoring for consistency
2018-05-13 07:15:42 +02:00
tobi-wan-kenobi
e07932892f
Merge pull request #258 from freed00m/master
...
[module] - adding caps/num/scrl indicator widget; pacman to sum the digits
2018-05-13 07:09:29 +02:00
Antonin Dach
8946322bd5
[modul pacman] - enable suming up all updates to save screen real estate
2018-05-12 20:23:55 +02:00
Antonin Dach
52b4bfac35
[module] - adding caps/num/scrl indicator widget
2018-05-12 19:37:19 +02:00
WORD559
841b5e0905
Fixed issue where pulseaudio module could monitor the wrong device if certain pa modules have been loaded (e.g. monitoring 'alsa_output.pci-0000_00_1b.0.analog-stereo.echo-cancel' rather than 'alsa_output.pci-0000_00_1b.0.analog-stereo'
2018-05-12 13:46:51 +01:00
WORD559
705c18dbcd
Can force status bar to update early by sending a USR1 signal to the process
2018-05-06 09:31:46 +01:00
Tobias Witek
6cbf866b63
[modules/memory] Use MemAvailable, if present
...
If the kernel supports it, MemAvailable contains an estimation
of the memory available for usage.
Use this to calculate the amount of free memory (as this seems to
closely match the output of gnome-system-monitor).
fixes #253
2018-05-01 10:01:36 +02:00
Tobias Witek
7af362f5c3
[themes/ionicons] Minor tweaks
2018-04-29 21:11:58 +02:00
Tobias Witek
b858fef834
[tests] Minor adaptions to satisfy tests
...
* Default value for Theme() constructor
* Don't fail fatally when unable to load taskwarrior module
2018-04-29 20:45:58 +02:00
Tobias Witek
8e80923f14
[core/theme] Add option to override iconset + add experimental icons
...
Add an option to load a user-specified icon theme (which will override
the theme's icons).
Also, commit a first version of a set of icons from the ionicons set
(see http://ionicons.com/ ).
see #252
2018-04-29 16:12:39 +02:00
tobi-wan-kenobi
fa9ad10549
Merge pull request #251 from kunalshetye/issue-250
...
Added a hidden method to hide mpd widget when no music is playing
2018-04-20 16:24:52 +02:00
Kunal Shetye
9514f1fb01
Added a hidden method to hide mpd widget when no music is playing
2018-04-20 06:34:35 +02:00
Tobias Witek
bbe4bfeebc
[modules/nic] Do not fail if iwgetid is not available
...
Instead of throwing an error, simply return an empty SSID. Also, for
these cases, make sure the module doesn't output multiple whitespaces as
the end.
fixes #248
2018-04-14 05:33:35 +02:00
tobi-wan-kenobi
0fa27cca10
Merge pull request #246 from kunalshetye/master
...
[module/nic] Added option to get the ssid (for wifi networks)
2018-04-14 05:23:11 +02:00
Avindra Goolcharan
56088be995
publicip: use checkip.amazonaws.com in us-east
...
I'm on the east coast, and on average the amazon endpoint is a bit faster. AWS is also a more well known name.
2018-04-11 21:48:17 -04:00
Kunal Shetye
fb6a9b1f7d
Added option to get the ssid (for wifi networks)
2018-04-11 20:42:12 +02:00
tobi-wan-kenobi
8a95cb1b0f
Merge pull request #243 from kunalshetye/master
...
[module/nic] Added format parameter to control the widget output
2018-04-11 20:14:45 +02:00
Frederic Junod
b2d709ab5f
Remove unused yaml import
2018-04-11 12:57:56 +02:00
Kunal Shetye
b23b97625e
Added format parameter to control the widget output
2018-04-11 07:30:16 +02:00
Pavle Portic
682dcc775a
[modules/traffic] Add parameter to hide down networks
2018-04-01 19:39:14 +02:00
Tobias Witek
0c03c1c48b
[core/config] Skip unavailable modules
...
If a module cannot be loaded (presumably, because some python modules
are missing), do not show them in the list of available modules.
fixes #237
2018-03-24 08:08:19 +01:00
Frederic Junod
95fab517c6
Update required modules list in README
2018-03-14 08:35:51 +01:00
tobi-wan-kenobi
52312b7331
Merge pull request #231 from torvitas/patch-3
...
fixes typo in documentation of dnf module
2018-02-14 18:24:03 +01:00
Sascha Marcel Schmidt
3febc0a473
fixes typo in documentation
2018-02-14 12:15:40 +01:00
Sascha Marcel Schmidt
604a795f9e
fixes typo
2018-02-14 12:09:11 +01:00
Tobias Witek
b77fee4af2
[modules/memory] Fix "percentage used" calculation
...
For some reason, using "used/total" is more accurate than "(total -
free)/total". Probably there's some missing gap of what is counted as
used vs. what is counted as free.
fixes #229
2018-02-12 20:35:50 +01:00
tobi-wan-kenobi
519dc1dafe
Merge pull request #226 from caianrais/brightness-format-fix
...
[modules/brightness] Fix return format
2018-02-01 18:57:34 +01:00
Tobias Witek
186169343d
[engine] do not fail on module import
...
If a module import fails, simply log a warning. The module, clearly,
cannot be used, though.
fixes #227
2018-02-01 18:44:48 +01:00
Caian R. Ertl
a75c71920e
[modules/brightness] Fix return format
...
What: Fixes the return format in `brightness` module
Why: To remove the initial zero in the brightness indicator when below hundred.
2018-01-31 18:52:16 -02:00
Pierre Dorbais
cc72814b83
[modules] add taskwarrior module
2018-01-30 16:58:09 +01:00
Tobias Witek
cb3a7b826b
[modules/datetime] Fall back to en_US.UTF-8
...
If no default locale is available, fall back to en_US.UTF-8.
see #159
2018-01-21 08:55:42 +01:00
Tobias Witek
be20a36805
[core/theme] Make unittest (hopefully) run through
2018-01-17 19:29:11 +01:00
Tobias Witek
4716481087
[core/theme] Small bugfix (widget needs to have linked module)
...
This is mainly for the autotests
2018-01-17 18:56:12 +01:00
Tobias Witek
9f77514a1c
[core/theme] Add per-module theme override
...
Allow users to override theme values via parameter, such as:
bumblebee-status -m spacer -p spacer.theme.bg=#ff0000
for a red spacer.
see #223
2018-01-17 18:51:01 +01:00
Tobias Witek
bf84498df3
[core/engine] handle single-module errors
...
instead of terminating the whole status bar when an error occurs, just
show a (truncated) error for that single widget.
this should also enable auto-recovery if the module returns to a "good"
state, but that hasn't been tested yet.
see #221 and #222
2018-01-12 18:39:36 +01:00
Tobias Witek
04ce2de228
[modules/getcrypto] Handle missing results
2018-01-11 20:32:15 +01:00
Tobias Witek
650e0b933e
Revert "[modules/getcrypto] Deal with kraken service downtime"
...
This reverts commit 3615e60e5b
.
Time to go to sleep, so many mistakes...
2018-01-11 20:31:48 +01:00
Tobias Witek
3615e60e5b
[modules/getcrypto] Deal with kraken service downtime
...
see #222
2018-01-11 20:29:45 +01:00
Tobias Witek
5f96b603a8
[modules/battery] fix syntax error
...
see #221
2018-01-11 20:26:49 +01:00
Tobias Witek
166437649c
Revert "[modules/battery] Fix syntax error"
...
This reverts commit f236c24b92
.
2018-01-11 20:26:14 +01:00
Tobias Witek
f236c24b92
[modules/battery] Fix syntax error
...
see #221
2018-01-11 20:22:30 +01:00
Tobias Witek
bbfb6fc095
[modules/battery] Ignore errors when reading status
...
Reading status - similar to reading the capacity - might fail, just
ignore that error.
see #221
2018-01-11 20:05:46 +01:00
Tobias Witek
82db0a14c1
[modules/ping] Revert changes reg. interval handling
...
Similarily to getcrypto, do not use the generic interval handling
for the ping module.
see #220
2018-01-07 20:41:14 +01:00
Tobias Witek
3638aa2420
[modules/various] Use new interval mechanism
...
Use generic interval mechanism in most of the modules that use slow
updates.
Only exception: getcrypto, as the interval is specified in seconds there
and I want to retain backwards-compatibility.
fixes #220
2018-01-07 20:27:11 +01:00
Tobias Witek
776be11137
[engine] Add generic interval mechanism
...
Add a generic mechanism to set a specific interval (in minutes, as this
is primarily intended for modules that want to "slow down" updates).
This gives *all* modules the parameter "interval" and allows each module
to set the default interval using the method "interval(<value>) in the
module constructor.
see #220
2018-01-07 20:25:32 +01:00