Sizing is now specified as caps rather than as a thumbnail size: max-width and max-height bound the overlay, max-columns and max-rows bound the grid inside it, and a thumbnail is simply the one divided by the other. A thumbnail is therefore the same size whether one window is open or thirty. Rows past max-rows scroll, with a scrollbar, PgUp/PgDn, and the selection kept in view. Tiles scrolled out of sight are unmapped, so live capture skips them. timeout = 0 now means no timeout instead of an immediate deadline.
25 lines
780 B
TOML
25 lines
780 B
TOML
[package]
|
|
name = "wl-pick"
|
|
version = "0.3.0"
|
|
edition = "2024"
|
|
description = "A live grid of window and display previews, for picking one"
|
|
license = "MIT"
|
|
repository = "https://github.com/mil-ad/wl-pick"
|
|
readme = "README.md"
|
|
keywords = ["wayland", "sway", "wlroots", "screencast", "switcher"]
|
|
categories = ["command-line-utilities", "os::unix-apis"]
|
|
# The floor is cosmic-text, which needs 1.89; let-chains here need 1.88.
|
|
rust-version = "1.89"
|
|
|
|
[dependencies]
|
|
wayland-client = "0.31"
|
|
wayland-protocols = { version = "0.32", features = ["client", "staging", "unstable"] }
|
|
wayland-protocols-wlr = { version = "0.3", features = ["client"] }
|
|
memmap2 = "0.9"
|
|
rustix = { version = "1", features = ["fs", "mm", "shm"] }
|
|
swayipc = "4"
|
|
cosmic-text = "0.19"
|
|
|
|
[profile.release]
|
|
strip = true
|