Commit 5771c4e
panel: add wireplumber mixer widget (#307)
* Added wireplumber mixer widget
* Added scroll control in full mixer
* Added middle click to mute
* add configuration options for wireplumber widget
* uncrustify and style compliance
* uncrustify ?
* remove section of the code pending on pr 306 (extra options)
* uncrustify ; though i cannot agree oops lol
* Revert "remove section of the code pending on pr 306 (extra options)"
This reverts commit 81bfaf3.
* remove logic pertaining to pr 306 (vertical panel layouts)
* fixed include in animated-scale.cpp
* add popup on change option
* added support for mute gestures to individual control
* added defaults, fallbacks and corrected compliance with config options
* fix scroll gesture, malformed panel.xml
* cleaned up a bit middle click to mute
* fixed improper naming of on -> handle_config_reload
* removed obsolete functions
* fixed left click actions on widget ; comments
* added deselection guard for default + explanation
* adjust logic of updates in on_mixer_changed ; removed unused enum ; comments
* cleaup
* fix popover jank and incorrect settings reloading
* uncrustify
* fixed gestures connection both in control and widget ; cleanup
* lil forgotten
* uncrustify
* fixed doubling in existing widgets when catching up new one
* de-duplicated icon_name_from_state
* removed non breaking space and french quotes from comments
* use std::string_view for string comparison
* fixed configuration to use .value() missed it oops
* unique instead of raw pointers
* separators and labels not by new
* add autos, make construction less barbaric
* cleanup
* exported volumelevel and icons to be common between volume and wireplumber
* fixed broken setting of default node
* added explanation to volume-level.hpp
* fix indentation in util meson
* uncrustify
* fix headers
* removed stuff from old pulseaudio volume code
* added and cleaned up comments, declarations and small moves
* separate wireplumber styles from volume and add size option
* uncrustify
* now uses a singleton, split into multiple files
* fix face choice for default sink/source, static for config
* remove warningns for volume and wireplumber + ipc header
* minimum value of 0 for wireplumber scroll sensitifivy
* improved icons handling and made it in common between volume and wp
* added volume-level to build and build messages for volume/wp being unavailable
* uncrustify
* use c++ glib instead of C glib functions
* fixed on_mixer_changed logic
* fixed popups and ignore control that just did the change
* add uniform styles
* cancel hiding of the popover after user interaction
* fixed scrolling
fixedsegfaults on face = default sink/source
try harder to not be faceless
actually show face initially
properly always refresh face/controls icons
* uncrustify
* put more of setting default to wpcommon
formatting
fixed node media classes
added proper guard to getting mute and volume
* oh come on what was i thinking
* uncrustify sigh
* fixed setting of face for face = default device
* drop overloaded WfWpControlDevice copy to get a normal control for face
* maybe i should think of running uncrustify myself
* how long have the labels been blank oops lol
* goofed up
* fixed initialisation with default sink/source as face
* fixed crashes without face / now shows icon when faceless
* uncrustify
* uncrustify
* added slider length option
* don’t repeat getting volume and mute
* still don’t like it but if now if it fails it’s probaly less bad
* don’t take cube root there, since it’s already done
* forgot negation
* restored mute oops
* switch the priority of names
* fix <long> formatting
* fixed typo
* face -> quick target everywhere
* add wireplumber to example
* switch naming from WayfireWireplumber to WpMixer
* changed name for user-facing documents and added a quick explanation of
pipewire and pulseaudio to example ini
+ moved the quick target selection to the top of config sections
* word change + uncrustify
* updated meson paths and includes for rename
* made the names not drive up the size of the grid
name change in metadata
added spacing to boxes
* add tooltips to main widget for current quick target
* change icon for oor volume to emblem-unreadable
* added option to put icosn on left
* uncrustify + update some comments
* make WfOptions read in member functions static
* added margins and use helper lambda
* fix wall of critical warnings
* fix label attaching and clean up update_gestures + uncrustify
* clean up gestures initialisation
* add wireplumber-dev package to the build ci
* prevent external changes from replacing the full mixer view
* prevent new control appearance from replacing full mixer view
* uncrustify
* fixed memory leak on reload
* change default target to default_sink and slight ini changes
* adjust naming to popup
* make spacing a proper config option instead of hacking it and make it properly reload
* also update the ini ex1 parent a10104e commit 5771c4e
20 files changed
Lines changed: 1680 additions & 124 deletions
File tree
- .github/workflows
- metadata
- src
- panel
- widgets
- wp-mixer
- util
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
9 | 9 | | |
10 | 10 | | |
11 | 11 | | |
12 | | - | |
| 12 | + | |
13 | 13 | | |
14 | 14 | | |
15 | 15 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
21 | 21 | | |
22 | 22 | | |
23 | 23 | | |
| 24 | + | |
24 | 25 | | |
25 | 26 | | |
26 | 27 | | |
| |||
35 | 36 | | |
36 | 37 | | |
37 | 38 | | |
| 39 | + | |
| 40 | + | |
| 41 | + | |
| 42 | + | |
38 | 43 | | |
39 | 44 | | |
40 | 45 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
4 | 4 | | |
5 | 5 | | |
6 | 6 | | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
7 | 13 | | |
8 | 14 | | |
9 | 15 | | |
10 | 16 | | |
11 | 17 | | |
12 | | - | |
| 18 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
249 | 249 | | |
250 | 250 | | |
251 | 251 | | |
| 252 | + | |
| 253 | + | |
| 254 | + | |
| 255 | + | |
| 256 | + | |
| 257 | + | |
| 258 | + | |
| 259 | + | |
| 260 | + | |
| 261 | + | |
| 262 | + | |
| 263 | + | |
| 264 | + | |
| 265 | + | |
| 266 | + | |
| 267 | + | |
| 268 | + | |
| 269 | + | |
| 270 | + | |
| 271 | + | |
| 272 | + | |
| 273 | + | |
| 274 | + | |
| 275 | + | |
| 276 | + | |
| 277 | + | |
| 278 | + | |
| 279 | + | |
| 280 | + | |
| 281 | + | |
| 282 | + | |
| 283 | + | |
| 284 | + | |
| 285 | + | |
| 286 | + | |
| 287 | + | |
| 288 | + | |
| 289 | + | |
| 290 | + | |
| 291 | + | |
| 292 | + | |
| 293 | + | |
| 294 | + | |
| 295 | + | |
| 296 | + | |
| 297 | + | |
| 298 | + | |
| 299 | + | |
| 300 | + | |
| 301 | + | |
| 302 | + | |
| 303 | + | |
| 304 | + | |
| 305 | + | |
| 306 | + | |
| 307 | + | |
| 308 | + | |
| 309 | + | |
| 310 | + | |
| 311 | + | |
| 312 | + | |
| 313 | + | |
| 314 | + | |
| 315 | + | |
| 316 | + | |
| 317 | + | |
| 318 | + | |
| 319 | + | |
| 320 | + | |
| 321 | + | |
| 322 | + | |
| 323 | + | |
| 324 | + | |
| 325 | + | |
| 326 | + | |
| 327 | + | |
| 328 | + | |
| 329 | + | |
| 330 | + | |
| 331 | + | |
| 332 | + | |
| 333 | + | |
| 334 | + | |
| 335 | + | |
| 336 | + | |
| 337 | + | |
| 338 | + | |
| 339 | + | |
| 340 | + | |
| 341 | + | |
| 342 | + | |
| 343 | + | |
| 344 | + | |
| 345 | + | |
| 346 | + | |
| 347 | + | |
| 348 | + | |
| 349 | + | |
| 350 | + | |
| 351 | + | |
| 352 | + | |
| 353 | + | |
| 354 | + | |
| 355 | + | |
252 | 356 | | |
253 | 357 | | |
254 | 358 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
35 | 35 | | |
36 | 36 | | |
37 | 37 | | |
38 | | - | |
| 38 | + | |
| 39 | + | |
| 40 | + | |
| 41 | + | |
39 | 42 | | |
| 43 | + | |
| 44 | + | |
| 45 | + | |
| 46 | + | |
| 47 | + | |
| 48 | + | |
| 49 | + | |
| 50 | + | |
| 51 | + | |
| 52 | + | |
| 53 | + | |
| 54 | + | |
| 55 | + | |
| 56 | + | |
40 | 57 | | |
41 | 58 | | |
42 | 59 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
26 | 26 | | |
27 | 27 | | |
28 | 28 | | |
| 29 | + | |
| 30 | + | |
| 31 | + | |
29 | 32 | | |
30 | 33 | | |
31 | 34 | | |
| |||
160 | 163 | | |
161 | 164 | | |
162 | 165 | | |
163 | | - | |
164 | 166 | | |
165 | 167 | | |
166 | 168 | | |
167 | 169 | | |
168 | 170 | | |
| 171 | + | |
| 172 | + | |
| 173 | + | |
| 174 | + | |
| 175 | + | |
| 176 | + | |
| 177 | + | |
| 178 | + | |
| 179 | + | |
| 180 | + | |
169 | 181 | | |
170 | 182 | | |
171 | 183 | | |
| |||
363 | 375 | | |
364 | 376 | | |
365 | 377 | | |
| 378 | + | |
366 | 379 | | |
367 | 380 | | |
368 | 381 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
| 29 | + | |
| 30 | + | |
| 31 | + | |
| 32 | + | |
| 33 | + | |
| 34 | + | |
| 35 | + | |
| 36 | + | |
| 37 | + | |
| 38 | + | |
| 39 | + | |
| 40 | + | |
| 41 | + | |
| 42 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2 | 2 | | |
3 | 3 | | |
4 | 4 | | |
5 | | - | |
6 | | - | |
7 | | - | |
8 | | - | |
9 | | - | |
10 | | - | |
11 | | - | |
12 | | - | |
13 | | - | |
14 | | - | |
15 | | - | |
16 | | - | |
17 | | - | |
18 | | - | |
19 | | - | |
20 | | - | |
21 | | - | |
22 | | - | |
23 | | - | |
24 | | - | |
25 | | - | |
26 | | - | |
27 | | - | |
28 | | - | |
29 | | - | |
30 | | - | |
31 | | - | |
32 | | - | |
33 | | - | |
34 | | - | |
35 | | - | |
36 | | - | |
37 | | - | |
38 | | - | |
39 | | - | |
40 | | - | |
41 | | - | |
42 | | - | |
43 | | - | |
44 | | - | |
45 | | - | |
46 | | - | |
47 | | - | |
48 | | - | |
49 | | - | |
50 | | - | |
51 | | - | |
52 | | - | |
53 | | - | |
54 | | - | |
55 | | - | |
56 | | - | |
57 | | - | |
58 | | - | |
59 | | - | |
60 | | - | |
61 | | - | |
62 | | - | |
63 | | - | |
64 | | - | |
65 | | - | |
66 | | - | |
67 | | - | |
68 | | - | |
69 | | - | |
70 | | - | |
71 | | - | |
72 | | - | |
73 | | - | |
74 | | - | |
75 | | - | |
| 5 | + | |
76 | 6 | | |
77 | 7 | | |
78 | 8 | | |
79 | | - | |
80 | | - | |
81 | | - | |
82 | 9 | | |
83 | 10 | | |
84 | | - | |
| 11 | + | |
85 | 12 | | |
86 | 13 | | |
87 | 14 | | |
88 | | - | |
89 | | - | |
90 | | - | |
91 | | - | |
92 | | - | |
93 | | - | |
94 | | - | |
95 | | - | |
96 | | - | |
| 15 | + | |
97 | 16 | | |
98 | 17 | | |
99 | 18 | | |
| |||
197 | 116 | | |
198 | 117 | | |
199 | 118 | | |
200 | | - | |
201 | | - | |
| 119 | + | |
202 | 120 | | |
203 | 121 | | |
204 | 122 | | |
| |||
0 commit comments