Commit Graph

1127 Commits

Author SHA1 Message Date
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
b0wter f190f1370f Fixed issue with wrong icon for containers that never started 2023-05-12 08:57:05 +02: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
streetturtle 1a2a4385da
Merge pull request #359 from WiltonLoch/master
Adding a Portuguese language file to the weather widget locale
2022-07-16 20:47:28 -04:00
streetturtle 860c31c9e6
Merge pull request #355 from akadaedalus/master
add left positions for calendar
2022-07-16 20:43:15 -04:00
streetturtle c0fdb16652
Merge pull request #352 from webknjaz/bugfixes/C-locale-corner-case
Treat C-locale in the weather widget as English
2022-07-16 20:41:39 -04:00
streetturtle 0e96494f47
Merge pull request #345 from shubham-cpp/update-brightnessctl
Simplified get_brightness_cmd and using gears.filesystem
2022-07-16 20:40:04 -04:00
Christopher Crockett f3229d2716 Separate spotify-widget artist/title without icon
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.
2022-07-13 17:06:24 -04:00
Christopher Crockett 5d50fe7fab Document new sp_bin option for spotify-widget 2022-07-13 14:08:17 -04:00
Christopher Crockett cd162c9a17 Added sp_bin option to spotify-widget
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.
2022-07-13 14:03:53 -04:00
Augusto Gunsch e2e680c11e Fix prev command 2022-07-10 21:11:17 +02:00
Augusto Gunsch d9c689d733 Add stop function 2022-07-10 21:04:15 +02:00
Augusto Gunsch 12cfe038f8 Add more functions for cmus widget 2022-07-10 20:59:28 +02:00
wiltonloch a345fa5975 Adding a Portuguese language file to the weather widget locale 2022-06-25 13:21:07 -03:00