Commit Graph

44 Commits

Author SHA1 Message Date
Aurelien LAJOIE 8163e2a01a fix: volume default card should be 0
Majority of users has only one card so default should be 0 not 1
2024-10-10 20:15:56 +02:00
Dmitriy 331e059e71 Fix formatting for pipeline 2023-12-07 12:04:51 +03:00
Luka5W 7ebd572f8b code cleanup 2023-10-07 21:52:14 +00:00
Luka5W c76ea14833 bugfix: volume level was not displayed correctly 2023-10-07 21:50:02 +00:00
Luka5W d2e04c4626 fixed colors for light themes 2023-10-06 00:33:02 +00:00
Luka5W 3f9c9b93e6 changed the name to match the suggested name in #396 2023-10-05 23:12:05 +00:00
Luka5W 48df364e20 added options card, value_type, mixer for amixer and added toggle_cmd which overrides broken amixer unmute 2023-10-05 22:17:03 +00:00
lygamac 0aea953a6c volume-widget: fix `INC_VOLUME_CMD` and `DEC_VOLUME_CMD`
PR #315 didn't remove `pulse` after specifying the device variable,
making the command to echo an error.
2021-12-26 12:39:36 +01:00
Pavel Balaev 9ab7529788
volume-widget: add device parameter
By default this widget uses pulse audio device. To make this widget
works ALSA users have to install third-party utils. This patch adds
ability to select device name for audio control.
2021-11-30 23:27:26 +03:00
Desour fe6606d511 Add a step parameter for volume_widget:inc() and :dec() 2021-09-23 23:04:26 +02:00
Randal 14bb270274 add the 'step' arg for volume-widget 2021-07-24 21:14:28 +08:00
Nuno Silva 40bd6a7756 volume-widget: open mixer on middle click 2021-05-15 23:19:21 +01:00
streetturtle aaa6fa2aaa [volume] fix #248 2021-04-11 20:31:58 -04:00
streetturtle 25d9eecfc6 [volume] BREAKING CHANGE - new widget instead of old ones
Having three widgets for volume led to a problem of code duplication -
same logic was duplicated three times. However when an issue was
discovered and fixed, it was fixed in only one of three widgets.
So I decided to create a volume widget from scratch, adding new
features, such as selecting input/output, better responsiveness,
easily customizable widget ui (bar, text, icon, icon and text, arc).
Should close #199, #198, #185, #182, #47, #122, #183.
2021-03-19 20:49:00 -04:00
streetturtle d9eb3885ee trigger build action on a branch 2020-12-02 22:04:23 -05:00
streetturtle 8be78d4fdd fix few issues 2020-12-02 09:18:16 -05:00
Robert Stoll 0915a81e54
show notification on right click for volume/battery 2020-11-01 22:39:17 +01:00
Neville Li a44a3591eb make volume +/- delta configurable 2020-05-23 09:30:22 -04:00
Neville Li 232e504f46 fix volume widget initial icon 2020-05-18 16:52:36 -04:00
Aurélien LAJOIE 92e411da97 Display the notification on the current screen 2020-04-15 19:00:10 +02:00
Neville Li cc600a9bfa
Fix display_notification setting in volume-widget 2020-04-04 12:44:46 -04:00
Aurélien LAJOIE 5cda7b78b3 Volume, Add function for keys Binding
Add raise, lower and toggle function to the widget for key
bindings.

If notification is activated display the notification on raise, lower or
toggle
2020-03-30 22:06:46 +02:00
streetturtle 88e7d9ac99 [volume-widget] fix #118 2020-02-22 13:35:22 -05:00
Aurélien LAJOIE 343a67f7e5 volume: fix error on mouse leave
naughty destroy is expecting a nil argument or a real notification,
using `{}` triggers an error on destroy
2020-02-08 12:00:13 +01:00
Pavel Makhov 11da6f96da Check if folder with icons exists 2019-12-24 20:37:59 -05:00
Aurélien LAJOIE 63cd5efeae Destroy notification before creating a new one
With async, you can trigger several notification
Just delete the notification before displaying it
2019-12-23 22:22:38 +01:00
Aurélien LAJOIE f59cd86941 [Volume] Add an option to display a notification 2019-09-18 01:33:29 +02:00
streetturtle 0999de2bfd externalize config of volume widget 2019-09-03 21:57:24 -04:00
blix4 dbee6f75f7 volume widget support amixer with no device specified
This works on my setup without having pulseaudio installed.
2019-09-03 21:23:16 -04:00
Pavel Makhov d185af3b87 refactor volume widget 2018-10-05 11:02:05 -04:00
pmakhov e6c3059727 Possible fix for the memory leak (issue #11) 2017-12-09 14:39:46 -05:00
Pavel Makhov 685b1fd595 show red icon when volume is muted 2017-06-09 15:45:44 -04:00
Pavel Makhov 2ee0cff703 Merge branch 'master' of https://github.com/streetturtle/AwesomeWM 2017-06-09 11:34:13 -04:00
streetturtle 69e7468fe3 fix typo in doc 2017-06-09 09:17:07 -04:00
Pavel Makhov 5cce26ca95 Few small improvements for volume widget 2017-06-05 21:22:43 -04:00
Ashley 1fa4dc3508 Add instant update to volume graphic upon changes
Added functionality to audio widget so the graphic updates immediately when you modify the volume through it, rather than taking up to a second to reflect changes.

Additionally made some minor changes to code to make it more consistent.
2017-05-30 01:09:44 +01:00
Pavel Makhov 4edc315841 Possible fix for memory leak issue #11 2017-04-14 10:02:54 -04:00
Sasha Bogdanov fcb8ff3d86 Disable startup notifications for volume control commands 2017-03-11 20:33:33 +03:00
Pavel Makhov 9fbcb2e540 Update volume.lua 2017-02-12 21:05:14 -05:00
streetturtle fe598e3299 add mouse support to the volume widget 2017-02-09 21:56:09 -05:00
Roman Sokolkov 5beb57b8e6 Added mute detection for volume widget 2017-02-04 11:58:04 +01:00
streetturtle 52590602d9 improve widget rendering and use wibox.widget wrapper 2017-02-03 22:15:16 -05:00
streetturtle fa43013431 readme update 2017-02-01 21:45:15 -05:00
streetturtle c4826fd213 new widgets added 2017-01-30 21:40:01 -05:00