Skip to content

Commit

Permalink
chore: update README and bump version
Browse files Browse the repository at this point in the history
  • Loading branch information
Decodetalkers committed Oct 23, 2024
1 parent eac3b83 commit 3ab4f22
Show file tree
Hide file tree
Showing 3 changed files with 40 additions and 49 deletions.
30 changes: 15 additions & 15 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

18 changes: 9 additions & 9 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -18,22 +18,22 @@ authors = [
"Aakash Sen Sharma <[email protected]>",
]
edition = "2021"
version = "0.9.4-rc3"
version = "0.9.4"
license = "MIT"
repository = "https://github.com/waycrate/exwlshelleventloop"
description = "Wayland extra shell lib"
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"
Expand Down
41 changes: 16 additions & 25 deletions iced_layershell/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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!(),
}
Expand Down Expand Up @@ -193,7 +185,6 @@ impl Application for Counter {
}
}
}
```

For more example, please take a look at [exwlshelleventloop](https://github.com/waycrate/exwlshelleventloop)

0 comments on commit 3ab4f22

Please sign in to comment.