Age | Commit message (Collapse) | Author |
|
When I copied and pasted the up and down arrows into the code, it
appears I put them in the wrong order. First number is receive, which
logically should be a down arrow; second number is transmit, which
logically should be an up arrow. This was backwards, and no longer is.
|
|
reset_garbage_collector started uninitialized in one function, so we
initialize it to 0 everywhere.
|
|
|
|
|
|
|
|
I added in a variable to force clearing the garbage collector more
often, so that the memory leaks involving awful.spawn.easy_async
wouldn't cause massive performance issues over time.
|
|
Fixes the following warning
2023-05-21 13:03:02 W: awesome: wibox.widget.background has been renamed to wibox.container.background.
stack traceback:
/usr/share/awesome/lib/gears/debug.lua:113: in function 'gears.debug.deprecate'
/usr/share/awesome/lib/gears/debug.lua:164: in local 'layout'
/usr/share/awesome/lib/wibox/widget/base.lua:745: in upvalue 'drill'
/usr/share/awesome/lib/wibox/widget/base.lua:778: in upvalue 'drill'
/usr/share/awesome/lib/wibox/widget/base.lua:818: in function 'wibox.setup'
...nfig/awesome/awesome-wm-widgets/pacman-widget/pacman.lua:227: in upvalue 'callback'
/usr/share/awesome/lib/awful/widget/watch.lua:88: in function </usr/share/awesome/lib/awful/widget/watch.lua:87>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
- can now use `podman` as alternative to `docker`
- added option to change the width at which the text breaks
- fixed problem with unhandled `CREATED` status
|
|
This commit adds displaying player metadata in a popup when the user
hovers over the mpris-widget
|
|
It appears that `ps` doesn't support using custom separators (e.g. here: '|') on all OSes. This replaces it with hardcoded lengths when known (cpu, mem, etc...).
E.G. on a debian bookworm machine this is what it returns:
```
ps -eo '%p|%c|%C|' -o "%mem" -o '|%a' --sort=-%cpu
error: improper AIX field descriptor
```
|
|
|
|
brightness level to maximum, instead of the default toggle behavior.
|
|
|
|
|
|
|
|
This reverts commit d1c047c78a647d0703785303c1ded6fb24ae0127.
|
|
|
|
|
|
|
|
|
|
|
|
pacman-widget
|
|
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
|