This repository has been archived on 2026-10-07. You can view files and clone it. You cannot open issues or pull requests or push a commit.
Files
omarchy/install/first-run/gdk-scale.sh
T

5 lines
230 B
Bash

# Set the default GDK_SCALE from what the monitor is currently reporting
scale=$(omarchy-hyprland-monitor-scaling)
sed -i -E "s|^local omarchy_gdk_scale = .*|local omarchy_gdk_scale = ${scale}|" "$HOME/.config/hypr/monitors.lua"