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
This commit is contained in:
Ashley Wulber 2022-11-17 16:38:48 +01:00 committed by GitHub
parent e3be1c1809
commit eab7ddea1d
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
15 changed files with 3836 additions and 360 deletions

53
Cargo.lock generated
View file

@ -384,20 +384,6 @@ dependencies = [
"zbus 2.3.2",
]
[[package]]
name = "cosmic-applet-graphics"
version = "0.1.0"
dependencies = [
"gtk4",
"libadwaita",
"libcosmic",
"libcosmic-applet",
"once_cell",
"relm4-macros",
"tokio",
"zbus 2.3.2",
]
[[package]]
name = "cosmic-applet-network"
version = "0.1.0"
@ -1512,6 +1498,16 @@ dependencies = [
"unic-langid",
]
[[package]]
name = "io-lifetimes"
version = "1.0.0-rc1"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "6f65dae1d3aa98e6877917ab4e6fdbfdfb00e95885ea7c4f4f29e3a5dfc08fdf"
dependencies = [
"libc",
"windows-sys",
]
[[package]]
name = "itertools"
version = "0.10.3"
@ -2914,12 +2910,13 @@ checksum = "6598dd0bd3c7d51095ff6531a5b23e02acdc81804e30d8f07afb77b7215a140a"
[[package]]
name = "wayland-backend"
version = "0.1.0-beta.9"
source = "git+https://github.com/smithay/wayland-rs#fa4be85e8f3b57c8b6e8dd2476d6b4734b810e59"
version = "0.1.0-beta.13"
source = "git+https://github.com/smithay/wayland-rs#051cbf6e38f4532c74ab5fc9a8d39ed84e1f2e04"
dependencies = [
"cc",
"downcast-rs",
"nix 0.24.2",
"io-lifetimes",
"nix 0.25.0",
"scoped-tls",
"smallvec",
"wayland-sys",
@ -2927,13 +2924,13 @@ dependencies = [
[[package]]
name = "wayland-client"
version = "0.30.0-beta.9"
source = "git+https://github.com/smithay/wayland-rs#fa4be85e8f3b57c8b6e8dd2476d6b4734b810e59"
version = "0.30.0-beta.13"
source = "git+https://github.com/smithay/wayland-rs#051cbf6e38f4532c74ab5fc9a8d39ed84e1f2e04"
dependencies = [
"bitflags",
"futures-channel",
"futures-core",
"nix 0.24.2",
"nix 0.25.0",
"thiserror",
"wayland-backend",
"wayland-scanner",
@ -2941,8 +2938,8 @@ dependencies = [
[[package]]
name = "wayland-protocols"
version = "0.30.0-beta.9"
source = "git+https://github.com/smithay/wayland-rs#fa4be85e8f3b57c8b6e8dd2476d6b4734b810e59"
version = "0.30.0-beta.13"
source = "git+https://github.com/smithay/wayland-rs#051cbf6e38f4532c74ab5fc9a8d39ed84e1f2e04"
dependencies = [
"bitflags",
"wayland-backend",
@ -2952,8 +2949,8 @@ dependencies = [
[[package]]
name = "wayland-protocols-wlr"
version = "0.1.0-beta.9"
source = "git+https://github.com/smithay/wayland-rs#fa4be85e8f3b57c8b6e8dd2476d6b4734b810e59"
version = "0.1.0-beta.13"
source = "git+https://github.com/smithay/wayland-rs#051cbf6e38f4532c74ab5fc9a8d39ed84e1f2e04"
dependencies = [
"bitflags",
"wayland-backend",
@ -2964,8 +2961,8 @@ dependencies = [
[[package]]
name = "wayland-scanner"
version = "0.30.0-beta.9"
source = "git+https://github.com/smithay/wayland-rs#fa4be85e8f3b57c8b6e8dd2476d6b4734b810e59"
version = "0.30.0-beta.13"
source = "git+https://github.com/smithay/wayland-rs#051cbf6e38f4532c74ab5fc9a8d39ed84e1f2e04"
dependencies = [
"proc-macro2",
"quick-xml",
@ -2975,8 +2972,8 @@ dependencies = [
[[package]]
name = "wayland-sys"
version = "0.30.0-beta.9"
source = "git+https://github.com/smithay/wayland-rs#fa4be85e8f3b57c8b6e8dd2476d6b4734b810e59"
version = "0.30.0-beta.13"
source = "git+https://github.com/smithay/wayland-rs#051cbf6e38f4532c74ab5fc9a8d39ed84e1f2e04"
dependencies = [
"dlib",
"log",