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
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
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
streetturtle
83914c91c8
Merge pull request #356 from davidk55/fix-filename-typo
...
Fix typo in filename
2022-05-24 11:17:51 -04:00
David
dedcadf993
Fix typo in filename
2022-05-24 16:57:23 +02:00
A.J. Palmer
7702f00efa
add left positions for calendar
2022-05-24 08:49:32 -06:00
Sviatoslav Sydorenko
a03da2303c
Treat C-locale in the weather widget as English
2022-05-10 00:33:34 +02:00
Shubham Pawar
fc7d966cb9
Merge branch 'master' into update-brightnessctl
2022-04-16 18:30:12 +05:30
streetturtle
8439ca7930
Merge pull request #332 from augustogunsch/cmus
...
Cmus widget - fix unused "spacing" option
2022-04-15 17:30:55 -04:00
streetturtle
dc80558d9d
Merge pull request #350 from easlice/misc-customization-additions
...
Add customizations to batteryarc and ram widgets.
2022-04-15 17:19:42 -04:00
streetturtle
2043d21cb5
Merge pull request #334 from augustogunsch/brightness_font
...
Brightness widget - Use by default theme font
2022-04-15 17:16:10 -04:00
streetturtle
c238098a0d
Merge pull request #342 from utix/calendar/improvement
...
Add missing screen shot
2022-04-15 17:12:35 -04:00
streetturtle
6ab940db5c
Merge pull request #338 from andreaslongo/issue-209
...
Fix #209 : Match space characters in battery status string
2022-04-15 17:11:31 -04:00
Andrew Slice
fbe207a0f9
Add notification_position parameters to batteryarc-widget.
...
Add widget_height and widget_width parameters to ram-widget.
2022-04-11 17:26:01 -04:00
Shubham Pawar
6d1c05decc
Simplified get_brightness_cmd and using gears.filesystem
...
- `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 )
2022-03-22 21:43:05 +05:30
Aurelien LAJOIE
12bc2ab360
Add missing screen shot
2022-03-17 23:53:38 +01:00
streetturtle
b8e3a861f4
Merge pull request #340 from Dzban-Diego/patch-1
...
No brattery - no popup
2022-02-22 13:32:04 -05:00
Klimczewski
e350548000
No brattery - no pop up
...
This small change disables popup notifications when the battery is disconnected.
2022-02-22 18:33:36 +01:00
streetturtle
90958abb48
Merge pull request #335 from nuno-silva/spotify-widget-utf8
...
spotify-widget: check for utf8 support
2022-02-20 15:05:37 -05:00
Andreas Longo
51ddb1efba
Fix #209 : Match space characters in battery status string
2022-02-15 22:10:13 +01:00
Nuno Silva
3164a39b4f
spotify-widget: check for utf8 support
...
which is only availble in Lua 5.3+. Tested using Lua 5.1.5
2022-02-14 21:52:20 +00:00
streetturtle
3975a9d01b
Merge pull request #336 from BakermanLP/LangProbsAptWidget
...
Apt Widget hasn't shown any updates, because of lang
2022-02-13 19:41:50 -05:00
streetturtle
0a29aa2ada
Create CODEOWNERS
2022-02-13 19:40:14 -05:00
streetturtle
b138b2480a
Merge pull request #329 from augustogunsch/master
...
Add option 'percentage' for brightness widget
2022-02-12 16:50:44 -05:00
streetturtle
c442715ab1
Update README.md
2022-02-11 12:04:30 -05:00
Michael (BakermanLP) Bäcker
08f4f7efcc
Apt Widget hasn't shown any updates, because of lang
...
before:
apt list --upgradeable
Auflistung... Fertig
initramfs-tools-bin/focal-updates 0.136ubuntu6.7 amd64 [aktualisierbar von: 0.136ubuntu6.6]
after:
LC_ALL=c apt list --upgradeable
Listing... Done
initramfs-tools-bin/focal-updates 0.136ubuntu6.7 amd64 [upgradable from: 0.136ubuntu6.6]
2022-02-09 09:15:10 +01:00