Files
dotfiles/scripts/files/reset-dp.sh
T
2026-03-04 11:15:35 +00:00

12 lines
242 B
Bash
Executable File

#!/bin/bash
# Wait for Hyprland to fully initialize
sleep 2
OUTPUT="DP-1"
MODE="3840x2160@239.914001" # exact mode from wlr-randr
# Turn off and back on
wlr-randr --output "$OUTPUT" --off
sleep 1
wlr-randr --output "$OUTPUT" --mode "$MODE"