Update monitor config

This commit is contained in:
Evie Litherland-Smith 2023-08-22 15:41:24 +01:00
parent 94bd92e4da
commit 4fb79f1264

View file

@ -1,4 +1,4 @@
{ pkgs, lib, shellConfig, wallpapers, ... }:
{ pkgs, lib, shellConfig, ... }:
let
username = "elitherl";
homeDirectory = "/home/${username}";
@ -159,26 +159,19 @@ in {
scale = 1.0;
status = "enable";
}];
exec = ''hyprctl hyprpaper wallpaper ",${wallpapers.outputs.default}"'';
};
work = {
outputs = [
{
criteria = "Iiyama North America PLB2403WS 0574281251316";
position = "0,0";
status = "enable";
}
{
criteria = "eDP-1";
status = "disable";
}
{
criteria = "Iiyama North America PLB2403WS 0574281251316";
position = "1280,185";
status = "enable";
}
{
criteria = "Dell Inc. DELL U2417H 5K9YD872FY1L";
position = "3200,0";
status = "enable";
}
];
exec = ''hyprctl hyprpaper wallpaper ",${wallpapers.outputs.default}"'';
};
home = {
outputs = [
@ -192,13 +185,11 @@ in {
status = "disable";
}
];
exec = ''hyprctl hyprpaper wallpaper ",${wallpapers.outputs.default}"'';
};
};
xdg.configFile."hypr/display.conf".text = ''
monitor=eDP-1,preferred,auto,1
monitor=desc:Iiyama North America PLB2403WS 0574281251316,preferred,1280x185,1
monitor=desc:Dell Inc. DELL U2417H 5K9YD872FY1L,preferred,3200x0,1,transform,1
monitor=desc:Iiyama North America PLB2403WS 0574281251316,highres,0x0,1
monitor=desc:Acer Technologies ED270R TJMEE0043W01,highrr,0x0,1
'';
}