Move legacy systemscripts into scripts/display and scripts/setup. Rehome stray top-level tools into their domain folders. Archive narrow experiments and outdated codegrab leftovers. Remove empty legacy directories and stale root files. Expand macOS metadata ignores and update the README with the refined repository structure.
23 lines
793 B
Bash
Executable File
23 lines
793 B
Bash
Executable File
#!/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!" |