Commit graph

356 commits

Author SHA1 Message Date
Ashley Wulber
a1aa87f5bd refactor: move projects into a workspace 2022-12-23 16:14:55 -05:00
13r0ck
2a417a9156 Time: Remove duplicate tokio dep 2022-12-23 16:14:55 -05:00
13r0ck
11eb4cefc2 Time: Set minimum wait for subscription to 1ms
The Clock was freezing with
```
ERRO thread 'main' panicked at '`period` must be non-zero.', /home/system76/ca/cosmic-applets/applets/cosmic-applet-time/vendor/iced_futures/src/backend/native/tokio.rs:62:21
```
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
a682b8deb0 Move Cosmic Applets into new Dir & remove old applets 2022-12-23 16:14:55 -05:00
13r0ck
813e6c0aff Power: Rename app state from Audio to Power 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
13r0ck
57deb0999b test 2022-12-23 16:14:55 -05:00
Ashley Wulber
7dc029d571 update rust version 2022-12-23 16:14:55 -05:00
Ashley Wulber
6db4d354e1 update deps 2022-12-23 16:14:55 -05:00
Ashley Wulber
868a452538 cleanup: remove style.css 2022-12-23 16:14:55 -05:00
Ashley Wulber
8a239bbe28 update: lock 2022-12-23 16:14:55 -05:00
Ashley Wulber
814498e6a4 fix: update iced to fix disappearing app-list 2022-12-23 16:14:55 -05:00
Ashley Wulber
58f6ab6285 update deps 2022-12-23 16:14:55 -05:00
Ashley Wulber
f904c59436 fix: use git deps for cctk 2022-12-23 16:14:55 -05:00
Ashley Wulber
782289f377 fix: better handle popups 2022-12-23 16:14:55 -05:00
Ashley Wulber
4488bcc971 fix: initialize window size & add some popup padding 2022-12-23 16:14:55 -05:00
Ashley Wulber
9f23110a25 feat: popups 2022-12-23 16:14:55 -05:00
Ashley Wulber
e3065a0668 fix: more flexible handling of names vs id being set by the application 2022-12-23 16:14:55 -05:00
Ashley Wulber
a378b0eee0 feat: execute apps without toplevel 2022-12-23 16:14:55 -05:00
Ashley Wulber
6fef03ed2f feat: config methods 2022-12-23 16:14:55 -05:00
Ashley Wulber
86ed2d4e31 feat: activation of apps 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
Brock
ceff811072
Merge pull request #40 from pop-os/time-to-fix-sytling_jammy
Time to fix sytling
2022-12-21 17:13:39 -07:00
13r0ck
fec76f8e32 Time: Fix sizing & stying & use cosmic-text. 2022-12-21 12:39:05 -07:00
Ashley Wulber
216e275845
Update control
fix: remove happiness dependency that i don't believe should be required
2022-12-21 05:58:03 -05:00
13r0ck
87a88931b4 Update Debian packaging for iced based applet. 2022-12-19 21:22:11 -05:00
13r0ck
2940341033 Time: Replace GTK applet with iced applet
Basic Iced applet, but it should be noted that the time update
logic is a significant improvement. The milliseconds until the
next whole minute is calculated, then via tokio the thread sleeps
until then. Meaning that the clock applet is only running
(from my testing) for 3 milliseconds a minute. This takes less
recources and is more accurate than checking every second from
app start like the old gtk applet did.
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
fd17241bcf
fix: typo 2022-12-09 15:50:26 -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
Grooble
3be995a1d2
i18n(fr): Add French translation (#30) 2022-12-09 10:40:32 -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
f4b3ddcafc
update deps 2022-12-07 13:41:54 -05:00
Ashley Wulber
d088acd62d
fix: fix update dep & fix window size 2022-12-07 12:46:54 -05:00
Ashley Wulber
092fc40426
update to use latest libcosmic 2022-12-07 12:13:44 -05:00
Ashley Wulber
f2d3dbec5c
update battery applet to use latest libcosmic 2022-12-07 11:54:31 -05:00
Ashley Wulber
df67bc3206
fix: allow popups to be constrained 2022-12-05 17:03:18 -05:00
Ashley Wulber
90d2e7b2bd
fix: remove typo 2022-12-05 14:27:56 -05:00
Ashley Wulber
93fa346bd8
fmt 2022-12-05 10:52:48 -05:00
Ashley Wulber
6b25ba5742
fix: typos & some i18n 2022-12-05 10:52:15 -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
KuroeHanako
67869ba5ac
Create cosmic_app_list.ftl (#27) 2022-11-27 20:54:24 -05:00
Ashley Wulber
912b173c7f
fix: use text color for icon button instead 2022-11-17 17:32:19 -05:00
Ashley Wulber
8b6a5f03c9
Merge branch 'iced-graphics-applet' into master_jammy 2022-11-17 17:29:16 -05:00
Ashley Wulber
498531f067
feat: improve icon button colors 2022-11-17 17:26:11 -05:00
Ashley Wulber
eab7ddea1d
Iced graphics applet (#26)
* feat: builds deb

* feat: working iced graphics applet

* fix: update deps to get fixes for iced-sctk

* fix: better popup size

* fix: better styling of button & popup

* fix: better popup container

* feat: sticky graphics mode after selection

* fix: refactor & handle close requests
2022-11-17 10:38:48 -05:00
Ashley Wulber
5b722286a1
fix: refactor & handle close requests 2022-11-15 12:00:41 +01:00
Ashley Wulber
e55ce3e519
feat: sticky graphics mode after selection 2022-11-14 19:51:36 +01:00