More fighting with monitor layouts

This commit is contained in:
Lauren Lagarde 2025-03-30 15:18:03 -05:00
parent 6172f45cc1
commit 00ab2f5e2d
2 changed files with 15 additions and 1 deletions

6
i3.nix
View File

@ -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

View File

@ -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 = ''