Commit Graph

65 Commits

Author SHA1 Message Date
Kamus Hadenes
f4ffb21c8c
improve sink/source separation
Add additional fields, namely `source_volume` and `source_desc`
Add `tooltip-format`, reverting to default behavior if not specified
Add additional CSS classes, namely `sink-muted` and `source-muted`
2021-01-12 18:51:44 -03:00
Andrea Scarpino
005af7f7b7 Revert "Fix waybar-pulseaudio with pipewire-pulse"
This reverts commit 0d03c1d4da.
2020-12-25 17:37:21 +01:00
Andrea Scarpino
0d03c1d4da Fix waybar-pulseaudio with pipewire-pulse 2020-12-04 23:51:10 +01:00
Alex
4a7dd400fe
Merge branch 'master' into on-update 2020-04-12 18:32:19 +02:00
Alex
b40cdcb5bd refactor: call parent update 2020-04-12 18:30:21 +02:00
JohnHolmesII
5c5031fd69
pulse: do not die when a server hasn't been started. wait first. 2020-04-05 11:42:27 -07:00
Alex
9acf5587fa refactor(pulseaudio): fallback to default muted format 2020-03-25 22:53:09 +01:00
Guillaume Maudoux
190b2dd922 pulseaudio: track only the default sink and source
When you have multiple sinks (resp. sources), the module used to display
the state of the most recently changed one. This changes remembers the
default sink name, and only records changes to that one.
2020-02-24 11:30:35 +01:00
Guillaume Maudoux
9a5f5114c4 pulse: track default source/sink changes 2020-02-19 12:28:36 +01:00
Alex
543589a97b
Update pulseaudio.cpp 2020-02-16 21:48:22 +00:00
Andreas Stührk
527fa982d2 pulseaudio: adapt icon names to form factors 2020-01-31 22:47:26 +01:00
PlusMinus0
8fb3211594 Use PA_PROP_DEVICE_FORM_FACTOR for device icon. 2020-01-13 11:34:33 +01:00
Jordi Pakey-Rodriguez
0f0765e517 feat(modules): call user on-update if configured 2019-12-05 14:42:36 -08:00
Niv Sardi
6d5b502bbb pulseaudio: export desc as a format
Signed-off-by: Niv Sardi <xaiki@evilgiggle.com>
2019-11-25 05:16:58 -03:00
Hetian Huo
3d1fd4f5ea
change audio scroll bound
Change default behavior from 0% - 99% to 0% - 100%.
2019-09-28 18:05:31 -05:00
tufteddeer
d8b1b0d0af
add support for muted bluetooth audio, fix #420 2019-08-18 16:15:21 +02:00
crwxrws
617b370104 fix(pulseaudio): connect scroll event handler
Reconnect the event handler that was removed in commit 527144a.

Fixes Alexays#400
2019-07-06 15:51:00 +02:00
Alex
05f796158b fix: typo 2019-06-16 15:13:40 +02:00
Alex
527144a440 refactor(pulseaudio): proper scroll override 2019-06-16 15:08:08 +02:00
Alex
340ec7be91 refactor: AModule 2019-06-15 14:57:52 +02:00
Alex
0b01b35c76 refactor(pulseaudio): only watch changes 2019-05-31 16:21:01 +02:00
Alex
d24d85bebf refactor: move label name and id to label contructor 2019-05-22 12:06:24 +02:00
Alex
48a58cd979 fix(network): switch between ifaces upon disconnection 2019-05-21 17:38:47 +02:00
Alex
7a3febf6a7 fix(pulseaudio): default source format 2019-05-21 14:55:17 +02:00
Alex
bb4af295bc feat(pulseaudio): source info 2019-05-21 14:53:31 +02:00
Alex
cf7663153d fix(pulseaudio): allow to scroll to 0 2019-05-21 09:29:39 +02:00
Olegs Jeremejevs
d5c1e6f312 Change scroll-step unit to percent 2019-05-17 11:19:58 +08:00
Alex
0968170074 style(media): min-width 2019-05-13 15:40:02 +02:00
Alex
4f1defe6d5 fix(Pulseaudio): avoid handleScroll override 2019-05-13 11:46:12 +02:00
Dan
e343cf4b00 fix(btformat): fixes an issue where btformat was not being correctly detected 2019-05-10 12:07:17 -04:00
Dan
5f0a3063d1 feat(states): add getState to other percent based modules 2019-05-02 22:24:29 -04:00
Alex
311c34ecbc feat(Bar): handle widget size changes 2019-04-24 12:37:24 +02:00
Alex
6ed8f94dab refactor: format code 2019-04-18 17:52:00 +02:00
Aleksei Bavshin
9ad80849b1 fix(pulseaudio): Avoid allocation of string vector on every call of getPortIcon() 2019-03-14 18:35:16 -07:00
Aleksei Bavshin
492d151079 fix(pulseaudio) use case-insensitive comparison for icon lookup 2019-03-14 18:08:12 -07:00
Alex
94d7b083c5 fix(Pulseaudio): switch case 2019-03-08 15:30:41 +01:00
Alex
83a6475510 feat: can disable tooltip 2019-02-22 11:35:47 +01:00
Alex
8bfcb106c0 style: comment about workspace hover effect 2019-02-18 12:30:41 +01:00
Alex
6bf4f65228 fix: two finger scroll 2019-02-16 09:56:53 +01:00
Alex
3e18673451 fix: remove bluetooth class on else 2019-02-12 17:55:50 +01:00
Cédric Chépied
a4062455cd fix(pulseaudio): return puleseaudio port string if unknown 2018-12-20 09:54:10 +01:00
Alexis
b554094c7e feat: args && class id 2018-12-18 17:30:54 +01:00
Alexis
66ad2864c2 fix(Pulseaudio): use markup 2018-12-17 09:00:40 +01:00
Robinhuett
e21df5ae36 Add config option for volume change scroll step size 2018-11-09 22:48:27 +01:00
Harish Krupo
3e34137ac7 pulseaudio: Change volume on scroll event
Subscribe for mouse scroll events on the pulseaudio widget
and change volume when event is received.
Scroll up increments the volume and scroll down decrements it.
These events are only subscibed when there are no user defined
commands present for them.

Signed-off-by: Harish Krupo <harishkrupo@gmail.com>
2018-10-30 20:53:43 +05:30
Alexis
ed3e4b1395 fix(pulseaudio): check active_port is set 2018-10-27 11:23:43 +02:00
Alexis
3f269ff463 fix: check json::value type 2018-10-26 09:27:16 +02:00
Alexis
4626cbef63 fix(pulseaudio): round volume 2018-10-25 13:57:35 +02:00
Alexis
20ff2cab9e
feat(Tray): handle item unregister 2018-09-15 19:01:28 +02:00
Alexis
6dd9b5ccc4
feat(Pulseadio): port icons 2018-08-29 23:50:41 +02:00