From 7e129097b2a5cc129fb35c11ba4d6cd654858873 Mon Sep 17 00:00:00 2001 From: Evie Litherland-Smith Date: Wed, 13 Mar 2024 17:04:37 +0000 Subject: [PATCH] Update monitor scaling values --- hosts/Northstar/home.nix | 14 +------------- hosts/Ronin/home.nix | 21 +++------------------ hosts/Scorch/home.nix | 16 +++++++++++++++- 3 files changed, 19 insertions(+), 32 deletions(-) diff --git a/hosts/Northstar/home.nix b/hosts/Northstar/home.nix index 99e21b80..01a62366 100644 --- a/hosts/Northstar/home.nix +++ b/hosts/Northstar/home.nix @@ -1,13 +1 @@ -{...}: { - wayland.windowManager.hyprland.settings = { - windowrule = [ - "monitor desc:Acer Technologies ED270R TJMEE0043W01,[Ss]team" - "monitor desc:Ancor Communications Inc VS278 FALMQS032358,WebCord" - ]; - monitor = [ - "eDP-1,preferred,1920x0,1.25" - "desc:Acer Technologies ED270R TJMEE0043W01,highrr,0x0,1.00,vrr,2" - "desc:Ancor Communications Inc VS278 FALMQS032358,preferred,-1920x0,1.00,vrr,0" - ]; - }; -} +{...}: {wayland.windowManager.hyprland.settings.monitor = ["eDP-1,preferred,1920x0,1.00"];} diff --git a/hosts/Ronin/home.nix b/hosts/Ronin/home.nix index 11a61f40..67cedae0 100644 --- a/hosts/Ronin/home.nix +++ b/hosts/Ronin/home.nix @@ -1,20 +1,5 @@ -{ - config, - lib, - pkgs, - ... -}: { +{pkgs, ...}: { + imports = [../Scorch/home.nix]; home.packages = [(pkgs.writeShellScriptBin "ukaea-vpn-connect" "sudo ${pkgs.openfortivpn}/bin/openfortivpn -c ${./ukaea-vpn.conf}")]; - programs.git.userEmail = config.accounts.email.accounts.outlook.address; - accounts.email.accounts = { - proton.primary = lib.mkForce false; - outlook.primary = lib.mkForce true; - }; - wayland.windowManager.hyprland.settings = { - misc.force_default_wallpaper = 0; - monitor = [ - "eDP-1,1920x1080,2560x576,1.25" # => 1536x864 - "desc:Dell Inc. DELL P3223QE CCG8YN3,highres,0x0,1.5" # => 2560x1440 - ]; - }; + wayland.windowManager.hyprland.settings.monitor = ["eDP-1,1920x1080,2560x576,1.00"]; } diff --git a/hosts/Scorch/home.nix b/hosts/Scorch/home.nix index 215a60a9..70f22aa9 100644 --- a/hosts/Scorch/home.nix +++ b/hosts/Scorch/home.nix @@ -1 +1,15 @@ -{...}: {imports = [../Ronin/home.nix];} +{ + config, + lib, + ... +}: { + programs.git.userEmail = config.accounts.email.accounts.outlook.address; + accounts.email.accounts = { + proton.primary = lib.mkForce false; + outlook.primary = lib.mkForce true; + }; + wayland.windowManager.hyprland.settings = { + misc.force_default_wallpaper = 0; + monitor = ["desc:Dell Inc. DELL P3223QE CCG8YN3,highres,0x0,1.5"]; # => 2560x1440 + }; +}