Commit Graph

1138 Commits

Author SHA1 Message Date
ali 17f9ef03ea
Fixed issue #424: Huston warning on fully charged battery 2023-11-19 17:11:34 +01:00
streetturtle a878abaa68
Merge pull request #420 from Alucard2169/master
Fixed import instructions for pacman-widget
2023-11-03 23:03:50 -04:00
Alucard ed897d43f9
Update README.md 2023-11-01 03:40:36 +00:00
streetturtle 4381a89ee0
Merge pull request #402 from eylles/hide-logout-on-mouse-leave
add hide on leave feature
2023-10-16 18:19:29 -04:00
eylles 4b048254e4
Merge branch 'master' into hide-logout-on-mouse-leave 2023-10-13 04:56:06 -06:00
streetturtle 9c6dc31a7f
Merge pull request #403 from madhur/patch-1
awesome: wibox.widget.background has been renamed to wibox.container.…
2023-09-21 14:49:20 +02:00
streetturtle e13686da48
Merge pull request #413 from pingarelho/fix-documentation-inconsistencies
Fix inconsistencies/typos in the documentation (mainly in tables)
2023-09-21 14:46:06 +02:00
pingarelho 2a01061db2 'GitHub username' instead of 'Your GitHub...' 2023-09-20 23:11:49 +01:00
pingarelho 5e8d065baf 'e.g.' instead of 'e.g' 2023-09-20 23:09:25 +01:00
pingarelho 4768d48a3b Fix documentation inconsistencies (mainly tables) 2023-09-20 23:01:55 +01:00
streetturtle 2889ef4d9e Fix codeowners file 2023-07-17 22:17:10 -04:00
streetturtle cd0e1a8a3a
Merge pull request #357 from HamishFleming/fix/#242/apt-widget
fix(apt-widget): Fixed nil value (buttons) -Also replaces awful.util with gears
2023-07-16 20:51:38 -04:00
streetturtle b0f7173d99
Merge pull request #401 from b0wter/master
fix/enhancement - docker widget (Created status, podman support, max width)
2023-07-16 20:45:31 -04:00
streetturtle d3e83caf84
Merge pull request #407 from Rowaaaaan/mpris-widget-popup
Make player duration and status popup on mpris-widget hover
2023-07-16 20:41:08 -04:00
Rowan 15c483923f Make player duration and status appear on hover
This commit adds displaying player metadata in a popup when the user
hovers over the mpris-widget
2023-07-12 14:51:11 +08:00
streetturtle db793b2ee7
Merge pull request #385 from gpotter2/patch-1
Fix ps: 'improper AIX field descriptor'
2023-07-05 11:24:02 -04:00
Madhur Ahuja 58f9a82eb0
awesome: wibox.widget.background has been renamed to wibox.container.background
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>
2023-05-21 13:09:47 +05:30
b0wter f190f1370f Fixed issue with wrong icon for containers that never started 2023-05-12 08:57:05 +02:00
eylles a2dfa18c0e
add hide on leave feature 2023-04-27 01:51:33 -06:00
b0wter f02bce0fdc Made search for `Created` stricter to not cause accidental matches 2023-04-23 23:13:15 +02:00
b0wter d96dc1ba09 Changed value in README.md to reflect the default value 2023-04-23 23:03:47 +02:00
b0wter 1f969c7bf4 Several minor improvements and enhancements:
- 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
2023-04-23 23:01:13 +02:00
streetturtle c8388f484e
Merge pull request #377 from WiltonLoch/master
New parameter to brightness widget
2023-03-06 13:52:14 -05:00
streetturtle ca300adf01
Merge pull request #378 from augustogunsch/cmus-improvements
Copy ellipsize function from Spotify widget
2023-03-06 13:49:09 -05:00
streetturtle ecb22a54bc
Merge pull request #392 from nekotxs/master
Added displaying volume in tooltip
2023-03-06 13:46:27 -05:00
nekotxs d1c59a6bd0 Added displaying volume in tooltip 2023-02-08 03:49:50 +07:00
streetturtle ef70d16c43
Update update-site.yml 2023-01-18 13:38:13 -05:00
streetturtle e1a8a18a58
Merge pull request #388 from jarrowsm/pacman-widget
pacman-widget
2023-01-18 13:36:29 -05:00
streetturtle a3f4a07316
Merge pull request #386 from shuber2/pactl-widget
pactl: A new volume widget using pactl only
2023-01-18 13:32:47 -05:00
James Arrowsmith 97d127b774 Fix luacheck warnings 2023-01-19 01:43:53 +13:00
Stefan Huber 81d725fe84 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.
2023-01-18 07:59:53 +01:00
streetturtle 5f251902cf
Update README.md 2023-01-17 22:23:22 -05:00
streetturtle f5ffa665b7
Update README.md 2023-01-17 22:22:37 -05:00
streetturtle 5f5aa85bed
Merge pull request #384 from shuber2/fix-bat-unknownstatus
Fix bat unknownstatus
2023-01-17 22:20:39 -05:00
streetturtle 72d53d1e87
Merge pull request #382 from SkylarGill/spotifywidget-mouseevent-spbin
Spotify Widget - Use sp_bin setting when registering mouse events
2023-01-17 22:16:27 -05:00
James Arrowsmith 4741325f8b pacman-widget 2023-01-05 17:15:30 +13:00
gpotter2 bd82ee004a
Fix ps: 'improper AIX field descriptor'
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
```
2022-12-31 00:38:55 +01:00
Stefan Huber ed355dbf46 battery-widget: Sanitize total charge computation
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.
2022-12-30 13:51:04 +01:00
Stefan Huber 0aba2f2e13 battery-widget: Simplify capacity computation
Increase cohesion of code that computes total charge and total capacity.
2022-12-30 12:59:09 +01:00
Skylar Gill d1195d0e26 Use sp_bin setting when registering mouse events 2022-11-22 16:52:12 +00:00
Augusto Gunsch 5116ed6c93
Copy ellipsize function from Spotify widget 2022-09-21 11:36:37 +02:00
wiltonloch 5436535d37 Adding a parameter to allow the right mouse button to always set the
brightness level to maximum, instead of the default toggle behavior.
2022-09-17 11:44:26 +02:00
streetturtle 3bb3d56c26
Merge pull request #373 from Aire-One/fix/281
fix: #281
2022-09-02 21:51:25 -04:00
streetturtle 8c2e57347e
Merge pull request #374 from 0x501D/fix_luacheck_warnings
Fix luacheck warnings
2022-09-02 21:49:30 -04:00
Pavel Balaev 408e044d08
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
2022-08-23 11:47:06 +03:00
Aire-One bbb4bd7623 fix: #281 2022-08-07 19:14:04 +02:00
streetturtle 5358c40a02 Fix bug introduced by #367 2022-07-16 22:22:58 -04:00
streetturtle 2650676e31
Merge pull request #367 from chaorace/spotify-widget-icon-placeholder
Separate artist/title textboxes in spotify-widget when an icon cannot be drawn
2022-07-16 21:05:40 -04:00
streetturtle 1245ea43cd
Merge pull request #364 from chaorace/spotify-local-sp
Allow specifying a custom location for the sp binary used by spotify-widget
2022-07-16 20:50:10 -04:00
streetturtle 7467480c58
Merge pull request #362 from augustogunsch/cmus_functions
Cmus functions
2022-07-16 20:48:05 -04:00