Moved and renamed screensettings scripts

This commit is contained in:
Tobias Kessels
2025-10-01 12:25:09 +02:00
parent 6ef0ef29a1
commit 9518290544
3 changed files with 23 additions and 0 deletions

View File

@@ -0,0 +1,4 @@
#!/bin/bash
xrandr --output DVI-I-1 --mode 1920x1080 --rotate left --pos 0x0
xrandr --output DP-1 --primary --mode 2560x1440 --pos 1080x350
xrandr --output DP-2 --mode 2560x1440 --pos 3640x350

View File

@@ -0,0 +1,23 @@
#!/bin/bash
# Display configuration script
# Run this anytime you want to restore your display settings
echo "Configuring displays..."
# Primary display (laptop screen)
xrandr --output eDP-1 --mode 3840x2160 --pos 0x0 --primary
# External display at native resolution with proper positioning
if xrandr | grep -q "DP-1-3 connected"; then
echo "Configuring external display DP-1-3..."
xrandr --output DP-1-3 --mode 2240x1400 --pos 3840x760 --scale 1x1
echo "External display configured:"
echo " - Native resolution: 2240x1400"
echo " - Position: bottom-aligned with laptop screen"
echo " - No scaling artifacts"
echo " - Mouse can move seamlessly between screens"
else
echo "External display DP-1-3 not connected"
fi
echo "Display configuration complete!"

View File

@@ -0,0 +1,2 @@
#!/bin/bash
xrandr --output eDP-1 --mode 1920x1080