Commit graph

81 commits

Author SHA1 Message Date
Ashley Wulber
090bb9653f
minimize applet (#217)
* chore: add minimize applet skeleton

* fix(minimize): desktop typo

* wip: minimize applet

* feat: include window images, and overlay their icon

* cleanup

* fix: add minimize applet to workspace

* chore: add host wayland display to desktop file for minimize applet

* chore: Cargo.lock

* cleanup: fix typos

* fix: don't hide minimized apps in app-list
2024-03-04 13:08:52 -05:00
Victoria Brekenfeld
28e6079ee7 graphics: Remove unused applet 2024-02-26 15:25:44 -07:00
Ashley Wulber
7d6eb0b523 fix: enable env-filter feature for tracing subscriber
without this feature, it defaults to info, and with the feature it uses the variable, but falls back to error
2024-02-20 13:43:26 -05:00
Ashley Wulber
9c9e3986a1 refactor: tiling applet 2024-02-20 10:55:08 -05:00
Ashley Wulber
a1f2630462 cleanup 2024-02-06 16:21:16 -05:00
Ashley Wulber
0ab6f724fb chore: update libcosmic 2024-02-06 16:21:16 -05:00
Victoria Brekenfeld
d7a8db6a07 app_list: Use libcosmic desktop helpers 2024-02-01 18:33:40 +01:00
Ashley Wulber
d4e0dd8fb8 fix: make all subscriptions resistant to being restarted
many of the errors we've been seeing the last few days are because of subscriptions which are restarting
2024-01-18 23:16:17 -05:00
Ashley Wulber
ebe688c747 chore: use dbus config subscription for app list 2024-01-18 23:16:17 -05:00
Ashley Wulber
6851d9de54 fix: logging and use dbus config subscription in audio applet 2024-01-18 23:16:17 -05:00
Ashley Wulber
cbb74ffcde fix: update libcosmic and cosmic-protocols
this fixes the workspace list applet
2024-01-17 10:11:53 -07:00
Ashley Wulber
c112048739 chore: update rev for cosmic-protocols 2024-01-02 17:40:22 -05:00
Ashley Wulber
087c9a2aa5 chore: update libcosmic & use dbus-config feature 2024-01-02 17:40:22 -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
f5c51ecc92 chore: open settings when time settings is pressed 2023-11-22 08:03:54 -05:00
Ashley Wulber
ed2ab8d91a update deps and cleanup 2023-11-13 12:41:37 -05:00
Victoria Brekenfeld
e69396dac0 chore: Update sctk/cctk 2023-11-08 10:55:31 -05:00
Ashley Wulber
0db1a96c42 refactor(audio): use mpris2-zbus 2023-10-27 19:46:51 -04:00
Ashley Wulber
1bd1ac004a chore(audio): styling and deps 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
a01b9720de chore: update libcosmic 2023-10-24 15:34:21 -04:00
Ashley Wulber
a58fedba44 tiling applet improvements 2023-10-24 15:34:21 -04:00
Ashley Wulber
282e4911c9
Update libcosmic jammy (#128)
* update libcosmic

* fix checkmarks for graphics applet

* chore: update

* update iced

* chore: udpate libcosmic
2023-10-18 13:23:13 -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
Eduardo Flores
3353dc95ac Initial implementation of the Tiling applet 2023-10-11 19:46:07 -04:00
Ian Douglas Scott
6a64486163 Iced port of status area applet
This is based on the GTK version of the status area applet that was
previously in this repository.

This exposes app indicators found over dbus. As used in applications
like nm-applet and steam.
2023-08-24 16:57:27 -07: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
6726873761 fix build 2023-08-03 12:33:09 -04:00
Ashley Wulber
c8891c8af9 refactor: use the cards widget and use peer to peer dbus 2023-08-03 12:33:09 -04:00
Ian Douglas Scott
294cf6f3a7 Update dependencies, and use workspace dependencies
Using `[workspace.dependencies]`, we can update `rev =` for a dependency
in one place, instead of each individual applet.
2023-08-02 12:36:01 -06: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
Ian Douglas Scott
0ba4182560 Add back cosmic-panel-button 2023-03-31 19:05:57 -07:00
Ashley Wulber
4f9544f682 fix: uncomment lto 2023-02-15 11:17:44 -05:00
Ashley Wulber
000ac7b8b4 wip: bluetooth applet 2023-02-15 11:17:44 -05:00
Ashley Wulber
c10087a55d
feat: more improvements to network applet 2023-01-10 14:53:25 -05:00
Brock
5c4aff2c9a
Use linker time optimization for release builds (#47)
This reduces total package size by ~25%. There are no runtime
consequences, though this does nearly double build times. But
with the cargo workspace, this repo builds pretty quick.
As well the same `lto` settings are already used in cosmic-comp.
2022-12-29 13:13:47 -07:00
Ashley Wulber
a1aa87f5bd refactor: move projects into a workspace 2022-12-23 16:14:55 -05:00
13r0ck
31362c7dc1 Update debian packaing for new repo structure. 2022-12-23 16:14:55 -05:00
13r0ck
3ae4eb635a Notifications: Replace gtk app with iced applet
Currently this is just a pretty box that shows no notifications.
2022-12-23 16:14:55 -05:00
Ashley Wulber
8223c76361 feat: app list is displayed and updated 2022-12-23 16:14:55 -05:00
13r0ck
87a88931b4 Update Debian packaging for iced based applet. 2022-12-19 21:22:11 -05:00
Brock
31bea66801
Power: Replace gtk applet with iced applet (#32)
* Power: Replace gtk applet with iced applet

No functionality yet, but the layout is nearly done. Only small
tweaks needed to font and svg backgrounds.

* Power: Add suspend+restart+shutdown functionality

* Power: Add lock + log out + settings

* Fix build.

* Fix window placement
2022-12-12 13:41:16 -05:00
Ashley Wulber
9ef8098498
Iced network applet (#31)
* builds and shows basic applet

* feat: connect up subscriptions

* feat: network applet mostly working
2022-12-09 15:31:19 -05:00
Brock
f3b5713ff5
Sound applet rewrite (#28)
* Reset cosmic-applet-audio

* save point with rwlock to talk to pulse

* almost making pulse work with a subscription, but awating results causes a panic

* maybe threaded

* Working pulse connection

* working async pulse audio listener

* cargo fmt

* working communication

* make worky ChannelVolumes

* more fixy

* working control for speaker volume

* fix changing volume on input

* Initial port to iced-sctk

* Fix revealer return types

* fix: build

* feat: more applet updates

Co-authored-by: Ashley Wulber <ashley@system76.com>
2022-12-08 13:58:39 -05:00
Ashley Wulber
6a98d7f7c8
feat: iced battery applet 2022-12-02 20:24:52 -05:00
Ashley Wulber
a7b099b4b3
refactor: use iced workspaces applet 2022-11-29 16:52:31 -05:00