Commit graph

58 commits

Author SHA1 Message Date
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
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
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
4b86f05db6 fix: clean up menu and new connection after successfuly connecting 2024-04-17 06:28:57 +02:00
Ashley Wulber
db47edf9b6 fix(network): add connection if it doesn't exist when it is selected 2024-04-16 21:24:02 +02:00
Ashley Wulber
4510e81f6f
fix: better handling of request results in the network applet 2024-03-25 15:33:30 -06:00
Ashley Wulber
19eb20b4ff fix: use the correct url and use cosmic spawn 2024-02-02 16:27:11 -05:00
Ashley Wulber
e6ec592cb0 fix(network): open a browser when connection is behind a captive portal 2024-02-02 16:27:11 -05:00
Ashley Wulber
e5db5ab1dd
chore: update libcosmic (#168) 2023-12-11 14:45:36 -05:00
Ashley Wulber
ce479f1b44 chore: open network settings when the button is pressed 2023-11-22 08:03:54 -05:00
daniel.eades
aa2d9fe374 add linting CI jobs 2023-11-21 16:59:14 -05:00
daniel.eades
b9723dd5e0 use 'Self' to refer to own type 2023-11-16 15:47:20 -05:00
daniel.eades
b472a155fc remove redundant clones 2023-11-16 15:47:20 -05:00
daniel.eades
4db31e32e3 collapse nested 'match' statement 2023-11-16 15:47:20 -05:00
daniel.eades
fed18d3726 avoid single variant match statements 2023-11-16 15:47:20 -05:00
daniel.eades
7239d6dfd6 remove useless 'to_string' calls 2023-11-16 15:47:20 -05:00
daniel.eades
c085758d20 remove useless 'format' calls 2023-11-16 15:47:20 -05:00
daniel.eades
e6010b147a avoid using 'map' and then returning '()' 2023-11-16 15:47:20 -05:00
daniel.eades
3d81eb874f remove redundant closures 2023-11-16 15:47:20 -05:00
Ashley Wulber
a9b82222c4 refactor(network): update the icon name for disconnected state, and improve subscriptions 2023-11-01 19:14:44 -04:00
Ashley Wulber
d8a806b109 fix(network): add dividers and network settings button 2023-10-25 16:27:00 -04:00
Ashley Wulber
df8ab735a9 fix(network): add connected text, icon and improve layout for active ethernet and vpn connections 2023-10-25 16:27:00 -04:00
Ashley Wulber
1d3e5e13fc fix: padding for graphics and network 2023-10-24 15:34:21 -04:00
Ashley Wulber
3338cb74b6 refactor: styling improvements 2023-10-24 15:34:21 -04:00
Ashley Wulber
d80a801fe5 refactor: use menu button 2023-10-24 15:34:21 -04:00
Ashley Wulber
2a99ad959a fix: styling 2023-10-11 19:46:07 -04:00
Eduardo Flores
486eff3eb3 Apply suggestions 2023-10-11 19:46:07 -04:00
Eduardo Flores
276ecc7d6c Switch back to libcosmic upstream 2023-10-11 19:46:07 -04:00
Eduardo Flores
c7b25daa71 Update libcosmic 2023-10-11 19:46:07 -04:00
Ashley Wulber
56d96e5282 fix: clear popup state when it is dismissed by the compositor 2023-09-12 16:27:25 -04:00
Ian Douglas Scott
a23f181b7f Use cosmic::Application/cosmic::app::applet
This saves a bit of duplicated boilerplate.

Applets seem to work fairly well with this. Though we should see if any
other changes to initial window settings are needed in certain applets
for the exact behavior we want.
2023-08-23 10:24:56 -07:00
Ashley Wulber
3ad64df5f3
Refactor icons jammy (#108)
* chore: add icons and installation

* refactor: use the new battery icons

* refactor: use audio applet icons

* chore dependency cleanup

* chore: remove icons included in cosmic-icons package

* refactor: use icons for signal strength and fix handling of new connections

* fix: improve some logic for the networking applet

* chore: add cosmic-icons to Depends

* feat: use notifications icons

* chore: set bluetooth icon depending on state

* fix: set default font and text size

* feat (network): add airplane-mode message

* feat (battery): add display icons to the battery applet

* fix (battery): logic for selecting the battery icon & use new battery icons
2023-08-08 16:18:12 -04:00
Ashley Wulber
4b9f46b388 refactor(network): use channel subscriptions 2023-07-10 20:11:04 -04:00
Ashley Wulber
fad3b097d9 fix(network): better handle disconnect 2023-07-10 20:11:04 -04:00
Ashley Wulber
5a15ef8d7f update libcosmic 2023-06-21 20:49:35 -04:00
Ashley Wulber
76bf6a4519 feat: theme management 2023-06-21 20:49:35 -04:00
Brock
3ec06bef80
Init Animations: animate toggler widgets (#96) 2023-06-07 13:43:49 -06:00
Ashley Wulber
9ebd9b511a
wip: update libcosmic (#93)
* wip: update libcosmic

* fix: damge issue resolved by updating iced

* fix: high cpu usage by time applet and app-list

* refactor subscriptions to produce fewer events

* refactor network applet to use less cpu

* fix: text size

* refactor: i18n for audio applet

* refactor: power applet i18n setup

* fix (battery): always send profile update

* fix (battery): set toggler width to layout correctly

* fix (app-list): backoff for restarts of toplevel subscription

* fix (network): alignment

* feat: ask for comfirmation before applying power applet actions

* wip: integrate cosmic-config

* update zbus

* feat: update to use latest libcosmic

* update iced

* udpate deps

* update deps

* refactor: move applet helpers to this repo, outside of libcosmic.

this should help alleviate some dependency hell

* chore update deps

* update deps

* cleanup
2023-06-01 12:23:12 -04:00
Ashley Wulber
903a5589a3 update libcosmic 2023-04-06 15:12:49 -04:00
Ian Douglas Scott
6d7727a5d0 Update sctk, libcosmic, cosmic-client-toolkit 2023-03-02 14:06:52 -05:00
Ashley Wulber
a5fe9e8d77
feat(network): improve state handling & add disconnect option 2023-02-14 20:08:10 -05:00
Ashley Wulber
b692cdcc05 chore: use latest libcosmic 2023-02-02 23:47:33 -05:00
Ashley Wulber
982b8f5fd1
update: use dyrend & use autosized window in app-list & fix button size in workspaces & only update popup text in time when creating popup 2023-01-20 11:25:53 -05:00
Ian Douglas Scott
72a75eabc7 Use cosmic::SingleThreadExecutor
This cuts down the number of threads per applet process. This is probably
no benefit to having multiple tokio worker threads for a typical applet.
2023-01-19 10:06:39 -05:00
Ashley Wulber
a423aaa27a
refactor: Vec::with_capacity where possible 2023-01-10 17:29:19 -05:00
Ashley Wulber
4b5cc64e30
fix: longer timeouts & cleanup 2023-01-10 14:56:16 -05:00