diff --git a/Cargo.lock b/Cargo.lock index fc0cfb5..0977ec9 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -116,7 +116,7 @@ dependencies = [ [[package]] name = "application-launcher" -version = "0.9.4-rc3" +version = "0.9.4" dependencies = [ "gio", "iced", @@ -411,7 +411,7 @@ dependencies = [ [[package]] name = "bottom_panel" -version = "0.9.4-rc3" +version = "0.9.4" dependencies = [ "gio", "iced", @@ -789,7 +789,7 @@ dependencies = [ [[package]] name = "counter" -version = "0.9.4-rc3" +version = "0.9.4" dependencies = [ "iced", "iced_layershell", @@ -798,7 +798,7 @@ dependencies = [ [[package]] name = "counter_lock" -version = "0.9.4-rc3" +version = "0.9.4" dependencies = [ "iced", "iced_runtime", @@ -807,7 +807,7 @@ dependencies = [ [[package]] name = "counter_multi" -version = "0.9.4-rc3" +version = "0.9.4" dependencies = [ "iced", "iced_layershell", @@ -1812,7 +1812,7 @@ dependencies = [ [[package]] name = "iced_layershell" -version = "0.9.4-rc3" +version = "0.9.4" dependencies = [ "futures", "iced", @@ -1831,7 +1831,7 @@ dependencies = [ [[package]] name = "iced_layershell_macros" -version = "0.9.4-rc3" +version = "0.9.4" dependencies = [ "darling", "manyhow", @@ -1868,7 +1868,7 @@ dependencies = [ [[package]] name = "iced_sessionlock" -version = "0.9.4-rc3" +version = "0.9.4" dependencies = [ "futures", "iced", @@ -1887,7 +1887,7 @@ dependencies = [ [[package]] name = "iced_sessionlock_macros" -version = "0.9.4-rc3" +version = "0.9.4" dependencies = [ "darling", "manyhow", @@ -1915,7 +1915,7 @@ dependencies = [ [[package]] name = "iced_virtualkeyboard" -version = "0.9.4-rc3" +version = "0.9.4" dependencies = [ "iced", "iced_layershell", @@ -2133,7 +2133,7 @@ dependencies = [ [[package]] name = "layershellev" -version = "0.9.4-rc3" +version = "0.9.4" dependencies = [ "bitflags 2.6.0", "calloop 0.14.1", @@ -3465,7 +3465,7 @@ dependencies = [ [[package]] name = "sessionlockev" -version = "0.9.4-rc3" +version = "0.9.4" dependencies = [ "bitflags 2.6.0", "calloop 0.14.1", @@ -3677,7 +3677,7 @@ dependencies = [ [[package]] name = "starcolorkeyboard" -version = "0.9.4-rc3" +version = "0.9.4" dependencies = [ "bitflags 2.6.0", "cairo-rs", @@ -4219,7 +4219,7 @@ dependencies = [ [[package]] name = "waycrate_xkbkeycode" -version = "0.9.4-rc3" +version = "0.9.4" dependencies = [ "bitflags 2.6.0", "log", @@ -5002,7 +5002,7 @@ dependencies = [ [[package]] name = "zbus_invoked_widget" -version = "0.9.4-rc3" +version = "0.9.4" dependencies = [ "futures", "iced", diff --git a/Cargo.toml b/Cargo.toml index d0cd34d..ca42211 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -18,7 +18,7 @@ authors = [ "Aakash Sen Sharma ", ] edition = "2021" -version = "0.9.4-rc3" +version = "0.9.4" license = "MIT" repository = "https://github.com/waycrate/exwlshelleventloop" description = "Wayland extra shell lib" @@ -26,14 +26,14 @@ keywords = ["wayland", "wlroots"] readme = "README.md" [workspace.dependencies] -layershellev = { version = "0.9.4-rc3", path = "./layershellev" } -sessionlockev = { version = "0.9.4-rc3", path = "./sessionlockev" } - -iced_layershell = { version = "0.9.4-rc3", path = "./iced_layershell" } -iced_layershell_macros = { version = "0.9.4-rc3", path = "./iced_layershell_macros" } -iced_sessionlock = { version = "0.9.4-rc3", path = "./iced_sessionlock" } -iced_sessionlock_macros = { version = "0.9.4-rc3", path = "./iced_sessionlock_macros" } -waycrate_xkbkeycode = { version = "0.9.4-rc3", path = "./waycrate_xkbkeycode" } +layershellev = { version = "0.9.4", path = "./layershellev" } +sessionlockev = { version = "0.9.4", path = "./sessionlockev" } + +iced_layershell = { version = "0.9.4", path = "./iced_layershell" } +iced_layershell_macros = { version = "0.9.4", path = "./iced_layershell_macros" } +iced_sessionlock = { version = "0.9.4", path = "./iced_sessionlock" } +iced_sessionlock_macros = { version = "0.9.4", path = "./iced_sessionlock_macros" } +waycrate_xkbkeycode = { version = "0.9.4", path = "./waycrate_xkbkeycode" } tempfile = "3.13.0" thiserror = "1.0.64" diff --git a/iced_layershell/README.md b/iced_layershell/README.md index 7ac85f5..c86c545 100644 --- a/iced_layershell/README.md +++ b/iced_layershell/README.md @@ -118,30 +118,22 @@ impl Application for Counter { } Message::Direction(direction) => match direction { - WindowDirection::Left => Command::batch(vec![ - Command::done(Message::AnchorChange( - Anchor::Left | Anchor::Top | Anchor::Bottom, - )), - Command::done(Message::SizeChange((400, 0))), - ]), - WindowDirection::Right => Command::batch(vec![ - Command::done(Message::AnchorChange( - Anchor::Right | Anchor::Top | Anchor::Bottom, - )), - Command::done(Message::SizeChange((400, 0))), - ]), - WindowDirection::Bottom => Command::batch(vec![ - Command::done(Message::AnchorChange( - Anchor::Bottom | Anchor::Left | Anchor::Right, - )), - Command::done(Message::SizeChange((0, 400))), - ]), - WindowDirection::Top => Command::batch(vec![ - Command::done(Message::AnchorChange( - Anchor::Top | Anchor::Left | Anchor::Right, - )), - Command::done(Message::SizeChange((0, 400))), - ]), + WindowDirection::Left => Command::done(Message::AnchorSizeChange( + Anchor::Left | Anchor::Top | Anchor::Bottom, + (400, 0), + )), + WindowDirection::Right => Command::done(Message::AnchorSizeChange( + Anchor::Right | Anchor::Top | Anchor::Bottom, + (400, 0), + )), + WindowDirection::Bottom => Command::done(Message::AnchorSizeChange( + Anchor::Bottom | Anchor::Left | Anchor::Right, + (0, 400), + )), + WindowDirection::Top => Command::done(Message::AnchorSizeChange( + Anchor::Top | Anchor::Left | Anchor::Right, + (0, 400), + )), }, _ => unreachable!(), } @@ -193,7 +185,6 @@ impl Application for Counter { } } } - ``` For more example, please take a look at [exwlshelleventloop](https://github.com/waycrate/exwlshelleventloop)