Commit graph

2733 commits

Author SHA1 Message Date
Diego Pereyra
2b3b9c0ca0 Undo serialization using picke, added comment on minimum version for google-api-python-client 2022-08-11 12:26:42 -03:00
tobi-wan-kenobi
bb36f98aaa [doc] add redshift.adjust parameter 2022-08-11 16:54:15 +02:00
Diego Pereyra
80efa64614 Support for locale on gcalendar 2022-08-10 12:02:35 -03:00
tobi-wan-kenobi
84dfd85396
Merge pull request #912 from diesphink/regolith-rofication
Added support for regolith fork of rofication
2022-08-09 06:16:39 +02:00
Diego Pereyra
f9cfede0d0 Added support for regolith fork of rofication (differs on the comm protocol: \n after command, receive values on csv) 2022-08-08 23:13:01 -03:00
Diego Pereyra
55f3085c90 Added support for regolith fork of rofication (differs on the comm protocol: \n after command, receive values on csv) 2022-08-08 23:11:05 -03:00
Diego Pereyra
124f13075d Fix for multiple calendars 2022-08-08 21:59:39 -03:00
Diego Pereyra
2ab14d9cd3 Fix save token (using pickle) 2022-08-08 21:59:27 -03:00
tobi-wan-kenobi
470f05150d [module/redshift] allow adjusting the color temperature
add a boolean flag ("adjust") to redshift that allows the user to have
bumblebee-status actually perform the color adjustment (by invoking
redshift in "one-shot" node).

Note that this only updates the color value each time the redshift
module is updated (every 10s, by default), and likely will collide with
any running redshift process.

fixes #908
2022-08-07 10:32:28 +02:00
tobi-wan-kenobi
6af47dc506 [doc] update module documentation
fixes #910
2022-08-06 10:55:04 +02:00
tobi-wan-kenobi
7a47e9e13d [module/publicip] handle netifaces errors
make sure the monitoring thread doesn't terminate when there are
netifaces errors.

see #909
2022-08-06 09:17:49 +02:00
tobi-wan-kenobi
a7dba79664 [modules/publicip] add default route monitor
(re)add a separate thread that monitors the default route and updates
the module immediately, if the default route changes.

fixes #909
2022-08-05 14:30:50 +02:00
tobi-wan-kenobi
062506f467 [doc] fix code climage badge 2022-07-29 14:08:37 +02:00
tobi-wan-kenobi
b752eb8934 [doc] fix badge 2022-07-29 14:08:02 +02:00
tobi-wan-kenobi
38a5f38b43 [doc] add test badge 2022-07-29 14:05:15 +02:00
tobi-wan-kenobi
f59da4c2d8 [autotests] add more python versions 2022-07-29 14:04:04 +02:00
tobi-wan-kenobi
42ef6a3f02 Revert "[doc] remove code climate for now"
This reverts commit 7635fec36f.
2022-07-29 14:03:12 +02:00
tobi-wan-kenobi
921ddb64f0 Revert "[autotest] remove code climate dependency"
This reverts commit 61ebc3aea6.
2022-07-29 14:02:54 +02:00
tobi-wan-kenobi
a78403d3e8 [publicip] fix tests and bugs 2022-07-29 14:00:28 +02:00
tobi-wan-kenobi
61ebc3aea6 [autotest] remove code climate dependency 2022-07-29 13:44:40 +02:00
tobi-wan-kenobi
6bac2b6e34 [autotest] remove environment variable setting 2022-07-29 13:39:06 +02:00
tobi-wan-kenobi
6980d5e5d0 [autotest] use coverage3 explicitly? 2022-07-29 13:35:58 +02:00
tobi-wan-kenobi
db13bd94a1 [autotest] use separate action for code climate 2022-07-29 13:29:50 +02:00
tobi-wan-kenobi
e8c493607f [autotest] add debug flag to code climate tool 2022-07-29 13:27:03 +02:00
tobi-wan-kenobi
00b7929df5 [autotest] fix ubuntu package installation 2022-07-29 13:19:32 +02:00
tobi-wan-kenobi
184762ac57 [autotest] first attempt at a github action that runs tests 2022-07-29 13:18:07 +02:00
tobi-wan-kenobi
7635fec36f [doc] remove code climate for now
since those were triggered by the travis builds, remove code climate as
well (might reintroduce them later)

see #906
2022-07-29 11:41:34 +02:00
tobi-wan-kenobi
a8a4a86350 [all] remove Travis CI
As far as I can tell, Travis CI is *not* free anymore, even for OSS
projects. I assumed the 10k credits were monthly or yearly, but
seemingly, they are a one-time thing.

So, remove Travis CI and start searching for a better replacement.

see #906
2022-07-29 11:29:18 +02:00
tobi-wan-kenobi
a1c4b3c65e [modules/spotify] enable scrolling
this change should enable scrolling for the spotify module

(unfortunately, i am unable to fully test this, as i am not using
spotify)

