Commit graph

100 commits

Author SHA1 Message Date
Ashley Wulber
c54ddeb38a chore: udpate libcosmic 2025-03-14 14:26:42 -04:00
Ashley Wulber
61d1d1b91d fix: use fixed window width for all applets 2025-03-14 14:26:42 -04:00
Ashley Wulber
0de336d0d7 update libcosmic: adds tooltip support 2025-03-14 14:26:42 -04:00
Ashley Wulber
406cdd3627 fix(audio): delay retries 2025-03-04 17:47:44 +01:00
Ashley Wulber
f486b3b1ad update libcosmic 2024-12-04 16:52:49 +01:00
Justin Gross
8991bb1866 feat: overamplification support for audio applet like cosmic system settings 2024-12-03 15:17:00 -05:00
Vukašin Vojinović
6b740c59be fix(app-list): use context menu radius from theme 2024-11-04 08:47:36 -05:00
Ashley Wulber
5b5cd77e7c update iced 2024-10-31 17:52:33 -04:00
l-const
7b005f977f fix(audio-applet): Render input volume level instead of output. 2024-10-13 23:57:10 -04:00
Vukašin Vojinović
941cbf546b
fix: padding, spacing, context menu style, and settings buttons 2024-09-24 15:52:17 +02:00
wiiznokes
6b8d3dc415 improv: filter firefox player 2024-09-12 17:03:11 +02:00
Michael Aaron Murphy
c8d91a8a9a perf(audio): further reduce CPU usage 2024-09-12 17:02:29 +02:00
wiiznokes
fe598a7a60
fix(audio): fix high CPU usage 2024-09-09 21:37:25 +02:00
Luca Biendl
7e61e8b829
fix(audio): panic when pulseaudio channel is full 2024-09-09 14:35:45 +02:00
Vukašin Vojinović
d657b1941a fix: use text::body 2024-09-03 16:52:59 +02:00
Vukašin Vojinović
02b3fbdb11 fix: use cosmic::widget::text instead of cosmic::iced::widget::text 2024-09-03 16:52:59 +02:00
Vukašin Vojinović
e61de72c9c update libcosmic
Also fixes the padding of some things to better match designs.
2024-08-15 10:18:19 +02:00
lazytanuki
e51ca81f7d
feat: toggle popups on press down 2024-08-13 19:03:34 +02:00
Ashley Wulber
af658aa14d fix(audio): rtl media title overlap on controls 2024-08-13 19:01:18 +02:00
Vukašin Vojinović
8f3131615a
chore(audio): add cosmic-settings button 2024-08-13 18:32:40 +02:00
Ian Douglas Scott
293a91e8b1 Update for spawn_desktop_exec that calls SpawnTransientUnit
Allows `xdg-desktop-portal` to get app id from PID.

Also updates calls to `cosmic::process::spawn` to spawn in future.
2024-07-28 20:25:23 -07:00
Phan Huy Hoang
10b69b07c2 fix: add padding to show media controls toggler 2024-07-27 15:22:08 -04:00
Phan Huy Hoang
c773847d1f fix: fix formatting issue 2024-07-27 15:22:08 -04:00
Snêu
a7c5a2f2ba fix: remove sound settings menu button 2024-07-27 15:22:08 -04:00
Snêu
2f33509d2a fix: disable sound settings menu button 2024-07-27 15:22:08 -04:00
Snêu
2a4e1cf45d fix: click on open setting button doesn't open COSMIC Settings 2024-07-27 15:22:08 -04:00
Ashley Wulber
6661598839 feat: misc overflow 2024-07-24 08:51:46 -04:00
Ashley Wulber
62eeb5a704 wip: overflow 2024-07-24 08:51:46 -04:00
Vukašin Vojinović
0640e88412 chore: merge imports 2024-07-09 16:26:27 +02:00
Jason Hansen
a630428f08
feat(audio): update volume sliders when changing volume with media keys 2024-07-08 16:20:28 +02:00
leb-kuchen
b4d280c477
feat(audio): scroll audio icon to apply volume changes 2024-07-08 16:19:31 +02:00
Ian Douglas Scott
78b734afc2 audio: Use volume subscription to detect changes
Fixes https://github.com/pop-os/cosmic-applets/issues/301.

