Commit graph

81 commits

Author SHA1 Message Date
Taneli
90ecba2d78
Make discovery stop when menu widget is closed (#1213) 2025-12-22 13:18:02 -07:00
Ashley Wulber
836c0e378b applet overlap
chore: mpris dep

fix: dock buttons

improv: battery and audio improvements

feat: overlapping padding

fix: input source text button

fix: apply panel spacing to app tray

chore: update libcosmic

fix: spacing and padding

fix(minimize): hide when empty
2025-11-11 16:49:48 -05:00
Cheong Lau
5369b4eb29
perf: use rustc-hash for HashMap and HashSet 2025-10-22 04:33:30 +02:00
Ashley Wulber
4dae45733e fix(bluetooth): avoid device discovery when applet is not open
some devices' audio stutters while discovery is active
2025-10-20 16:21:08 +02:00
Cheong Lau
38c037c977 perf: use unstable sorting when async
Unstable sorting should be slightly faster than stable sorting, and if
the vector was built asynchronously then preserving the initial order
doesn't matter too much.

Continue to use stable sorting where the vector is not built
asynchronously, or if the vector is partially sorted (e.g. when new
elements are pushed to a sorted vector).
2025-10-07 17:04:51 +02:00
Cheong Lau
dd0158d8f0 perf: refactor to reduce memory allocations and cpu work 2025-10-07 17:04:51 +02:00
Cheong Lau
8e0f1c4a09
chore: apply recommendations from clippy 2025-10-04 02:51:18 +02:00
Cheong Lau
d2e080427f
perf: replace rand with fastrand 2025-10-03 15:25:51 +02:00
Vukašin Vojinović
2b7b4cba56 chore: update to Rust 2024 edition 2025-08-18 16:44:50 +02:00
Vukašin Vojinović
c3fafd3910 chore: use std::sync::LazyLock
Removes `once_cell` as a direct dependency.
2025-08-18 16:44:50 +02:00
Ian Douglas Scott
d3ef5b181b Fix calls to rfkill on distros that put in in sbin
This makes the network applet work on Debian, for instance.

It may be better to directly use `/dev/rfkill`, but this improves things
for now.
2025-08-01 20:38:23 -07:00
Ashley Wulber
c539b0628b
fix(bluetooth): reversed min/max condition on retry timer 2025-07-18 20:06:19 +02:00
Ashley Wulber
b6bb982f2d fix(bluetooth): cpu usage 2025-05-07 17:14:48 +02:00
Michael Aaron Murphy
4f1ef57fe2
fix(bluetooth): other devices not initially appearing 2025-04-17 17:30:55 +02:00
Michael Aaron Murphy
b19aea769a perf(bluetooth): reduce CPU usage and improve async performance 2025-04-15 17:15:22 +02:00
Michael Aaron Murphy
b3515bb9ba improv(bluetooth): potential fixes for excess CPU usage 2025-04-14 17:18:52 +02:00
Michael Aaron Murphy
25263dad7d
fix: missing icons and actions from the dock 2025-04-04 02:30:03 +02:00
Ashley Wulber
28c3c7c456 fix(bluetooth): await sleep 2025-03-19 15:56:49 +00:00
Ashley Wulber
619550cf61 fix: handling of surface action 2025-03-18 08:13:03 -04:00
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
115e526528 fix(bluetooth): use rfkill for blocking bluetooth
this state will be persisted after reboot
2025-03-09 14:40:26 +01:00
Ashley Wulber
f08d80a891 fix(bluetooth): watch devices for changes after toggled back on 2025-03-05 13:02:46 -05:00
Michael Aaron Murphy
dc86f23a73
chore: upgrade all dependencies 2025-02-19 18:31:56 +01:00
Michael Aaron Murphy
69fd2b62df chore: update libcosmic with mmap threshold fix 2025-02-12 20:21:02 +01:00
Alexander Bachmann
a046692241
refactor: remove dead code and unused imports 2025-02-10 13:15:23 +01:00
Alexander Bachmann
0f4667fc47
improve(bluetooth): ignore devices with unknown type and without alias 2025-02-10 13:13:14 +01: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
Kartik Nayak
11faa567f3 feat: enable button to open Bluetooth settings page from applet 2024-10-21 11:25:03 -04:00
Vukašin Vojinović
941cbf546b
fix: padding, spacing, context menu style, and settings buttons 2024-09-24 15:52:17 +02:00
Vukašin Vojinović
a2063213e4 improv(bluetooth): align confirm and cancel buttons closer to design 2024-09-03 16:52:59 +02:00
Luca Biendl
8973374a80
feat(bluetooth): add battery indicator to devices with battery status 2024-08-15 10:17:37 +02:00
lazytanuki
e51ca81f7d
feat: toggle popups on press down 2024-08-13 19:03:34 +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
Vukašin Vojinović
0640e88412 chore: merge imports 2024-07-09 16:26:27 +02:00
Michael Aaron Murphy
8527257ddd chore: add SPDX license identifiers 2024-05-06 21:56:50 +02:00
Ashley Wulber
efae49e90b fix(bluetooth): remove settings button 2024-05-06 06:52:06 -06:00
Ashley Wulber
eeacd2c06a fix: bluetooth missing button and extra divider 2024-05-06 06:52:06 -06:00
Ashley Wulber
9f51e12fc9 fix: reset timeline when a popup is created 2024-04-30 20:14:46 -04:00
Ashley Wulber
40bae48195
fix: connect to paired and trusted devices when they reappear 2024-03-25 15:33:32 -06:00
Ashley Wulber
829ae04cde
fix: autoconnect to paired and trusted devices 2024-03-25 15:33:31 -06:00
Michael Aaron Murphy
3c4acdacd7 refactor: compile applets as multicall binary 2024-03-14 23:37:37 +01:00
Ashley Wulber
6851d9de54 fix: logging and use dbus config subscription in audio applet 2024-01-18 23:16:17 -05:00
Ashley Wulber
e5db5ab1dd
chore: update libcosmic (#168) 2023-12-11 14:45:36 -05:00
Ashley Wulber
158139d466 fix: update and fixes for bluetooth 2023-12-05 15:32:18 -05:00
Ashley Wulber
13f4757a3f chore: open bluetooth settings when button is pressed 2023-11-22 08:03:54 -05:00
daniel.eades
b9723dd5e0 use 'Self' to refer to own type 2023-11-16 15:47:20 -05:00
daniel.eades
b1aa5debc1 tighten significant 'Drop' 2023-11-16 15:47:20 -05:00