On 19.06.24 03:36, Antoine Beaupre wrote:
Package: wnpp
Severity: wishlist
X-Debbugs-Cc:team+swa...@tracker.debian.org,debian-r...@lists.debian.org

* Package name    : shikane
   Version         : 1.0.1
   Upstream Contact:https://gitlab.com/w0lff
* URL             :https://docs.rs/crate/shikane
* License         : MIT
   Programming Lang: Rust
   Description     : dynamic Wayland output configuration tool focusing on 
accuracy and determinism

shikane (/ʃiˈkaːnə/) is a dynamic output configuration tool focusing
on accuracy and determinism.

It automatically detects and configures connected displays based on a
set of profiles. Each profile specifies a set of outputs with
additional parameters (e.g., mode, position, scale). A profile will be
applied automatically if all specified outputs and modes can be
perfectly matched to the currently connected displays and their
capabilities.

This is a Wayland equivalent for tools like autorandr. It aims to
fully replace kanshi, surpass its inaccuracies and add new
features. shikane works with Wayland compositors supporting versions
=3 of the wlr-output-management protocol (e.g., compositors using
wlroots v0.16).

Features

* generation of all compatible (display, output, mode)-combinations, ranked by 
exactness
* specify multiple matching rules per output
* restrict the matching to only certain display attributes
* choose between regex, substring or full text based attribute matching
* full cardinality matching algorithm
* ad-hoc profile switching
* export current display setup as shikane config.toml
* state machine defined execution
* execute commands, profile and display names are supplied as env vars
* one-shot mode

----

This is similar to kanshi, already packaged in Debian, but differs by
being written in Rust and supporting more features like saving the
current profile, for which kansi is currently lacking:

https://todo.sr.ht/~emersion/kanshi/81

I would love some rust folks to look into this, as I do not have the
cycles to learn rust packaging right now.

Hi Antoine,

$ cargo debstatus

shows only one crate (hopcroft-karp) to be missing.

best,

--
Matthias Geiger <werdahias>
Debian Maintainer

Reply via email to