commits
chore: bump version to 0.1.4
fix(nix): use `types.path` instead of `types.externalPath` in modules
This reverts commit 85aef499499c19f140623981a85497de15f1a570.
chore: bump version to 0.1.3
ci: add cachix binary cache `olduser101`
doc: move defaults into examples directory
build(flake): update input `nixpkgs`
feat(render): rename input `hideWhenEmpty` to `visible`, extra modes
- rename the input configuration key `hideWhenEmpty` to `visible`
- add an extra mode to always hide the input box
refactor(auth): use pipe communication, remove async dependencies
state changed event was used as part of auth callback, which is
no longer present
replace tokio with standard threads since fits more cleanly with
the nlock structure, and reduces dependencies
chore: bump version to v0.1.1
feat: add version command and build script
feat(nix): add NixOS and home-manager modules
refactor(nix): split into separate files
refactor(util): move `LogLevel` enum into `util` module
- move `LogLevel` to `util`, with other arg-related enums
- impl `From<LogLevel>` on `tracing::level_filters::LevelFilter`
to simplify conversion.
refactor(args): use `clap-derive` for argument parsing
- use `clap-derive` to define args via structs, much
simpler than the builder.
fix: handle multi-byte unicode characters in password string
- calculate password length in codepoints, not bytes, which produces
incorrect lengths when multi-byte unicode chars are entered.
closes #48
feat(config): reject unknown configuration fields
feat(image): use cairo conversion for png images, reduce pixbuf overhead
- cairo natively supports png images, so create cairo surfaces from
them directly, instead of going through pixbuf, which is wasteful.
- add `detect_png` utility function to determine if a file is png based
on file signature
closes #44
fix(render): correctly scale overlay ui elements
- scale ui elements on the overlay by the output scale
Closes #39
fix(surface): use synchronised surfaces to avoid Hyprland quirk
- always use sync subsurfaces, due to a quirk with desync
subsurfaces on Hyprland, preventing redraw
- always commit background surface to allow overlay to update
(sync surfaces)
- only commit new buffer when required
Closes #38
refactor(render): move rendering to separate module
- move renderer to new `NLockRenderer` struct
- move rendering enums into `util` module
- clean up `surface` module
chore: update license headers
chore: fix license header?
build(nix): install shell completions in `postInstall`
feat: add subcommand for shell completion generation
- add `clap_complete` crate for shell completion generation
- add `completions` subcommand to invoke `clap_complete` with a
detected or specified shell
- update documentation to include a section on shell completions