Release 0.2.0

Minor, not patch: colours and sizing move into a config file and the grid
scrolls, so behaviour people could depend on has changed shape.

- ~/.config/wl-pick/config sets colours, border, thumbnail size and the
  flags, as flat `key = value` lines; a flag still beats the file.
- Sizes take sway's units. 70ppt is a percentage of the display the grid
  appears on, resolved per run, so one config suits monitors of different
  sizes. The overlay maps on the focused display explicitly, at that
  display's scale, rather than taking the largest scale in use.
- Give only tile-width and the height follows the display's aspect, which
  is roughly the shape of the windows on it.
- More rows than fit now scroll, with a scrollbar, PgUp/PgDn, and the
  selection always revealed. Tiles out of view are unmapped and skipped
  by live capture.

Also corrects rust-version, which said 1.88 while cosmic-text has needed
1.89 all along: cargo was resolving 0.1.1 against a floor its own
dependency could not meet, and said so if you looked. It now locks
cleanly.
This commit is contained in:
Milad Alizadeh
2026-08-31 18:22:57 +01:00
parent 30c478872a
commit 94d8145079
2 changed files with 4 additions and 4 deletions
Generated
+1 -1
View File
@@ -606,7 +606,7 @@ dependencies = [
[[package]] [[package]]
name = "wl-pick" name = "wl-pick"
version = "0.1.1" version = "0.2.0"
dependencies = [ dependencies = [
"cosmic-text", "cosmic-text",
"memmap2", "memmap2",
+3 -3
View File
@@ -1,6 +1,6 @@
[package] [package]
name = "wl-pick" name = "wl-pick"
version = "0.1.1" version = "0.2.0"
edition = "2024" edition = "2024"
description = "A live grid of window and display previews, for picking one" description = "A live grid of window and display previews, for picking one"
license = "MIT" license = "MIT"
@@ -8,8 +8,8 @@ repository = "https://github.com/mil-ad/wl-pick"
readme = "README.md" readme = "README.md"
keywords = ["wayland", "sway", "wlroots", "screencast", "switcher"] keywords = ["wayland", "sway", "wlroots", "screencast", "switcher"]
categories = ["command-line-utilities", "os::unix-apis"] categories = ["command-line-utilities", "os::unix-apis"]
# let-chains, which are edition 2024 and stable from here on # The floor is cosmic-text, which needs 1.89; let-chains here need 1.88.
rust-version = "1.88" rust-version = "1.89"
[dependencies] [dependencies]
wayland-client = "0.31" wayland-client = "0.31"