Should be combined with the subscription code here to avoid duplication,
and two things using pulse.
2024-07-01 20:07:39 -07:00
Ian Douglas Scott
35491b80a2 audio: Make output_icon_name/input_icon_name functions
There's no need to deviate from a functional pattern here.
2024-07-01 20:07:39 -07:00
Ashley Wulber
37a60b7759
fix(input-sources): text size 2024-05-18 02:01:40 +02:00
Ashley Wulber
87250b5e50 zbus update 2024-05-18 01:38:41 +02:00
Ashley Wulber
0d27b2e02a refactor: set locations of auto popup hover 2024-05-13 21:11:23 +02:00
Ashley Wulber
60a1511d4d fix: audio-applet mpris autoclick handling 2024-05-09 16:01:01 +02:00
Michael Aaron Murphy
8527257ddd chore: add SPDX license identifiers 2024-05-06 21:56:50 +02:00
Ashley Wulber
9f51e12fc9 fix: reset timeline when a popup is created 2024-04-30 20:14:46 -04:00
jilv220
d9b8794652 fix(audio): volume icon display 2024-04-26 00:58:54 -04:00
Ian Douglas Scott
08a334fc13
audio: Don't use linear volume (#348)
Fixes https://github.com/pop-os/cosmic-applets/issues/335.

This calculates volume as a percentage of `Volume::NORMAL`, which seems
to be the correct way to display PulseAudio volumes to the user. This
matches `cosmic-osd`, and seems to match alsamixer.
2024-04-15 17:23:55 -07:00
Ian Douglas Scott
216d88e977 audio: Mpris media control fixes
The panel buttons for next/previous didn't do anything since `on_press`
wasn't set. Now they work.

Fixed `autosize` which I had accidentally committed after using it for
testing. (It would be good to figure out why the applets don't work
properly with autosize when run outside of the panel, since that's handy
for testing.)

I noticed with VLC, skipping a track makes the media controls disappear
very briefly, and sometimes the pause button didn't return. I guess
`can_play` (etc.) are temporarily set to false, probably expecting the
controls to be greyed out and not hidden from a panel. Anyway,
monitoring for changes to these properties as well will hopefully fix
the part where it could remain missing. Though I can't reproduce that
consistently.
2024-04-05 16:31:01 -06:00
Ian Douglas Scott
1475f8f32b audio: Don't recreate mpris proxies and streams
Fixes https://github.com/pop-os/cosmic-applets/issues/306 and should
overall be more correct and performant.
2024-04-04 13:25:16 +02:00
Ian Douglas Scott
fba8596759 audio: Use correct icons for volume levels
These seem to match Gnome. "Overamplified" is a volume above 100%, which
can be set in `pavucontrol`.
2024-04-04 13:25:16 +02:00
Ian Douglas Scott
fbd1489c7b audio: Set source/sink mute state
Setting the volume to a non-zero value will unmute the source or sink,
and setting it to zero will mute it. This matches the behavior on Gnome.
2024-04-04 13:25:16 +02:00
Michael Aaron Murphy
ed335b256a chore: migrate volume change sound to cosmic-osd 2024-04-02 23:29:17 +02:00
Michael Aaron Murphy
3c4acdacd7 refactor: compile applets as multicall binary 2024-03-14 23:37:37 +01:00
Ashley Wulber
30fd5c2c6e chore: update config to use version 2024-03-08 07:16:59 -07:00
Ashley Wulber
0505524eae fix: playback icons on panel should use applet icon button 2024-03-08 07:16:59 -07:00
jilv220
a6494e8ed5 fix(audio): title/artists truncate now works on non-english utf8 languages 2024-02-21 18:55:37 -05:00