2017-08-04 16:02:25 +02:00
|
|
|
# kanshi
|
|
|
|
|
2017-08-05 10:33:16 +02:00
|
|
|
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).
|
|
|
|
|
2019-05-30 14:46:11 +02:00
|
|
|
Join the IRC channel: ##emersion on Freenode.
|
|
|
|
|
2017-08-05 10:33:16 +02:00
|
|
|
## Usage
|
|
|
|
|
2017-08-13 18:56:30 +02:00
|
|
|
```sh
|
2019-02-01 22:18:49 +01:00
|
|
|
mkdir -p ~/.config/kanshi && touch ~/.config/kanshi/config
|
2018-09-16 14:18:59 +02:00
|
|
|
kanshi
|
2017-08-05 10:33:16 +02:00
|
|
|
```
|
2017-08-04 16:02:25 +02:00
|
|
|
|
2017-08-13 18:56:30 +02:00
|
|
|
### Configuration file
|
|
|
|
|
|
|
|
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
|
|
|
|
}
|
|
|
|
|
|
|
|
{
|
2019-05-30 14:35:41 +02:00
|
|
|
output LVDS-1 resolution 1600x900 scale 2
|
2017-08-13 18:56:30 +02:00
|
|
|
}
|
|
|
|
```
|
|
|
|
|
2017-08-04 16:02:25 +02:00
|
|
|
## License
|
|
|
|
|
|
|
|
MIT
|