Update for the new monitors.lua
This commit is contained in:
@@ -1,3 +1,4 @@
|
||||
# Set the default GDK_SCALE from what the monitor is currently reporting
|
||||
|
||||
sed -i -E "s|^([[:space:]]*env[[:space:]]*=[[:space:]]*GDK_SCALE,).*|\\1$(omarchy-hyprland-monitor-scaling)|" ~/.config/hypr/monitors.conf
|
||||
scale=$(omarchy-hyprland-monitor-scaling)
|
||||
sed -i -E "s|^local omarchy_gdk_scale = .*|local omarchy_gdk_scale = ${scale}|" "$HOME/.config/hypr/monitors.lua"
|
||||
|
||||
Reference in New Issue
Block a user