Age | Commit message (Collapse) | Author |
|
pactl: A new volume widget using pactl only
|
|
Add a new volume widget that is using pactl only for controlling volume
and selecting sources and sinks. It therefore works with PulseAudio or
PipeWire as backend, unlike the original Volume widget.
The code is split as follows:
- volume.lua contains the UI logic
- pactl.lua contains the pactl interfacing and output parsing
- utils.lua contains some shared helper routines
It is heavily based on the original Volume code and supports the same
configuration options and uses the same widget code.
|
|
|
|
|
|
Fix bat unknownstatus
|
|
Spotify Widget - Use sp_bin setting when registering mouse events
|
|
The code to parse the output of `acpi -i` is fragile as it does not
guarantee that the same number of battery status and capacities are
read. This causes a wrong computation of the total charge level when
batteries of status "Unknown" are reported.
For instance, this is what `acpi -i` reports with a Wacom Intuos S
attached to a Thinkpad T460s:
$ acpi -i
Battery 0: Unknown, 0%, rate information unavailable
Battery 1: Not charging, 98%
Battery 1: design capacity 1857 mAh, last full capacity 1513 mAh = 81%
Battery 2: Not charging, 98%
Battery 2: design capacity 2051 mAh, last full capacity 1711 mAh = 83%
Fix the code by guaranteeing that for each battery status parsed there
is also a capacity, which is zero if no capacity can be parsed. This
effectively causes the exclusion of such batteries when computing the
total charge level.
|
|
Increase cohesion of code that computes total charge and total capacity.
|
|
|
|
fix: #281
|
|
Fix luacheck warnings
|
|
This patch fixes luacheck warnings in brightness plugin:
brightness-widget/brightness.lua:60:1:
inconsistent indentation (SPACE followed by TAB)
brightness-widget/brightness.lua:63:60:
line contains trailing whitespace
|
|
|
|
|
|
Separate artist/title textboxes in spotify-widget when an icon cannot be drawn
|
|
Allow specifying a custom location for the sp binary used by spotify-widget
|
|
Cmus functions
|
|
Adding a Portuguese language file to the weather widget locale
|
|
add left positions for calendar
|
|
Treat C-locale in the weather widget as English
|
|
Simplified get_brightness_cmd and using gears.filesystem
|
|
Introduces a minimum distance between the artist/title textboxes equal
in width to 1 space character in the specified widget font.
This should ensure that the artist/title textboxes are not crammed
together in the event that an icon cannot be displayed.
|
|
|
|
Allows specifying a custom location for the sp binary via widget config.
This is intended for users who don't want to add the sp binary to their
system PATH.
|
|
|
|
|
|
|
|
|
|
Fix typo in filename
|
|
|
|
|
|
|
|
|
|
Cmus widget - fix unused "spacing" option
|
|
Add customizations to batteryarc and ram widgets.
|
|
Brightness widget - Use by default theme font
|
|
Add missing screen shot
|
|
Fix #209: Match space characters in battery status string
|
|
Add widget_height and widget_width parameters to ram-widget.
|
|
- `brightnessctl` already has (g)et option that will get current
brightness value without any decoration
- Using `gfs.get_configuration_dir()` will return the awesomewm config
directory. [Reference](https://awesomewm.org/doc/api/libraries/gears.filesystem.html#get_configuration_dir)
|
|
|
|
No brattery - no popup
|
|
This small change disables popup notifications when the battery is disconnected.
|
|
spotify-widget: check for utf8 support
|
|
|
|
which is only availble in Lua 5.3+. Tested using Lua 5.1.5
|
|
Apt Widget hasn't shown any updates, because of lang
|
|
|
|
Add option 'percentage' for brightness widget
|
|
|