Dhananjay Tanpure
8867f4f188
added module for blugon
2022-01-20 21:06:17 +00:00
tobi-wan-kenobi
08b5386140
[util/popup] fix endless loop on "close on leave"
...
When closing a popup window when the mouse leave the area (default
behaviour, unfortunately), the main "show()" got stuck in an infinite
loop.
Fix that by setting running to False when exiting.
fixes #844
2022-01-14 13:39:04 +01:00
tobi-wan-kenobi
8bde6378d4
[modules/arandr] handle case of "no layouts exist
...
To ensure that arandr works also if no layouts are available, add some
(very simplistic) exception handling.
see #844
2022-01-14 13:29:29 +01:00
Frank Scherrer
30dd0f2efb
add updating view on apt-cache on click
2022-01-13 11:05:01 +01:00
Marco Genasci
8a50eb6f81
New module emerge_status
...
Display information about the currently running emerge process.
Signed-off-by: Marco Genasci <fedeliallalinea@gmail.com>
2022-01-06 08:06:57 +01:00
Lukas Lüftinger
8991bba90e
Silence exceptions in the spotify module which may write large amounts of logs to ~/.xsession-errors
2021-12-28 00:34:10 +01:00
Yufan You
973dd6117e
[contrib/playerctl]: don't log when no player is found
...
`playerctl status` returns 1 when no player is found, which caused
contrib/playerctl to log many times when there's no player.
2021-12-17 18:07:45 +08:00
tobi-wan-kenobi
26e4bdd7eb
[modules/progress] improved autohide functionality
...
Simplify the previous autohide functionality by adding a flag that lets
a module (e.g. progress) indicate that the current state should be
"revealed" (not auto-hidden).
This vastly simplifies the implementation.
see #835
2021-11-06 08:21:08 +01:00
tobi-wan-kenobi
5ad211f862
Revert "[contrib/progress] allow hiding of inactive state"
...
This reverts commit cbd989309d
.
2021-11-06 08:17:18 +01:00
tobi-wan-kenobi
cbd989309d
[contrib/progress] allow hiding of inactive state
...
Add a new "hide-able" state "mayhide" that can be utilized by modules
without warning state. This state indicates that the module *may* be
hidden by autohide, if the user configures it like this.
see #835
2021-11-05 14:00:34 +01:00
Jan Fader
dced20bf89
refactor code to decrease cognitive complexity in update
2021-10-26 19:52:42 +02:00
Jan Fader
fdc9b78967
add new solaar.py for logitech's unifying devices
2021-10-26 19:27:02 +02:00
alexcoder04
6b31cdb698
[modules/sensors] use util.format.asbool() + auto-check only if no path is specified
2021-10-21 14:43:15 +02:00
alexcoder04
0dc6a95ac2
[modules/sensors] auto-determine the correct thermal zone
2021-10-21 13:45:40 +02:00
Thaynã Moretti
b5395fe764
chore: public toggle method
2021-10-11 19:16:14 -03:00
tobi-wan-kenobi
ed5a4e61e4
[modules/bluetooth] Add more error checking
...
Do not kill the bar when the dbus-send command fails.
see #818
2021-09-10 12:45:11 +02:00
Tom Saleeba
d4339f6e43
fix: correct mem usage to be mem *io* usage
2021-08-15 22:27:44 -06:00
Soykan Ertürk
05f76c0d9a
Update todo.py
2021-08-14 20:16:45 +03:00
Soykan Ertürk
5a1addec7f
Fixing a small bug on todo module
...
todo counts new lines (blank lines) as todo and increments todo count. After my fix todo doesn't counts blank lines.
2021-08-14 20:14:54 +03:00
Soykan Ertürk
473d2fbd14
Improving docs
...
I added tkinter as dependency in requirements.
2021-08-12 22:54:34 +03:00
Tom Saleeba
98c92bb78f
feat: add GPU usage % and GPU memory usage % to nvidiagpu
2021-07-24 15:18:04 -06:00
nepoz
5d80a5a1a0
Slight refactoring to try and break apart networkmethod
2021-07-09 00:28:00 -05:00
nepoz
48501fa534
Updated docstring
2021-07-08 23:00:57 -05:00
nepoz
f9017c3a38
Added more tests and exception handling
2021-07-08 22:55:23 -05:00
nepoz
2100a7cfdb
Set up initial testing framework for network module
2021-07-08 12:10:46 -05:00
nepoz
3f524ab371
Refactoring, making use of netifaces
2021-07-08 09:04:40 -05:00
nepoz
911230c659
first complete implementation of the network module
2021-07-05 13:54:28 -05:00
nepoz
c7df1926dc
Formatting fixes, fixed state management and added some icons
2021-07-05 13:09:17 -05:00
nepoz
448ab6de83
Functional display for wireless connection
2021-07-05 12:34:42 -05:00
nepoz
4987c7d3e2
added stateful behavior
2021-07-05 11:26:46 -05:00
nepoz
f141b95d8f
Basic functionaly for dealingn with signal strength
2021-07-05 10:29:37 -05:00
nepoz
1232c4d960
Initial commit -- give basic message about interface being used
2021-07-05 07:55:47 -05:00
Sayan Sil
4485b65722
Use the existing util.cli module
2021-06-30 11:31:42 +05:30
Yufan You
37ccbd7f4a
[modules/playerctl]: support the stopped status
2021-06-26 18:19:24 +08:00
Sayan
e5007a5729
Add active gpu module using optimus-manager
2021-06-24 23:17:35 +05:30
Yufan You
c4046d0cd2
[doc]: link to the README instead of manpage
2021-06-11 18:12:13 +08:00
Yufan You
51f68addcd
[modules/playerctl]: BREAKING: use playerctl -f
and add playerctl.args
...
1. Use `playerctl -f` to format, which is more powerful. This also fixes
#767 , which is caused by missing a few fields of the metadata.
2. Add `playerctl.args`, so that users can choose a specific player,
etc.
3. Display nothing when there's no running player.
This is a breaking change. Users need to change `{title}` to
`{{title}}`.
2021-06-11 17:38:46 +08:00
tobi-wan-kenobi
902288f30d
[modules/sensors] do not truncate temperature
...
use strip() instead of a sub-list to get the value for the temperature.
fixes #787
2021-05-11 11:23:06 +02:00
tobi-wan-kenobi
9e20b48cee
Merge pull request #789 from fredj/sun_param_fix
...
Fix parameters name for the sun module
2021-05-10 17:46:24 +00:00
Frederic Junod
046b950b8a
Fix parameters name for the sun module
2021-05-10 14:35:34 +02:00
tobi-wan-kenobi
4a6be622a8
[modules/rotation] fix widget creation
...
each iteration of the rotation module created new/duplicate widgets,
causing a status bar of infinite length.
fixes #782
2021-04-03 19:29:40 +00:00
tobi-wan-kenobi
0410ac9c6b
[doc/shortcut] better example for shortcut module
2021-04-03 19:24:01 +00:00
jslabik
7756eaaa31
Adding the ability to change the editor to module todo
2021-03-20 01:18:46 +01:00
tobi-wan-kenobi
e560649531
[modules/shell] remove obsolete event handlers
...
modules are now automatically updated when clicked.
fixes #776
2021-03-18 15:30:03 +01:00
tobi-wan-kenobi
4187bddad6
[modules/shell] do not default to "makewide"
...
to avoid unnecessarily wide shell modules, set "makewide" to false, if
it is not set at all.
fixes #775
2021-03-18 15:29:06 +01:00
Frederic Junod
0ff49ac7d5
[doc] Remove requests dependency in stock module
...
The module is using `urllib.request`
2021-03-02 17:00:14 +01:00
Michal Cieslicki
6d7934f0fe
Add code to enable scrolling of shell module output
2021-02-26 18:02:47 +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
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
gkeep
601b2115ce
Add initial spotifyd compatibility
2020-12-18 13:56:26 +03: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
James Baumgarten
02465ea0c2
add rofication module
2020-11-23 20:44:17 -08: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
032a651efa
Improve network traffic module tests
2020-09-01 22:12:54 -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
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
Joshua Barrass
9e04e0a27b
Quotes around the deadbeef string to prevent parsing errors by deadbeef
2020-08-11 00:54:35 +01: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
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
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
f75f1a9f26
[modules/spotify] fix layout parameter
2020-06-30 07:20:54 +02:00
gkeep
134bbbd743
Use icons depending on widget state and icon set
2020-06-29 00:57:01 +03: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
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
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
LtPeriwinkle
ca62f68906
create + map widgets for buttons
2020-06-21 12:31:11 -07: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
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
tobi-wan-kenobi
1ebbfbae14
[doc] add dev documentation on widget states
...
fixes #651
2020-06-09 20:45:54 +02:00
smitajit
2dff5e2de7
migrated playerctl script to new bumblebee_status APIs
2020-06-06 14:39:50 +02:00
Smitajit Biswal
4912fcc57b
[module] playerctl to displays information about the current song in vlc, audacious, bmp, xmms2, spotify and others
2020-06-03 21:50:36 +02:00
tobi-wan-kenobi
20866ca7c0
[modules/arch-update] perform update in background
2020-06-03 07:51:44 +02:00
tobi-wan-kenobi
cb30b7175d
[tests] update test_config for pytests
...
see #642
2020-06-02 20:34:49 +02:00
tobi-wan-kenobi
800d603c1f
Merge pull request #644 from ammgws/patch-1
...
contrib/apt: amend typo
2020-06-02 20:15:32 +02:00
tobi-wan-kenobi
5e40dfb28a
[all] small fixed picked up by pytest
...
- unicode stuff
- make all regexps regex strings
2020-06-02 20:13:39 +02:00
Jason
cd0d97791e
contrib/apt: amend typo
2020-06-02 23:20:20 +09:00
tobi-wan-kenobi
547874dafd
[core/module] allow modules to perform updates in background
...
a module can now set `self.background = True` in its `__init__()` method
to make sure its update method is invoked in a separate thread.
also, do a PoC implementation of this for the github module.
TODO: add this to dev doc
see #640
2020-05-30 17:22:02 +02:00
tobi-wan-kenobi
7f7f464193
Merge remote-tracking branch 'origin/development'
2020-05-29 11:11:56 +02:00
Cristian Miranda
c2d869278a
[modules/github] - New module supporting unread notifications count by reason with backward compatibility
2020-05-28 17:45:57 -03:00
Cristian Miranda
f7e37ef7d7
[modules/github] - Removed legacy module
2020-05-28 15:59:39 -03:00
tobi-wan-kenobi
8cdc84871f
[modules] move amixer2 to amixer
2020-05-28 08:23:47 +02:00
tobi-wan-kenobi
006a1d05a9
Merge pull request #635 from ardadem/pr-amixer2
...
[modules] New amixer module with input support
2020-05-28 08:20:28 +02:00
tobi-wan-kenobi
caf2fea04b
[modules/battery] gracefully handle "no batteries" case
...
if no batteries are found, assume the machine is running on AC.
fixes #636
2020-05-28 08:17:35 +02:00
Arda Demir
3df0b7047f
[modules] New amixer module with input support
2020-05-26 18:23:58 +03:00
Tobias Witek
f23566f5d0
[modules/arch-update] fix log error
2020-05-26 08:15:15 +02:00
tobi-wan-kenobi
20f9ac3ae0
[modules/arandr] add contribution
2020-05-23 16:53:10 +02:00
Zero Rust
f944d7c489
Merge branch 'development' into arandr
2020-05-23 08:03:34 -04:00
Zero Rust
8c8fef61eb
linting
2020-05-23 07:58:50 -04:00
Zero Rust
3921bab32e
added display toggling to the arandr module
2020-05-23 07:53:28 -04:00
Zero Rust
90fbc249af
cleaner way to activate a layout
2020-05-23 07:28:00 -04:00
Zero Rust
ffd04e9710
full menu and command for arandr scripts
2020-05-23 07:13:47 -04:00
Zero Rust
de00f9bdce
getting display and layout state for populating menu
2020-05-22 23:53:38 -04:00
Zero Rust
f5c9272291
first go at popup functionality for arandr
2020-05-22 22:44:38 -04:00
Zero Rust
2fcd277cf9
Merge branch 'development' into arandr
2020-05-18 06:58:07 -04:00
tobi-wan-kenobi
fbbd95b7a8
[modules/network_traffic] Minor refactoring
2020-05-18 12:56:41 +02:00
tobi-wan-kenobi
172781d2c4
Merge pull request #631 from zerorust/fix_network_traffic
...
Fix network_traffic mobule on development
2020-05-17 14:15:00 +02:00
Zero Rust
f5d296df80
adding first version of arandr module to contrib
2020-05-17 08:03:03 -04:00
Zero Rust
6d89cef600
cleaning up to match style
2020-05-17 07:16:33 -04:00
Zero Rust
f2d6f2f319
moving the module setter to after module init
2020-05-16 07:24:14 -04:00
tobi-wan-kenobi
bfe5d8f493
[module/battery] exception typo
...
see #628
2020-05-15 19:48:10 +02:00
tobi-wan-kenobi
bc382e67d3
[general] black code some more
2020-05-14 20:36:01 +02:00
tobi-wan-kenobi
3fdd2d2be6
[modules/arch-update] Gracefully handle exit code 2
...
fixes #624
2020-05-11 15:10:20 +02:00
tobi-wan-kenobi
c560c07890
[packaging/pip] Make binary utility tools functional
2020-05-10 12:52:20 +02:00
tobi-wan-kenobi
92577e7d26
[all] black code :)
2020-05-09 21:24:28 +02:00