Commit graph

2533 commits

Author SHA1 Message Date
tobi-wan-kenobi
7d33171749 [core/input] methods can be event callbacks
When registering an event (especially mouse events), if the parameter
is a valid method in the Module, execute that with the event as
parameter.

Add this in the core.spacer module as an example.

fixes #858
see #857
2022-03-04 09:35:43 +01:00
tobi-wan-kenobi
eb51a3c1c7
Merge pull request #857 from bbernhard/pactl
Pactl
2022-03-03 20:31:51 +01:00
tobi-wan-kenobi
c57daf65ce [themes/zengarden] add key colors 2022-03-03 14:31:47 +01:00
tobi-wan-kenobi
9a2e7637c9 [themes/zengarden] lighter accents 2022-03-02 16:16:24 +01:00
tobi-wan-kenobi
07200c466b [themes] add zengarden light (powerline) 2022-03-02 12:33:21 +01:00
Bernhard B
33d22c2637 removed debug log from 'pactl' module 2022-02-28 19:20:19 +01:00
Bernhard B
950931e1b9 added new module 'pactl'
* added new module 'pactl' which displays the current default sink and allows to
  select a different default sink from the popup menu.
2022-02-28 19:14:21 +01:00
tobi-wan-kenobi
a17356ee9d
Merge pull request #856 from LokiLuciferase/bugfix/redshift-spelling
fix case of Kelvin SI unit in redshift widget
2022-02-20 12:57:42 +01:00
Lukas Lüftinger
928f8258aa fix case of Kelvin SI unit in redshift widget 2022-02-20 12:29:49 +01:00
tobi-wan-kenobi
03731136b6 [modules/nic] fix missing check for None 2022-02-15 16:34:02 +01:00
tobi-wan-kenobi
8897c1bde5
Merge pull request #854 from mihaimorariu/fix/publicip-exception
Fix publicip
2022-02-14 15:19:58 +01:00
Mihai Morariu
283d47ff65 Merge branch 'main' into fix/publicip-exception 2022-02-14 16:19:43 +02:00
tobi-wan-kenobi
3aadab5628 [modules/publicip] handle missing public ip more gracefully
If location does not throw, but reports an empty public IP, return
"n/a".

Since this caused a bug, also add a test for it.

fixes #853
2022-02-14 14:58:01 +01:00
Mihai Morariu
2a77e3a85c Fix exception in location.py. 2022-02-14 15:36:24 +02:00
tobi-wan-kenobi
b1f49f6a1e
Merge pull request #852 from piyueh/patch-1
typo in nic.py: minium -> minimum
2022-02-12 20:07:46 +01:00
Pi-Yueh Chuang
4784be4076
typo in nic.py: minium -> minimum 2022-02-12 12:54:31 -05:00
tobi-wan-kenobi
a1ae6d4f34
Merge pull request #851 from deadbeef2000/nic_strength
[modules/nic] Added strength indicator for wifi signals
2022-02-12 11:23:49 +01:00
Christopher Kepes
5c390be25c [modules/nic] Added strength indicator for wifi signals 2022-02-12 11:06:10 +01:00
tobi-wan-kenobi
4f9553f7ea [modules/rss] fix insecure use of tempfile
fixes #850
2022-02-11 13:44:10 +01:00
tobi-wan-kenobi
8458eef1e6 [doc] add codeql badge 2022-02-09 21:24:35 +01:00
tobi-wan-kenobi
4c08cd812e
Create codeql-analysis.yml
Trying out CodeQL
2022-02-09 21:15:08 +01:00
tobi-wan-kenobi
80493d3bea
Merge pull request #848 from logan-connolly/feature/add_rose_pine_theme
feat(theme): add rose pine theme
2022-01-25 18:29:01 +01:00
Logan Connolly
c40a174463 feat(theme): add rose pine theme 2022-01-25 17:50:25 +01: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
tobi-wan-kenobi
1089792bc6
Merge pull request #845 from donfranio/apt-view-update-on-click
add updating view on apt-cache on click
2022-01-13 11:37:36 +01:00
Frank Scherrer
30dd0f2efb add updating view on apt-cache on click 2022-01-13 11:05:01 +01:00
tobi-wan-kenobi
c019c4f382
Merge pull request #843 from fedeliallalinea/readme-gentoo-ebuild
Added ebuild link on README.md
2022-01-06 10:30:55 +01:00
Marco Genasci
5d1059ba63 Added ebuild link on README.md
Signed-off-by: Marco Genasci <fedeliallalinea@gmail.com>
2022-01-06 10:13:40 +01:00
tobi-wan-kenobi
a89bc096ef
Merge pull request #842 from fedeliallalinea/emerge-status-module
New emerge status module
2022-01-06 09:03:52 +01:00
Marco Genasci
f4ca5eaa3b Added documentation and screenshot for emerge_status module
Signed-off-by: Marco Genasci <fedeliallalinea@gmail.com>
2022-01-06 08:07:49 +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
tobi-wan-kenobi
441d4f0275
Merge pull request #841 from fedeliallalinea/fixes-some-qa
Fixes some QA
2022-01-05 13:12:47 +01:00
Marco Genasci
51c3805f7f Change deprecated dash-separated with underscore in setup.cfg
Signed-off-by: Marco Genasci <fedeliallalinea@gmail.com>
2022-01-05 09:34:38 +01:00
Marco Genasci
d430f90434 Excluding the tests folder from the installation
Signed-off-by: Marco Genasci <fedeliallalinea@gmail.com>
2022-01-05 09:34:27 +01:00
tobi-wan-kenobi
4b7a6a18d5
Merge pull request #840 from LokiLuciferase/feature/silence-spotify-exceptions
Silence exceptions in the spotify module
2021-12-28 11:33:43 +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
tobi-wan-kenobi
e590a3cf3f
Merge pull request #838 from ouuan/fix-playerctl-log
[contrib/playerctl]: don't log when no player is found
2021-12-17 11:18:27 +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
6ce761695a [doc] remove "master" branch 2021-11-07 13:50:44 +01:00
tobi-wan-kenobi
a84b4f9a65 [docs] fix docs build
pin docutils to < 0.18 as per https://github.com/readthedocs/readthedocs.org/issues/8616#issuecomment-952034858
2021-11-07 13:46:52 +01: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
6a3e4761bf Revert "[core/output] fix logic error when using "autohide""
This reverts commit 74ecbb6ca8.
2021-11-06 08:17:11 +01:00
tobi-wan-kenobi
74ecbb6ca8 [core/output] fix logic error when using "autohide"
- when state is critical or warning -> *show* the module
- when state is mayhide -> *hide* the module

see #835
2021-11-05 19:11:45 +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
tobi-wan-kenobi
f0ab3ef03a [core/config] fix autohide parameter from configuration file
Need to parse the config parameter "autohide" into a list and actually
check whether the current module is in the list.

see #835
2021-11-05 13:57:05 +01:00
tobi-wan-kenobi
c7f58ae2a4 [doc] fix typo (autohid vs. autohide)
see #835
2021-11-05 08:43:33 +01:00
tobi-wan-kenobi
4bbe25d195
Merge pull request #830 from kushagraa-j/nord-theme-colorful
added new theme nord-colorful
2021-11-03 20:36:14 +01:00
tobi-wan-kenobi
d94d12897d
Merge pull request #832 from cambid/solaar-module
new module solaar.py for logitech's unifying devices
2021-10-26 22:16:19 +02:00