tobi-wan-kenobi
da7734d81f
Merge pull request #766 from michalroxorpl/enable_scroll_in_shell
...
Add code to enable scrolling of shell module output
2021-02-26 18:12:18 +01:00
Michal Cieslicki
6d7934f0fe
Add code to enable scrolling of shell module output
2021-02-26 18:02:47 +01:00
Michal Cieslicki
618ebbeccc
Add parameter to specify a configuration file
2021-02-20 13:50:31 +01:00
tobi-wan-kenobi
6e3caa6f14
[modules/shortcut] fix typo
...
fixes #760
2021-02-12 09:31:09 +01:00
tobi-wan-kenobi
0734c970b0
[modules/hddtemp] fix typo
...
fixes #761
2021-02-12 09:30:24 +01:00
tobi-wan-kenobi
406eadeac7
[modules/time] update once per second
...
fixes #676
2021-01-17 15:35:39 +01:00
tobi-wan-kenobi
a27c284869
[core/module] fix failing unit test
...
wrong error handling again
2021-01-17 15:29:44 +01:00
tobi-wan-kenobi
beca26c2bf
[core/config] Allow modules to be hidden when in critical/error state
...
When a module is in critical state, the user can now hide the module
(e.g. if pulseaudio fails to load).
fixes #746
2021-01-17 15:21:40 +01:00
tobi-wan-kenobi
45c0a382c9
[core/module] fix load error when no user module exists
2021-01-17 15:17:14 +01:00
tobi-wan-kenobi
21ded8f640
[core] Allow module loading from user directory
...
If a module fails to load from both core and contrib, fall back to
loading by file name from "~/.config/bumblebee-status/modules/<name>.py"
fixes #757
2021-01-17 14:18:58 +01:00
tobi-wan-kenobi
0e37d6cbf2
Merge pull request #754 from gkeep/playerctl-improvements
...
[modules/playerctl] Add format and layout parameters
2020-12-27 17:58:33 +01:00
gkeep
b74ebce702
[modules/playerctl] Small fix
2020-12-27 19:12:36 +03:00
gkeep
436cea8f37
[modules/playerctl] Add format and layout parameters
2020-12-27 19:02:45 +03:00
tobi-wan-kenobi
7b1659a1b5
[core/theme] add /usr/share as theme directory
...
add a theme directory /usr/share/bumblebee-status/themes for system-wide
theme installation.
fixes #753
2020-12-20 10:23:06 +01:00
tobi-wan-kenobi
a94114dd94
[core/module] better error reporting for failed module loads
...
if a module fails to load, explicitly log errors for core and contrib in
the error log, but be a bit less verbose (and less confusing) in the
module error message itself.
fixes #747
2020-12-19 13:07:29 +01:00
gkeep
601b2115ce
Add initial spotifyd compatibility
2020-12-18 13:56:26 +03:00
tobi-wan-kenobi
fa66873582
[core/theme] add xresources support
...
add support for reading foreground and background, and colors, from
xresources.py
many thanks to @Aliuakbar for the addition!
fixes #731
2020-12-07 09:01:08 +01:00
tobi-wan-kenobi
cd851340e2
[pip] updated/fixed dependencies
...
many thanks to @jayvdb for pointing those out!
fixes #741
2020-12-02 21:21:34 +01:00
Florian Eich
3c08eafa4a
Add TiB to disk units, add SI unit option for disk space
2020-12-02 19:08:45 +01:00
tobi-wan-kenobi
a8d1254e06
[modules/nic] Make regex for SSID a raw string
2020-12-01 15:58:55 +01:00
Florian Eich
de01d96b91
Change iw call in module nic from link to info
2020-12-01 00:19:17 +01:00
tobi-wan-kenobi
d0ee1b06e4
[modules/nic] make exclude list regular expression capable
...
Allow the usage of regexps in the exclude list, but keep the "this is a
prefix" logic for backwards compatibility.
should address (see #738 )
2020-11-30 17:21:17 +01:00
James Baumgarten
02465ea0c2
add rofication module
2020-11-23 20:44:17 -08:00
Tobias Witek
08ef42834e
[modules/nic] update documentation to include iwgetid
...
fixes #734
2020-11-13 14:56:31 +01:00
tobi-wan-kenobi
0fc1782e0b
Merge pull request #733 from martindoublem/main
...
[module] Improved smartstatus with combined_singles
2020-11-06 12:36:33 +01:00
Martin Morlot
a811c9c886
[module] Improved smartstatus with combined_singles
...
Added combined_singles as way to detect the drives that are permanently inside your machine and not plugged via USB.
As USB flash drives without smartstatus sometime caused the module to crash.
2020-11-06 12:14:56 +01:00
Joe Finney
9b82e736a0
Fix arch-updates off-by-one.
...
There's a newline in the output so this overcounts by one.
2020-10-25 17:29:00 -07:00
Joachim Mathes
3c0499ba56
Provide alternative dunstctl implementation
2020-10-18 21:53:47 +02:00
tobi-wan-kenobi
68bd6f8ef8
Merge pull request #727 from w1kl4s/master
...
Fix Python 3.9 compatibility
2020-10-14 18:30:56 +02:00
w1kl4s
1a7ae9ecc6
Fix Python 3.9 compatibility
...
Replaced threading.Thread.isAlive() with threading.Thread.is_alive()
2020-10-14 18:07:29 +02:00
Martin Morlot
1912f3053d
[Bluetooth2] fixed the execution of the toggle state
2020-10-09 10:59:59 +02:00
Thaynã Moretti
04a2ea438b
Create layout-xkbswitch tests
2020-10-07 17:37:04 -03:00
Thaynã Moretti
180a87e0c3
Create dunstctl tests
2020-10-05 20:10:01 -03:00
tobi-wan-kenobi
1751e4afa2
Merge pull request #718 from joshbarrass/spotify
...
Add "concise controls" to Spotify module
2020-10-04 16:54:42 +02:00
Joshua Barrass
fbe5764313
Add "concise controls" to spotify module
2020-10-04 15:41:15 +01:00
Joshua Barrass
823a57d261
Add org-mode TODO module
2020-10-04 14:44:27 +01:00
Thaynã Moretti
4df495601a
Create symbolic links
2020-10-01 19:10:46 -03:00
tobi-wan-kenobi
8a4fc40947
Revert "[modules/spotify] properly initialize widgets"
...
This reverts commit aa6238a5c6
.
2020-09-15 20:27:50 +02:00
Tobias Witek
aa6238a5c6
[modules/spotify] properly initialize widgets
...
see #702
2020-09-13 11:19:05 +02:00
Tobias Witek
fcbb89db90
[modules/spotify] make global dbus object
...
instead of creating a new dbus instance during each update interval,
reuse one dbus instance.
see #702
2020-09-13 11:17:21 +02:00
tobi-wan-kenobi
070fe865dd
[modules/spotify] update in the background
...
to rule out issues in the dbus communication, update the spotify module
in the background.
see #702
2020-09-09 14:15:16 +02:00
tobi-wan-kenobi
b79c19b616
[modules/spotify] fix song not shown issue
...
the previous commit accidentially removed the song display. re-add that
and also add a bit of logging for troubleshooting.
2020-09-06 14:27:17 +02:00
tobi-wan-kenobi
965e7b2453
[modules/spotify] improve update mechanism
...
instead of updating the widget list during each update, create the list
of widgets during initialization, and later only update the widget
states.
see #702
2020-09-06 14:00:32 +02:00
tobi-wan-kenobi
7a4d4d5ab6
Merge pull request #706 from cristianmiranda/thunderbird
...
[modules/thunderbird]: Thunderbird's unread email counts by inbox
2020-09-06 07:13:46 +02:00
Cristian Miranda
100568206a
[modules/thunderbird]: Thunderbird's unread email counts by inbox
2020-09-05 19:22:40 -03:00
Cristian Miranda
d568ef3622
[modules/dunstctl]: Toggle dunst v1.5.0+ notifications using dunstctl
2020-09-04 17:30:46 -03:00
Thaynã Moretti
6c0930cfae
Add load module tests
2020-09-02 14:33:07 -03:00
Thaynã Moretti
032a651efa
Improve network traffic module tests
2020-09-01 22:12:54 -03:00
Thaynã Moretti
49de0e520b
Reduce code cognitive complexity
2020-08-30 12:37:58 -03:00
Thaynã Moretti
6f6f3cedd9
Improve meminfo parse logic
2020-08-30 12:28:48 -03:00
Thaynã Moretti
820598b1b8
Fix memory module tests
2020-08-30 12:11:48 -03:00
Bernhard B
c339a16365
small improvements in octoprint plugin
...
* octoprint sometimes returns additional information a the 3d printer is offline.
so, it's better to check if the octoprint job state starts with "Offline".
* in case the returned job state is really long, truncate it.
2020-08-30 09:03:34 +02:00
Thaynã Moretti
dff187252a
Fix RECV/SENT start values
2020-08-29 21:09:59 -03:00
tobi-wan-kenobi
905f71fa52
[core] fix broken "sparse" updates
...
c77f3aa
accidentially broke "sparse" updates (i.e. updates that do not
trigger during each update interval).
Introduce a new update parameter, "force", to model the use case "update
everything on SIGUSR1".
fixes #692
2020-08-28 17:14:05 +02:00
tobi-wan-kenobi
362d1a5f6f
[modules/contrib/dnf] fix undefined "widget" error
...
while refactoring, i overlooked that the variable "widget" doesn't exist
anymore.
see #692
2020-08-28 14:03:34 +02:00
tobi-wan-kenobi
db41792afb
[dnf] simplify threading
...
use framework threading to simplify the dnf module
see #692
2020-08-27 20:07:10 +02:00
Cristian Miranda
9b5477675c
[github]: Remove error printing if exception caught
...
I experienced that when an exception is caught and we print it
I get an ugly error on the whole bar making it unusable. This
fixes that problem.
2020-08-20 10:47:56 -03:00
tobi-wan-kenobi
738a846853
Merge branch 'master' into main
2020-08-11 20:54:23 +02:00
tobi-wan-kenobi
d759ed5051
Merge pull request #690 from joshbarrass/deadbeef-patch
...
Quotes around the deadbeef string to prevent parsing errors by deadbeef
2020-08-11 06:16:58 +02:00
Joshua Barrass
9e04e0a27b
Quotes around the deadbeef string to prevent parsing errors by deadbeef
2020-08-11 00:54:35 +01:00
Joshua Barrass
c77f3aa3bc
Force update using USR1 signal
2020-08-11 00:45:13 +01:00
Alexander Scheid-Rehder
5959d73cde
Fix wrong usage of asbool in layout-xkb
2020-08-06 14:49:41 +02:00
Andreas Lindahl Flåten
5de616ff89
[modules/contrib/stock] handle urllib request exception
...
Handle exception that is raised when e.g. your network connection is
down.
2020-07-31 15:26:49 +02:00
Naya Verdier
06d6739da4
[xrandr] Add autotoggle behavior to xrandr
...
Also makes i3 subscription events and widget click live-update
2020-07-26 13:21:49 -07:00
Naya Verdier
b1adc382aa
[vault] Turns out, <Leave> is triggered when going into a submenu
2020-07-25 12:38:28 -07:00
Naya Verdier
647ad44b31
ModuleNotFoundError incompatible with python 3.4, 3.5
2020-07-25 11:50:13 -07:00
Naya Verdier
22d85d6d1d
[xrandr-test] Catch all exceptions if i3 Subscription fails
2020-07-25 11:33:42 -07:00
Naya Verdier
b14eae4d6c
[xrandr] add safeguard to prevent turning off the only display
2020-07-25 10:52:57 -07:00
Naya Verdier
5874850bd5
[xrandr] Fix neighbor functionality when some displays are excluded
2020-07-25 10:52:10 -07:00
Naya Verdier
8f57bb952d
[xrandr] add exclude parameter to ignore certain display prefixes
2020-07-25 08:47:31 -07:00
Naya Verdier
5f2857ad9a
[vault] add leave_menu parameter to auto-close the menu
2020-07-25 08:46:57 -07:00
Naya Verdier
4aff0499f0
[util.popup] Deduplicate code, "close" button only if leave=False
2020-07-25 08:43:26 -07:00
tobi-wan-kenobi
7c8ddc9c87
[doc] update docstrings as per PR #683
2020-07-18 08:23:28 +02:00
tobi-wan-kenobi
72966ee37d
[modules/{cpu,load,memory}] Add gnome-system-monitor dependency to doc
2020-07-18 08:16:57 +02:00
tobi-wan-kenobi
df29627983
[core/doc] add autogenerated warning to modules.rst
2020-07-18 08:14:23 +02:00
tobi-wan-kenobi
83a4be3bc0
[doc] add module portage_status (plus attribution)
2020-07-12 19:31:28 +02:00
Andrew Reisner
b1bb0fe690
Run formatter.
2020-07-12 11:01:00 -06:00
Andrew Reisner
0785202860
Add simple portage status module.
...
This adds a simple module to display the status of Gentoo portage
operations by reading its logfile.
2020-07-12 10:52:05 -06:00
tobi-wan-kenobi
5ea2708f45
Merge pull request #681 from bbernhard/messagereceiver
...
reworked messagereceiver module
2020-07-11 19:33:42 +02:00
Bernhard B
a4a622252b
reworked messagereceiver module
...
* use bumblebee's internal threading capabilities
* various small code improvements (pylint)
2020-07-11 18:07:57 +02:00
tobi-wan-kenobi
2b888325a6
[doc] add messagereceiver (+ attribution)
2020-07-10 20:19:43 +02:00
Bernhard B
01cde70e14
improved documentation of messagereceiver module
2020-07-10 17:35:40 +02:00
Bernhard B
adbba9bf9a
fixed small bug in messagereceiver
...
* wrong logging syntax
2020-07-10 17:17:16 +02:00
Bernhard B
0067ce83f0
added new module messagereceiver
...
* binds to unix sockets and listens for incoming messages. The message
will then be displayed in the status bar.
2020-07-10 17:11:50 +02:00
tobi-wan-kenobi
72045b2318
[core/config] make configurable module list work
...
configparser doesn't seem to have direct array support,
so use format.aslist() to get a list of modules
fixes #678
2020-07-09 07:04:45 +02:00
tobi-wan-kenobi
a9f50f1b51
[core/config] add "core" config section
...
move theme and modules into a "core" config section
2020-07-09 07:04:22 +02:00
tobi-wan-kenobi
057f894d52
[core/config] change preferred theme source
...
now, it works like this:
- if present, use what's on the CLI
- if not, use what's present in the config
- fallback is "default"
see #679
2020-07-09 06:56:43 +02:00
ColdFire
aac2316d74
Updating config parser
2020-07-06 14:20:41 +05:30
Andrew Reisner
edb8eaf410
Small fix to xrandr module.
2020-07-05 12:35:44 -06:00
tobi-wan-kenobi
b4fc88b57e
Merge pull request #675 from xsteadfastx/iw
...
[modules/nic] Using `iw` to find out whats the SSID name
2020-06-30 20:20:17 +02:00
Marvin Steadfast
6d9d325eca
[modules/nic] Using iw
to find out whats the SSID name
2020-06-30 14:49:43 +02:00
tobi-wan-kenobi
f75f1a9f26
[modules/spotify] fix layout parameter
2020-06-30 07:20:54 +02:00
tobi-wan-kenobi
227a23fdb5
[core/theme] fix mergeing of iconsets
...
iconsets should only overwrite parameters that are *not* set in the main
theme file.
fixes #666
2020-06-29 20:07:24 +02:00
tobi-wan-kenobi
9136ebd321
[core/input] clear previous input registrations
...
make sure that for a given event (widget/object/module, whatever), only
a *single* input event per button can be registered at one time.
the problem otherwise is with modules that re-register their widgets
with the same IDs (cmus, spotify, etc.): Each time the widget is
re-created (each intervall, typically), it re-registers an input event,
creating an always longer list of callbacks being executed when the
button is clicked (not speaking of the memory leak this introduces).
fixes #668
2020-06-29 07:44:22 +02:00
gkeep
134bbbd743
Use icons depending on widget state and icon set
2020-06-29 00:57:01 +03:00
tobi-wan-kenobi
6b09be1993
Revert "[core/theme] Make theme iconsets *not* override settings"
...
This reverts commit 320bba97d0
.
2020-06-28 20:09:55 +02:00
tobi-wan-kenobi
320bba97d0
[core/theme] Make theme iconsets *not* override settings
...
Make sure that iconsets used as part of a theme do *not* override
anything already existing inside the theme.
Only iconsets that are manually specified can override settings in the
theme now (because those, you typically specify on the CLI).
TODO: Write unit test for this
fixes #666
2020-06-28 20:01:08 +02:00
tobi-wan-kenobi
8f3d48c0e6
[modules/brightness] re-enable reading brightness from ACPI
...
to enable reading the brightness from ACPF, set the device path and -
other than previously - explicitly enable this by setting the parameter
"brightness.use_acpi" to "true".
fixes #665
2020-06-28 11:00:51 +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