Initial first applet
This commit is contained in:
parent
c555037160
commit
a518251f16
4 changed files with 24 additions and 1 deletions
8
Cargo.lock
generated
8
Cargo.lock
generated
|
|
@ -212,6 +212,14 @@ dependencies = [
|
|||
"cache-padded",
|
||||
]
|
||||
|
||||
[[package]]
|
||||
name = "cosmic-applet-network"
|
||||
version = "0.1.0"
|
||||
dependencies = [
|
||||
"gtk4",
|
||||
"zbus",
|
||||
]
|
||||
|
||||
[[package]]
|
||||
name = "derivative"
|
||||
version = "2.2.0"
|
||||
|
|
|
|||
|
|
@ -12,7 +12,7 @@ derivative = "2"
|
|||
enumflags2 = "0.7"
|
||||
futures = "0.3"
|
||||
futures-channel = "0.3"
|
||||
gdk4-x11 = { version = "0.4.2", features = [ "xlib" ] }
|
||||
gdk4-x11 = { version = "0.4.2", features = ["xlib"] }
|
||||
gdk4-wayland = { version = "0.4", optional = true }
|
||||
gtk4 = "0.4"
|
||||
gobject-sys = "0.15"
|
||||
|
|
@ -27,3 +27,6 @@ zvariant = "3"
|
|||
|
||||
[features]
|
||||
layer-shell = ["gdk4-wayland", "libcosmic/layer-shell"]
|
||||
|
||||
[workspace]
|
||||
members = ["applets/cosmic-applet-network"]
|
||||
|
|
|
|||
9
applets/cosmic-applet-network/Cargo.toml
Normal file
9
applets/cosmic-applet-network/Cargo.toml
Normal file
|
|
@ -0,0 +1,9 @@
|
|||
[package]
|
||||
name = "cosmic-applet-network"
|
||||
version = "0.1.0"
|
||||
edition = "2021"
|
||||
license = "LGPL-3.0-or-later"
|
||||
|
||||
[dependencies]
|
||||
gtk4 = "0.4.6"
|
||||
zbus = "2.0.1"
|
||||
3
applets/cosmic-applet-network/src/main.rs
Normal file
3
applets/cosmic-applet-network/src/main.rs
Normal file
|
|
@ -0,0 +1,3 @@
|
|||
fn main() {
|
||||
println!("Hello, world!");
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue