Commit graph

2774 commits

Author SHA1 Message Date
tobi-wan-kenobi
81c5e75624 [tests] fix location tests
a previous commit that switched the primary and secondary location
provider broke the unit tests - fix that.
2020-06-28 10:45:22 +02:00
tobi-wan-kenobi
fc8783ee13 [util/cli] fix CLI invokation for sway
in sway/wayland, make sure that the wayland socket is cleared, which
seems to cause issue for some unspecified reason.

also, while at it, improve code so that the environment dict that is
passed in is *not* modified.

fixes #628
2020-06-28 10:44:30 +02:00
tobi-wan-kenobi
350648b0cd [util/location] reverse location providers
seems that ipapi gives better results wrt. location
2020-06-27 15:05:57 +02:00
tobi-wan-kenobi
954d7545e3 [util/format] make temperature metric case insensitive
see #664
2020-06-27 15:02:55 +02:00
tobi-wan-kenobi
1484109fe0 [doc] removing user contributions
as somospocos decided to delete his github account, remove the broken
links.

again, somospocos, many thanks for the ways in which you improved
bumblebee-status!
2020-06-26 09:43:04 +02:00
tobi-wan-kenobi
4925e09995 [modules/speedtest] no autostart, improve icons
do not start a speedtest automatically during startup, and improve the
icons a bit.
2020-06-26 09:40:35 +02:00
tobi-wan-kenobi
4ac8c2ef7a [modules/speedtest] small fix for retrigger 2020-06-25 20:46:13 +02:00
tobi-wan-kenobi
44b3df5827 [modules/speedtest] make speedtest re-triggerable 2020-06-25 20:44:55 +02:00
tobi-wan-kenobi
7a6788dc1c [doc] add speedtest module 2020-06-25 20:35:00 +02:00
tobi-wan-kenobi
72deb7eaf8 [modules] add speed test module 2020-06-25 20:34:35 +02:00
tobi-wan-kenobi
e9b917c214 [doc] update spotify 2020-06-25 20:00:57 +02:00
tobi-wan-kenobi
542d841622 [modules/spotify] add contribution 2020-06-25 20:00:05 +02:00
tobi-wan-kenobi
54f6035e14
Merge pull request #663 from LtPeriwinkle/spotify-buttons-module
Spotify buttons module
2020-06-25 19:56:21 +02:00
LtPeriwinkle
4cbe04f0b0 remove -buttons, move getting song out of update() 2020-06-25 10:53:53 -07:00
LtPeriwinkle
057faa5577 replace original spotify with buttons version 2020-06-25 10:23:45 -07:00
LtPeriwinkle
6a8d830281 util.format.aslist() for layout 2020-06-25 10:20:02 -07:00
Tobias Witek
bdc38e7934 [doc] add shield for bumblebee-status-git AUR package 2020-06-25 15:43:25 +02:00
LtPeriwinkle
4b54d1981c fix grammar 2020-06-24 13:53:02 -07:00
LtPeriwinkle
7215a11ffe black -t py34 2020-06-24 12:22:03 -07:00
LtPeriwinkle
e1a9782458 modify comments 2020-06-24 12:18:28 -07:00
LtPeriwinkle
0c32d13e6f fix playback status 2020-06-24 12:15:32 -07:00
LtPeriwinkle
2eee4c390c put text on buttons 2020-06-24 12:14:26 -07:00
Tobias Witek
92ab1a3e00 [util/cli] make sure language is set to "C"
to make parsing of CLI output reliable (i.e. always in english), set
LC_ALL accordingly.

see #662
2020-06-24 07:47:31 +02:00
Tobias Witek
582c828deb [core] guard against concurrent updates
when a "regular" update (once per interval) and a input-triggered update
(e.g. mouse click on a widget) collide, this can cause the theme colors
to be interleaved wrongly.

fixes #661
2020-06-23 20:20:36 +02:00
Tobias Witek
441e7d5041 [core] fix minimize for all modules (nic, traffic, etc.)
make it possible to toggle the display state of a widget between
"displayed" and "minimized" also for modules that re-create their
widgets during each iteration.

see #661
2020-06-23 20:03:17 +02:00
Tobias Witek
34dadadf90 [core] re-enable minimize of widgets
by default, allow toggling the minimized state of a widget via the
middle mouse and draw a single unicode char instead of the actual
widget, maintaining all states.

fixes #661
2020-06-23 15:51:14 +02:00
tobi-wan-kenobi
45d8ed23c9
Merge pull request #660 from thannaske/main
Do not execute iwgetid if the interface is recognized as tunnel
2020-06-22 11:43:16 +02:00
tobias.hannaske
3558176044 Do not execute iwgetid if the interface is recognized as tunnel 2020-06-22 10:33:49 +02:00
LtPeriwinkle
ca62f68906 create + map widgets for buttons 2020-06-21 12:31:11 -07:00
tobi-wan-kenobi
df9a1f9a4f
Merge pull request #658 from es80/shell-fix
fix a regression for shell subprocess
2020-06-21 19:42:37 +02:00
LtPeriwinkle
f67ef9d64a add spotify-buttons 2020-06-21 10:28:37 -07:00
es80
e17ef8614f
fix a regression for shell subprocess 2020-06-21 17:56:52 +01:00
Tobias Witek
79fb28512f [tests] black -t py34 2020-06-20 15:11:53 +02:00
Tobias Witek
e9e67ae375 [tests/mpd] fix python3.5 for real now, hopefully 2020-06-20 15:07:16 +02:00
Tobias Witek
b22747818b [tests] fix tests for python3.5 2020-06-20 15:04:10 +02:00
Tobias Witek
a56b3db813 [tests] fix store tests 2020-06-20 14:58:49 +02:00
Tobias Witek
aac604f94c [travis] add missing dependency pytest-mock 2020-06-20 14:55:21 +02:00
Tobias Witek
39fa7788b4 [tests] switch to pytest 2020-06-20 14:53:44 +02:00
Tobias Witek
b2e92d816d [tests] add pytest for core.output
see #642
2020-06-20 14:51:49 +02:00
Tobias Witek
ef6ddad256 [tests] add pytest for core.theme
see #642
2020-06-20 14:32:05 +02:00
Tobias Witek
d7c016ba40 [tests] add pytest for core.widget
see #642
2020-06-20 13:55:19 +02:00
Tobias Witek
542d235c1a [modules/traffic] ignore all errors during update
to investigate whether the assumption that a stray exception causes
issues is correct, temporarily catch all errors.

see #655
2020-06-20 13:52:55 +02:00
Tobias Witek
3beb86bb38 [pytests/mpd] ensure that mpc is called 2020-06-20 13:38:00 +02:00
Tobias Witek
d7370307f2 [pytests/mpd] provide alternative host check
see #641
2020-06-20 13:36:21 +02:00
Tobias Witek
74de020980 [tests] add pytest for core.module
see #642
2020-06-19 20:13:33 +02:00
Tobias Witek
381869ef65 [doc] fix misleading (=wrong) quote usage 2020-06-19 19:50:58 +02:00
tobi-wan-kenobi
a1d2e1d8f9
Merge pull request #657 from rosalogia/main
More tests for mpd module
2020-06-19 19:48:37 +02:00
Ambika Nair
6271a0b91d Added mpd module tests for update and layout 2020-06-19 06:35:44 -04:00
Ambika Nair
52f5315ec5 Added more tests for mpd module 2020-06-19 06:12:30 -04:00
tobi-wan-kenobi
639c373578
Merge pull request #656 from rosalogia/main
Added super simple test for mpd module
2020-06-19 12:02:31 +02:00