Commit graph

375 commits

Author SHA1 Message Date
Ian Douglas Scott
f2affe52fb workspaces: Fix clippy lints 2023-01-05 10:09:10 -08:00
Ian Douglas Scott
ba832143fc app-list: Fix clippy lints 2023-01-05 10:05:19 -08:00
Ian Douglas Scott
d1dcbd4915 battery: Fix clippy lints 2023-01-05 09:58:48 -08:00
Ian Douglas Scott
7dbab103a8 battery: Fix zbus dependency specification, and use tokio feature 2023-01-05 09:56:56 -08:00
Ian Douglas Scott
b9a2655210 audio: Fix clippy lints 2023-01-05 09:55:44 -08:00
Shuxian Wang
5c16665b7b Add Nix flake. 2023-01-04 10:45:36 -05:00
Ian Douglas Scott
a38b216924
Merge pull request #36 from pop-os/workspaces-client-toolkit_jammy
Use `cosmic-client-toolkit` helpers in workspace applet
2023-01-03 20:23:55 -08:00
Ian Douglas Scott
27e19828fd Use cosmic-client-toolkit helpers in workspace applet 2023-01-03 15:16:59 -08:00
Ian Douglas Scott
442e59073f Update dependencies
Update `sctk` to version used in `cosmic-protocols`, and then `cargo
update`.
2023-01-03 15:16:56 -08:00
13r0ck
435ee7f7a6 Fix power container build code
A tiny fix, no point in useing the macro to push widgets anyway.
2023-01-03 16:36:13 -05:00
Ashley Wulber
3aaa272499 fix: increase popup size limits to fix text for each button 2023-01-03 14:29:23 -05:00
Ashley Wulber
cbe57ab95f fix: calculation of read backlight values 2023-01-03 11:47:49 -05:00
Ashley Wulber
16f8cd7812 fix: clamp screen brightness to reasonable range 2023-01-03 11:47:49 -05:00
Gildemberg Santos
ca3209ef19 Update cosmic_applet_battery.ftl 2023-01-03 00:11:43 -05:00
gildemberg-santos
a4bfe69eba I18n 2023-01-03 00:11:43 -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
Ian Douglas Scott
cf41b2a1b5
Merge pull request #45 from pop-os/update-cleanup
update applets using latest libcosmic auto-sizing popups
2022-12-28 14:11:09 -08:00
Ashley Wulber
4c9b2eb007
feat: autosized sound applet popup 2022-12-28 11:36:15 -05:00
Ashley Wulber
88b4a7d20b
update applets using latest libcosmic auto-sizing popups 2022-12-27 18:35:06 -05:00
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