Compare commits
No commits in common. "1a6ab2840a872274508524502cc900384b82b435" and "059cfef98a6246c260e579867ce17529a099fb85" have entirely different histories.
1a6ab2840a
...
059cfef98a
@ -247,28 +247,6 @@ in {
|
|||||||
}
|
}
|
||||||
];
|
];
|
||||||
};
|
};
|
||||||
|
|
||||||
kanshi = {
|
|
||||||
enable = true;
|
|
||||||
profiles.undocked.outputs = [
|
|
||||||
{
|
|
||||||
criteria = "eDP-1";
|
|
||||||
}
|
|
||||||
];
|
|
||||||
profiles.docked.outputs = [
|
|
||||||
{
|
|
||||||
criteria = "eDP-1";
|
|
||||||
}
|
|
||||||
{
|
|
||||||
criteria = "Philips Consumer Electronics Company PHL 272S1 UHB2347026536";
|
|
||||||
mode = "1920x1080@74.973Hz";
|
|
||||||
}
|
|
||||||
{
|
|
||||||
criteria = "Philips Consumer Electronics Company PHL 272S1 UHB2347026535";
|
|
||||||
mode = "1920x1080@74.973Hz";
|
|
||||||
}
|
|
||||||
];
|
|
||||||
};
|
|
||||||
};
|
};
|
||||||
|
|
||||||
systemd.user = {
|
systemd.user = {
|
||||||
|
@ -177,17 +177,9 @@
|
|||||||
wantedBy = ["multi-user.target"];
|
wantedBy = ["multi-user.target"];
|
||||||
serviceConfig.Nice = -20;
|
serviceConfig.Nice = -20;
|
||||||
script = ''
|
script = ''
|
||||||
sleep 1
|
sleep 1
|
||||||
KBD1="/dev/input/by-path/platform-i8042-serio-0-event-kbd"
|
${zremap.defaultPackage.${system}}/bin/zremap \
|
||||||
KBD2="/dev/input/by-path/pci-0000:07:00.3-usbv2-0:1.1.3.2:1.1-event-kbd"
|
/dev/input/by-path/platform-i8042-serio-0-event-kbd
|
||||||
if [ -L "$KBD1" ]; then
|
|
||||||
${zremap.defaultPackage.${system}}/bin/zremap "$KBD1" &
|
|
||||||
fi
|
|
||||||
if [ -L "$KBD2" ]; then
|
|
||||||
${zremap.defaultPackage.${system}}/bin/zremap "$KBD2" &
|
|
||||||
fi
|
|
||||||
|
|
||||||
wait
|
|
||||||
'';
|
'';
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
Loading…
Reference in New Issue
Block a user