Commit graph

113 commits

Author SHA1 Message Date
Ashley Wulber
c113768ac5 improv(network): reduce CPU usage
connections don't need to be updated when popup is closed
2026-01-09 21:41:16 +01:00
Ashley Wulber
1034622dc4 fix: reconnect to network manager if disconnected 2026-01-09 21:41:16 +01:00
Ashley Wulber
10e4f84d3f refactor: use settings subscriptions and nm secret agent 2026-01-09 21:41:16 +01:00
Konstantinos
d7ab2607ea
fix: show vpn section even when wifi is off 2025-12-30 08:35:01 +01:00
Fred
8320b54074
fix wired speed detection and layout (#1156)
* fix wired speed detection and layout

* show 2.5 Gbps and 2.5 Tbps interface with decimal values
2025-11-13 16:34:42 -07:00
Cheong Lau
3835133af1 fix (network): reversed order of WAPs
Don't use `sort_by_key` when wanting a descending order search...
2025-10-22 10:08:15 -04:00
Cheong Lau
5369b4eb29
perf: use rustc-hash for HashMap and HashSet 2025-10-22 04:33:30 +02:00
Vukašin Vojinović
02fb6e145a cargo fmt 2025-10-08 12:30:43 -04:00
Tomas Hlavacek
6a7fa04067
feat(network): add VPN connection management 2025-10-08 16:37:21 +02:00
Cheong Lau
7876fd1b36
fix(network): reversed ordering of networks 2025-10-07 22:52:31 +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
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
Lampan-git
114f849143 fix(wifi): reconnect issue 2025-07-08 16:56:33 +02:00
Ashley Wulber
31afd3fa8b feat(network): support for eap peap networks 2025-04-18 12:21:16 -04:00
Ashley Wulber
e7f24828f1 fix(network): skip connections if getting settings fails 2025-04-16 10:49:26 -04:00
Ashley Wulber
619550cf61 fix: handling of surface action 2025-03-18 08:13:03 -04:00
Jonathan Capps
2f18d1e920
fix: password hide/show on wifi authentication 2025-03-17 21:29:00 +01: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
mkljczk
82ca8bab37
feat: display WPS hint only when WPS is available 2025-02-10 13:16:33 +01:00
mkljczk
a3be974f81
improv(network): use secure_input for Wi-Fi password field
Signed-off-by: mkljczk <git@mkljczk.pl>
2025-02-04 20:42:39 +01:00
András
29a62db2f6 Fix formatting 2024-12-31 17:08:37 +01:00
András
7eb47a71b3 Added workaroud for toggle after separator crash 2024-12-31 17:08:37 +01:00
András
9f9bb9c673 Cleaned up code a bit 2024-12-31 17:08:37 +01:00
András
d69331836f Added todo coments 2024-12-31 17:08:37 +01:00
András
95abfcab27 Fixed connecting and disconnecting to wrong hw_device 2024-12-31 17:08:37 +01:00
András
2198fa9b9a Added comparing hw_address everywhere 2024-12-31 17:08:37 +01:00
András
b743c724ff Added UI for several wifi adapters 2024-12-31 17:08:37 +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
Vukašin Vojinović
941cbf546b
fix: padding, spacing, context menu style, and settings buttons 2024-09-24 15:52:17 +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ć
55cd23b590 fix(network): don't show visible networks when wifi is off 2024-08-15 10:18:19 +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
Ian Douglas Scott
b0e4e6fc6d Remove unused imports 2024-07-28 20:25:23 -07:00
Vukašin Vojinović
0640e88412 chore: merge imports 2024-07-09 16:26:27 +02:00
Ashley Wulber
d1a6e089b4
fix: allow network resets
also updates libcosmic and cosmic-protocolss, and adds clipboard support to the network applet
2024-06-13 19:45:37 -04:00
Michael Aaron Murphy
a1de560240
improv(network): use body text style
Closes #479
2024-06-06 22:35:09 +02:00
Ashley Wulber
87250b5e50 zbus update 2024-05-18 01:38:41 +02:00
Ashley Wulber
1d6b5d7ec9 fix(network): remove extra divider when there are no known wifi connections 2024-05-14 17:46:48 -04:00
Ashley Wulber
0d778d05ef fix(network): remove settings button 2024-05-06 06:51:45 -06:00
Ashley Wulber
9f51e12fc9 fix: reset timeline when a popup is created 2024-04-30 20:14:46 -04:00
Ashley Wulber
fd5be28bea fix: use path for active connection after creating and connecting & cleanup 2024-04-17 06:28:57 +02:00
Ashley Wulber
4b86f05db6 fix: clean up menu and new connection after successfuly connecting 2024-04-17 06:28:57 +02:00