Go to file
Simon Ser 7952a0b691 Listen to output-management events 2019-06-01 13:25:09 +03:00
include Listen to output-management events 2019-06-01 13:25:09 +03:00
protocol Listen to output-management events 2019-06-01 13:25:09 +03:00
.gitignore Add basic parser 2019-06-01 13:25:09 +03:00
README.md readme: add reference to sway-output(5) 2019-06-01 13:25:09 +03:00
main.c Listen to output-management events 2019-06-01 13:25:09 +03:00
meson.build Listen to output-management events 2019-06-01 13:25:09 +03:00
parser.c Parse output values 2019-06-01 13:25:09 +03:00

README.md

kanshi

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).

Join the IRC channel: ##emersion on Freenode.

Usage

mkdir -p ~/.config/kanshi && touch ~/.config/kanshi/config
kanshi

Configuration file

Each monitor configuration is delimited by brackets. Each line has the same syntax as sway-output(5).

{
	output LVDS-1 disable
	output VGA-1 resolution 1600x900 position 0,0
}

{
	output LVDS-1 resolution 1600x900 scale 2
}

License

MIT