my dotfiles for arch
at main 242 B view raw
1#!/bin/bash 2# Wait for Hyprland to fully initialize 3sleep 2 4 5OUTPUT="DP-1" 6MODE="3840x2160@239.914001" # exact mode from wlr-randr 7 8# Turn off and back on 9wlr-randr --output "$OUTPUT" --off 10sleep 1 11wlr-randr --output "$OUTPUT" --mode "$MODE"