feat(xps): use kanshi instead of static sway output config
This commit is contained in:
parent
f570704277
commit
5d677c1a2e
1 changed files with 33 additions and 4 deletions
|
@ -1,10 +1,39 @@
|
|||
{ config, lib, pkgs, user, ... }:
|
||||
|
||||
{
|
||||
wayland.windowManager.sway.config = {
|
||||
output = {
|
||||
eDP-1 = {
|
||||
scale = "1.3";
|
||||
services.kanshi = {
|
||||
enable = true;
|
||||
|
||||
profiles = {
|
||||
undocked = {
|
||||
outputs = [
|
||||
{
|
||||
criteria = "eDP-1";
|
||||
scale = 1.3;
|
||||
status = "enable";
|
||||
}
|
||||
];
|
||||
};
|
||||
|
||||
home_office_right = {
|
||||
outputs = [
|
||||
{
|
||||
criteria = "Samsung Electric Company SMS24A450 H4MCA12730";
|
||||
scale = 1.0;
|
||||
status = "enable";
|
||||
position = "0,0";
|
||||
}
|
||||
{
|
||||
criteria = "Samsung Electric Company SMS24A450 H4MCA12738";
|
||||
scale = 1.0;
|
||||
status = "enable";
|
||||
position = "1920,0";
|
||||
}
|
||||
{
|
||||
criteria = "eDP-1";
|
||||
status = "disable";
|
||||
}
|
||||
];
|
||||
};
|
||||
};
|
||||
};
|
||||
|
|
Loading…
Reference in a new issue