about summary refs log tree commit diff
diff options
context:
space:
mode:
authorGriffin Smith <grfn@gws.fyi>2020-12-01T16·54-0500
committerglittershark <grfn@gws.fyi>2020-12-01T17·17+0000
commit0c24c622812a8c6b7afc3cc41f1e5ef65a340155 (patch)
tree63582757a815d0ae9ad56d8199c2413a4ffcdf2e
parent6aa6151146eb42a4ef5a1d770bdbfbc281399d4f (diff)
feat(gs/system): Update xrandr layout for yeren r/1973
At some point I should just convert this into an option that gets set
per-machine...but whatever.

Change-Id: I745fc5126469e887f8657e990d14a7e8b5085330
Reviewed-on: https://cl.tvl.fyi/c/depot/+/2214
Reviewed-by: glittershark <grfn@gws.fyi>
Tested-by: BuildkiteCI
-rw-r--r--users/glittershark/system/home/modules/i3.nix8
1 files changed, 5 insertions, 3 deletions
diff --git a/users/glittershark/system/home/modules/i3.nix b/users/glittershark/system/home/modules/i3.nix
index e5f9cb5303f2..54956e469e2e 100644
--- a/users/glittershark/system/home/modules/i3.nix
+++ b/users/glittershark/system/home/modules/i3.nix
@@ -10,9 +10,11 @@ let
   screenlayout = {
     home = pkgs.writeShellScript "screenlayout_home.sh" ''
       xrandr \
-        --output eDP1 --mode 3840x2160 --pos 0x0 --rotate normal \
-        --output DP1 --primary --mode 3840x2160 --pos 0x2160 --rotate normal \
-        --output DP2 --off --output DP3 --off --output VIRTUAL1 --off
+        --output eDP-1 --mode 1920x1200 --pos 0x2160 --rotate normal \
+        --output DP-1 --off \
+        --output DP-2 --off \
+        --output DP-3 --mode 3840x2160 --pos 0x0 --rotate normal \
+        --output DP-4 --off
     '';
   };
 in {