Commit graph

2525 commits

Author SHA1 Message Date
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 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 
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 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 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 
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 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 
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 
2022-01-14 13:29:29 +01:00
tobi-wan-kenobi
1089792bc6
Merge pull request 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 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 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 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 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 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 
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 
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 
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 
2021-11-05 13:57:05 +01:00
tobi-wan-kenobi
c7f58ae2a4 [doc] fix typo (autohid vs. autohide)
see 
2021-11-05 08:43:33 +01:00
tobi-wan-kenobi
4bbe25d195
Merge pull request 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 from cambid/solaar-module
new module solaar.py for logitech's unifying devices
2021-10-26 22:16:19 +02:00
Jan Fader
2cb72fcc30
add tests for solaar.py 2021-10-26 21:52:15 +02: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
Kushagra Jain
d8216a5e2c added new theme 2021-10-26 13:54:35 +05:30
tobi-wan-kenobi
0fe89e13a0
Merge pull request from izn/fix/codeclimate-coverage-report
fix: generate coverage xml before cc report
2021-10-23 16:10:50 +02:00
Thaynã Moretti
7542a47dbc fix: generate coverage xml before cc report 2021-10-23 11:02:46 -03:00
tobi-wan-kenobi
d89c6b1bc1
Merge pull request from izn/docs/fix-travis-ci-url
docs: update travisci url
2021-10-23 15:30:29 +02:00
Thaynã Moretti
99bb5e99aa Fix Travis CI build URL 2021-10-23 10:24:02 -03:00