[user/malte] Fix sway/kanshi after monitor name change
This commit is contained in:
parent
58fafea618
commit
f1e1ad6957
|
@ -6,10 +6,6 @@
|
|||
notify = profile: [
|
||||
"${pkgs.libnotify}/bin/notify-send -t 10000 -a 'Kanshi' '${profile}' 'Profile activated'"
|
||||
];
|
||||
move = workspace: output: [
|
||||
"${pkgs.sway}/bin/swaymsg workspace ${builtins.toString workspace}"
|
||||
"${pkgs.sway}/bin/swaymsg move workspace to output '${output}'"
|
||||
];
|
||||
in {
|
||||
services.kanshi = {
|
||||
enable = true;
|
||||
|
@ -21,7 +17,7 @@ in {
|
|||
docked = {
|
||||
outputs = [
|
||||
{
|
||||
criteria = "eDP-1";
|
||||
criteria = "California Institute of Technology 0x1500 Unknown";
|
||||
mode = "3840x2160@60Hz";
|
||||
position = "0,1380";
|
||||
scale = 2.0;
|
||||
|
@ -34,7 +30,7 @@ in {
|
|||
transform = "270";
|
||||
}
|
||||
{
|
||||
criteria = "Goldstar Company Ltd IPS226 SerialNumber";
|
||||
criteria = "LG Electronics IPS226 SerialNumber";
|
||||
mode = "1920x1080@60Hz";
|
||||
position = "3000,420";
|
||||
scale = 1.0;
|
||||
|
@ -52,7 +48,7 @@ in {
|
|||
transform = "270";
|
||||
}
|
||||
{
|
||||
criteria = "Goldstar Company Ltd IPS226 SerialNumber";
|
||||
criteria = "LG Electronics IPS226 SerialNumber";
|
||||
mode = "1920x1080@60Hz";
|
||||
position = "3000,420";
|
||||
scale = 1.0;
|
||||
|
|
|
@ -282,8 +282,8 @@ in {
|
|||
};
|
||||
|
||||
output = {
|
||||
"Unknown 0x1500 0x00000000".bg = "${backgrounds}/forest2.jpg fill";
|
||||
"Goldstar Company Ltd IPS226 SerialNumber".bg = "${backgrounds}/future-town.jpg fill";
|
||||
"California Institute of Technology 0x1500 Unknown".bg = "${backgrounds}/forest2.jpg fill";
|
||||
"LG Electronics IPS226 SerialNumber".bg = "${backgrounds}/future-town.jpg fill";
|
||||
"BenQ Corporation BenQ GW2270 P9J02423SL0".bg = "${backgrounds}/leaves3.jpg fill";
|
||||
};
|
||||
};
|
||||
|
|
Loading…
Reference in a new issue