adapt desktop
adapt config so that it works on desktop too
This commit is contained in:
@@ -11,7 +11,6 @@
|
||||
profile.outputs = [ { criteria = "eDP-1"; } ];
|
||||
profile.exec = [
|
||||
"systemctl --user start hypridle.service"
|
||||
"eww reload"
|
||||
];
|
||||
}
|
||||
{
|
||||
@@ -21,36 +20,59 @@
|
||||
"eww reload"
|
||||
];
|
||||
profile.outputs = [
|
||||
{
|
||||
criteria = "eDP-1";
|
||||
mode = "1920x1080@60Hz";
|
||||
position = "1920,0";
|
||||
}
|
||||
{
|
||||
criteria = "HDMI-A-1";
|
||||
mode = "1920x1080@60Hz";
|
||||
position = "0,0";
|
||||
}
|
||||
{
|
||||
criteria = "eDP-1";
|
||||
mode = "1920x1080@60Hz";
|
||||
position = "1920,0";
|
||||
}
|
||||
];
|
||||
}
|
||||
{
|
||||
profile.name = "desktop";
|
||||
profile.exec = [
|
||||
"systemctl --user stop hypridle.service"
|
||||
];
|
||||
profile.outputs = [
|
||||
{
|
||||
criteria = "HDMI-A-2";
|
||||
mode = "1920x1080@60Hz";
|
||||
position = "0,0";
|
||||
}
|
||||
{
|
||||
criteria = "DVI-D-1";
|
||||
mode = "1920x1080@60Hz";
|
||||
position = "1920,0";
|
||||
}
|
||||
{
|
||||
criteria = "DP-2";
|
||||
mode = "1920x1080@60Hz";
|
||||
position = "3840,0";
|
||||
}
|
||||
];
|
||||
}
|
||||
{
|
||||
profile.name = "desktop-reduced";
|
||||
profile.exec = [
|
||||
"systemctl --user stop hypridle.service"
|
||||
];
|
||||
profile.outputs = [
|
||||
{
|
||||
criteria = "DVI-D-1";
|
||||
mode = "1920x1080@60Hz";
|
||||
position = "0,0";
|
||||
}
|
||||
{
|
||||
criteria = "DP-2";
|
||||
mode = "1920x1080@60Hz";
|
||||
position = "1920,0";
|
||||
}
|
||||
];
|
||||
}
|
||||
# {
|
||||
# profile.name = "desktop";
|
||||
# profile.exec = [
|
||||
# "systemctl --user start hypridle.service"
|
||||
# ];
|
||||
# profile.outputs = [
|
||||
# {
|
||||
# criteria = "eDP-1";
|
||||
# mode = "1920x1080@60Hz";
|
||||
# position = "1920,0";
|
||||
# }
|
||||
# {
|
||||
# criteria = "HDMI-A-1";
|
||||
# mode = "1920x1080@60Hz";
|
||||
# position = "0,0";
|
||||
# }
|
||||
# ];
|
||||
# }
|
||||
];
|
||||
};
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user