From 00ab2f5e2d95f09c691c70fee79538bfd61cc061 Mon Sep 17 00:00:00 2001 From: Lauren Lagarde Date: Sun, 30 Mar 2025 15:18:03 -0500 Subject: [PATCH] More fighting with monitor layouts --- i3.nix | 6 +++++- systems/latitude-e5591.nix | 10 ++++++++++ 2 files changed, 15 insertions(+), 1 deletion(-) diff --git a/i3.nix b/i3.nix index 0e6a2fc..2d574f5 100644 --- a/i3.nix +++ b/i3.nix @@ -115,7 +115,11 @@ # Restart i3 In Place bindsym $mod+Shift+r restart - + + # Reload Monitors + bindsym $mod+Control+Mod1+Shift+x exec xrandr --auto --rate 30 + bindsym $mod+Control+Mod1+Shift+a exec autorandr --cycle + # Lock Screen #exec --no-startup-id xidlehook --not-when-fullscreen --not-when-audio --timer normal 30 ~/Applications/lock_then_off.sh #bindsym $mod+Control+Mod1+Shift+l exec ~/Applications/lock_then_off.sh diff --git a/systems/latitude-e5591.nix b/systems/latitude-e5591.nix index 7e1cb72..d140900 100644 --- a/systems/latitude-e5591.nix +++ b/systems/latitude-e5591.nix @@ -18,6 +18,16 @@ i3-msg restart ''; }; + "latitude/desk+" = { + executable = true; + text = '' + xrandr \ + --output eDP-1 --mode 1920x1080 --left-of DP-2-2 \ + --output DP-2-1 --mode 3840x2160 --rate 30 --right-of DP-2-2 \ + --output DP-2-2 --mode 3840x2160 --rate 30 --primary + i3-msg restart + ''; + }; "latitude/standalone" = { executable = true; text = ''