From 4fb79f12641d36a81835c853d8eb2bbcb0a32f9f Mon Sep 17 00:00:00 2001 From: Evie Litherland-Smith Date: Tue, 22 Aug 2023 15:41:24 +0100 Subject: [PATCH] Update monitor config --- hosts/Ronin/home.nix | 23 +++++++---------------- 1 file changed, 7 insertions(+), 16 deletions(-) diff --git a/hosts/Ronin/home.nix b/hosts/Ronin/home.nix index 332b51c2..2131076b 100644 --- a/hosts/Ronin/home.nix +++ b/hosts/Ronin/home.nix @@ -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 ''; }