浏览代码

~/.config/kanshi: Manage (external) monitors with kanshi

This supports dynamic plug/unplug of monitors, e.g. switching to the
external monitor if it is present, and to the internal display if no
external monitor is connected.

I could not figure out yet how to start up kanshi automatically together
with sway, so right now I only start it when I need it.  (Sway's default
is to use all monitors, which works well.)
Lu Stadler 5 年之前
父节点
当前提交
9752bacee0
共有 1 个文件被更改,包括 8 次插入0 次删除
  1. 8 0
      .config/kanshi/config

+ 8 - 0
.config/kanshi/config

@ -0,0 +1,8 @@
1
profile external {
2
	output DP-1 enable mode 2560x1440 position 0,0
3
	output LVDS-1 disable
4
}
5
6
profile laptop {
7
	output LVDS-1 enable
8
}