| Crates.io | kanshi |
| lib.rs | kanshi |
| version | 0.2.1 |
| created_at | 2017-08-05 08:36:51.960194+00 |
| updated_at | 2017-08-21 09:40:04.21266+00 |
| description | Dynamic display configuration |
| homepage | https://github.com/emersion/kanshi |
| repository | https://github.com/emersion/kanshi |
| max_upload_size | |
| id | 26459 |
| size | 15,861 |
Kanshi uses a configuration file and a list of available displays to choose the right settings for each display. It's useful if your window manager doesn't support multiple display configurations (e.g. i3/Sway).
For now, it only supports:
sysfs as backend~/.config/monitors.xml)cargo install kanshi
touch ~/.config/kanshi/config
kanshi > ~/.config/sway/outputs
Each monitor configuration is delimited by brackets. Each line has the same
syntax as sway(5).
{
output LVDS-1 disable
output VGA-1 resolution 1600x900 position 0,0
}
{
output LVDS-1 vendor CMN product 0x1484 serial 0x0 resolution 1600x900 scale 2
}
MIT