fixes #903
2022-07-29 11:18:07 +02:00
tobi-wan-kenobi
b5535fcdc1
Merge pull request #905 from br0xpl/main
Pulseaudio bug when chaning sink/source (between mono and stereo devices).
2022-07-25 09:47:19 +02:00
Adamczyk Błażej
8e85eaa018 Fixed a bug in pulseaudio when changing source/sink, e.g. (dis)connecting bluetooth headset. 2022-07-25 09:12:42 +02:00
tobi-wan-kenobi
e2aa039276
Merge pull request #904 from ishaanbhimwal/fix_typos
fix multiple typos
2022-07-21 08:14:13 +02:00
Ishaan Bhimwal
a5fbc73c44 fix typo 2022-07-21 11:37:33 +05:30
tobi-wan-kenobi
39f7ad9a75
Merge pull request #902 from tfwiii/main
Fixed runaway thread creation (faulty indenting)
2022-07-11 19:43:01 +02:00
Tom Watson
2fa7931783 Fixed runaway thread creation (faulty indenting) 2022-07-12 00:19:19 +07:00
tobi-wan-kenobi
b594fd4263
Merge pull request #899 from tfwiii/publicip-update_on_default_route_change
Updated to automatically update on detecting a change to default route
2022-07-10 13:52:28 +02:00
Tom Watson
284662a0ba Ran publicip.py through black 2022-07-07 18:38:43 +07:00
Tom Watson
9a6e61173f Updated publicip to automatically update on detecting a change to default route 2022-07-07 18:08:20 +07:00
tobi-wan-kenobi
05c28c52c7
Merge pull request #897 from tfwiii/updated_publicip_module
Updated contrib/publicip module and util/location
2022-07-06 14:57:08 +02:00
Tom Watson
a97a7fe507 Updates addressing PR comments
Added location_info() to util/location API to return a dict of all location information. Updated modules/contrib/publicip to use that API. Changed modules/contrib/publicip refresh period back to 60 minutes. Changed /util/location API from 'country_name' back to 'name'
2022-07-06 19:37:29 +07:00
Tom Watson
6f137c4927 Update following PR review
Moved to format string handling of parameters. Minor refactoring.
2022-07-06 17:51:19 +07:00
Tom Watson
218bfa2235 Updated contrib/publicip module and util/location
Added another API endpoint, Added options to display country name, country code, city name and lat/long coordinates, attempt to handle failure to fetch info from API endpoints cleanly
2022-07-06 01:05:25 +07:00
tobi-wan-kenobi
6f4f163a7d [core/layout] use python-only layout detection
remove precompiled binary and make the layout module
fall back to the python implementation.

fixes #883
2022-07-03 14:02:38 +02:00
tobi-wan-kenobi
326e2f9318 [core/theme] add support for XDG_DATA_DIRS
read theme information from
$XDG_DATA_DIRS/bumblebee-status/themes

see #821
2022-07-03 13:56:02 +02:00
tobi-wan-kenobi
f462102439
Merge pull request #892 from SamTebbs33/main
Hide battery module if there are no batteries
2022-06-22 11:29:58 +02:00
Sam Tebbs
eabf167c1f Hide battery module if there are no batteries 2022-06-22 09:12:14 +01:00
tobi-wan-kenobi
df9890690a
Merge pull request #890 from anarcat/upower-no-bat
handle missing battery case
2022-06-20 17:37:04 +02:00
Antoine Beaupré
16c4ce2ee6
handle missing battery case
I run the same bumblebee-status configuration on my laptop and my
workstation. On my laptop, the upower module works fine: it says "ac"
when plugged in, charging, all that stuff is great.

But on my workstation, it's completely broken: it thinks there's a
battery (which is a mistake: there is no battery at all, apart maybe
from the CMOS battery, but that's not covered by upower), and it
thinks it's discharged, which makes a very noisy warning in the bar.

Now maybe there's something wrong with dbus, Debian, the kernel,
Linux, or some thing else in the stack. All I know is that
`self.power.get_display_device()` returns something like a valid
dbus object here and from there it confuses the heck out of the
module.

So this just adds a function to check if the actual device we're
talking about is actually present, and bails earlier otherwise.

Before: battery logo and "0% 00:00m!", all marked as critical ("red")

After: "ac" with the plugged in logo, not marked critical ("black")
2022-06-20 11:34:12 -04:00
tobi-wan-kenobi
e6f1939857
Merge pull request #889 from anarcat/thin-space
reduce spacing in awesome fonts iconset
2022-06-15 18:28:25 +02:00
Antoine Beaupré
2d6041be5d
reduce spacing in awesome fonts iconset
This replaces the previous normal spacing character (which is the
usual ASCII 0x20 SPACE) by a *narrower* spacer (which is unicode
U+2009 THIN SPACE).

I found that space thanks to

https://en.wikipedia.org/wiki/Space_(punctuation)#Types_of_spaces

... and specifically:

https://en.wikipedia.org/wiki/Thin_space

... and this actually works, amazingly. Probably because it is pretty
standard as it's part of the SI specification (thousands separator),
Tex (`\thinspace` or `\,`), and HTML (` `)

Closes: #888
2022-06-15 11:50:23 -04:00