Commit graph

2787 commits

Author SHA1 Message Date
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
tobi-wan-kenobi
b46c295827
Merge pull request #886 from anarcat/patch-1
expand FAQ about fonts
2022-06-08 18:30:13 +02:00
anarcat
9072249d5c
expand FAQ about fonts
This adds a little more information about the font stuff based on the things I learned in https://github.com/tobi-wan-kenobi/bumblebee-status/issues/881#issuecomment-1150034722
2022-06-08 11:51:56 -04:00
tobi-wan-kenobi
3764e758a2
Merge pull request #885 from anarcat/srcery
add srcery theme (closes: #881)
2022-06-08 17:25:49 +02:00
Antoine Beaupré
7b63efee36
add srcery theme (closes: #881) 2022-06-08 11:16:13 -04:00
tobi-wan-kenobi
4afb8d8636 [doc] add man pages
Many thanks to https://github.com/benthetechguy, who wrote man pages for
bumblebee-status and bumblebee-ctl

fixes #882
2022-06-08 08:34:05 +02:00
tobi-wan-kenobi
7dd5914e3f
Merge pull request #884 from benthetechguy/faq
Change nonexistent image to link
2022-06-08 02:52:47 +02:00
benthetechguy
c001f031a1
Change nonexistent image to link 2022-06-07 19:14:51 -04:00
tobi-wan-kenobi
7fc712862c
Merge pull request #877 from FraSharp/main
[modules]: introduce pamixer module
2022-05-26 13:43:02 +02:00
FraSharp
5c166beebf [modules]: introduce pamixer module
Signed-off-by: FraSharp <s23265@iisve.it>
2022-05-26 13:00:40 +02:00
tobi-wan-kenobi
6b2b5217ed
Merge pull request #876 from SamTebbs33/main
Add popup command parameter to the system module
2022-05-20 10:26:10 +02:00
Sam Tebbs
91b1b5e037 Add popup command parameter to the system module 2022-05-20 09:21:26 +01:00
tobi-wan-kenobi
2e8495d5ff
Merge pull request #875 from SamTebbs33/main
Hide progress module if it's inactive
2022-05-13 13:50:08 +02:00
Sam Tebbs
f01179290b Hide progress module if it's inactive 2022-05-13 10:21:31 +01:00
tobi-wan-kenobi
221ea0d22f
Merge pull request #874 from Timoses/patch-1
Fix logout item using hardcoded command
2022-05-11 20:04:18 +02:00
Timoses
a6d2ccc666
Fix logout item using hardcoded command 2022-05-11 19:58:34 +02:00
tobi-wan-kenobi
b7dd47c834
Merge pull request #873 from alexcoder04/main
arch-update: sleep 1 sec before checking
2022-05-01 12:50:52 +02:00
alexcoder04
3da0f08fcb
arch-update: sleep 1 sec before checking
When waking up from suspend, there is sometimes a delay connecting to
the network, so arch-update gives an error
2022-05-01 12:15:29 +02:00
tobi-wan-kenobi
c011cfb6c1
Merge pull request #872 from SamTebbs33/main
Fix missing playback_status
2022-04-24 17:13:50 +02:00
Samuel Tebbs
d20dacb2dc Fix missing playback_status 2022-04-24 16:09:54 +01:00
tobi-wan-kenobi
d3de79e6b4
Merge pull request #871 from SamTebbs33/main
Add hide parameter to playerctl
2022-04-23 16:32:15 +02:00
Samuel Tebbs
771e7482d7 [modules/playerctl] add 'hide' parameter 2022-04-23 14:44:35 +01:00
tobi-wan-kenobi
d1ae8f277f
Merge pull request #870 from arivarton/main
Changed __time_format to self.__time_format.
2022-04-11 20:34:21 +02:00
arivarton
83d910a7ef Changed __time_format to self.__time_format. 2022-04-08 17:09:28 +02:00
tobi-wan-kenobi
f64f71b6e2
Merge pull request #869 from arivarton/main
Google calendar module
2022-04-08 14:27:47 +02:00
arivarton
a48ddbb2c8 Ran black -t py34 2022-04-08 14:23:22 +02:00
arivarton
8501c406af Google calendar module. 2022-04-08 14:15:28 +02:00
tobi-wan-kenobi
2383cadadc
Merge pull request #868 from bbernhard/pulseaudio_extension
Pulseaudio extension
2022-03-25 20:43:57 +01:00
Bernhard B
4d3de3be04 handle util.popup ImportError gracefully
* util.popup requires tkinter to be installed (in order to display
  popups). As most people will probably use the default configuration
  of the pulseaudio module (where the popup is disabled) and in order
  to avoid breaking existing setups, we catch import errors and just log
  them.
2022-03-25 19:41:10 +01:00
Bernhard B
82fa347f2c extended pulseaudio module
* added possibility to show currently selected default device in the
  statusbar (default: off)
* allows to override the left mouse button click with a different
  action (e.g open popup menu to change the current default device)
2022-03-24 21:23:59 +01:00
Bernhard B
7932af712e Merge branch 'main' into pulseaudio_extension 2022-03-22 18:21:33 +01:00
tobi-wan-kenobi
d446a44f06
Merge pull request #866 from ishaanbhimwal/aur-update
Add documentation and screenshot for aur-update module
2022-03-15 13:50:04 +01:00
ishaan
9b61eee725 add better screenshots 2022-03-15 17:32:45 +05:30
ishaan
1fc4139b7c add documentation and screenshot for aur-update 2022-03-15 15:56:42 +05:30
tobi-wan-kenobi
69edfc42ae
Merge pull request #865 from ishaanbhimwal/aur-update
Fix aur-update showing wrong update number
2022-03-14 21:20:53 +01:00
ishaan
f513582d44 fix aur-update showing wrong update number 2022-03-15 01:17:57 +05:30
tobi-wan-kenobi
2d99bce987
Merge pull request #864 from ishaanbhimwal/aur-update
Add module aur-update
2022-03-14 18:41:20 +01:00
ishaan
879744e19c add aur-update 2022-03-14 22:28:00 +05:30
tobi-wan-kenobi
a8fabce14e
Merge pull request #863 from Hame-daani/main
refactor contrib.persian_date module
2022-03-10 09:51:47 +01:00
Sadegh Hamedani
c228ca3b12
[contrib/persian_date] refactor using core.datetime module as parent 2022-03-10 11:53:19 +03:30
Sadegh Hamedani
82ca97c65f
[core/datetime] added 'dtlibrary' attribute and 'set_locale' method 2022-03-10 11:52:08 +03:30
tobi-wan-kenobi
fd1eb6e790
Merge pull request #846 from DTan13/main
added module
2022-03-10 02:52:51 +01:00
tobi-wan-kenobi
b31dea19cc
Merge pull request #861 from bbernhard/pactl_revert
Pactl revert
2022-03-07 21:23:26 +01:00
Bernhard B
d52f713063 Revert "Merge pull request #857 from bbernhard/pactl"
This reverts commit eb51a3c1c7, reversing
changes made to c57daf65ce.

Instead of creating a separate module, the changes will be integrated
into the pulseaudio module.
2022-03-07 20:53:11 +01:00
Bernhard B
0bf91c2f15 Merge branch 'main' into pactl_revert 2022-03-07 20:52:31 +01:00
Dhananjay Tanpure
3de6f9f4b9
Merge branch 'tobi-wan-kenobi:main' into main 2022-03-07 08:58:13 +05:30
Dhananjay Tanpure
e5cdabcc0f
mpd and title 2022-03-07 08:50:30 +05:30