Trying to figure out scaling

This commit is contained in:
2026-06-07 20:38:55 +01:00
parent deb94ccecf
commit c6d9fc2cc8
2 changed files with 2 additions and 42 deletions
-40
View File
@@ -1,14 +1,6 @@
-- See https://wiki.hyprland.org/Configuring/Monitors/ -- See https://wiki.hyprland.org/Configuring/Monitors/
-- List current monitors and resolutions possible: hyprctl monitors -- List current monitors and resolutions possible: hyprctl monitors
-- Format: monitor = [port], resolution, position, scale
-- Optimized for retina-class 2x displays, like 13" 2.8K, 27" 5K, 32" 6K.
-- hl.monitor({
-- output = "eDP-1",
-- mode = "3840x2160",
-- position = "0x0",
-- scale = 2,
-- })
hl.monitor({ hl.monitor({
output = "desc:Samsung Electric Company LU28R55 HNMN500475", output = "desc:Samsung Electric Company LU28R55 HNMN500475",
mode = "3840x2160", mode = "3840x2160",
@@ -21,35 +13,3 @@ hl.monitor({
position = "auto-right", position = "auto-right",
scale = 1.5, scale = 1.5,
}) })
-- hl.monitor({
-- output = "HDMI-A-1",
-- mode = "preferred",
-- position = "auto",
-- scale = "auto",
-- })
-- Good compromise for 27" or 32" 4K monitors (but fractional!)
-- hl.env("GDK_SCALE", 1.75)
-- hl.monitor({
-- mode = "preferred",
-- position = "auto",
-- scale = 1.6,
-- })
-- Straight 1x setup for low-resolution displays like 1080p or 1440p
-- Or for ultrawide monitors like 34" 3440x1440 or 49" 5120x1440
-- hl.env("GDK_SCALE", 1)
-- hl.monitor({
-- mode = "preferred",
-- position = "auto",
-- scale = 1,
-- })
-- Portrait/rotated secondary monitor (transform: 1 = 90°, 3 = 270°)
-- hl.monitor({
-- output = "DP-2",
-- mode = "preferred",
-- position = "auto",
-- scale = 1,
-- transform = 1,
-- })
+2 -2
View File
@@ -4,10 +4,10 @@
export STATION_PATH=$HOME/.local/share/station export STATION_PATH=$HOME/.local/share/station
export PATH=$STATION_PATH/bin:$PATH export PATH=$STATION_PATH/bin:$PATH
export GDK_SCALE=2 # export GDK_SCALE=2
# export QT_AUTO_SCALE_FACTOR=1 # export QT_AUTO_SCALE_FACTOR=1
# export QT_ENABLE_HIGHDPI_SCALING=1 # export QT_ENABLE_HIGHDPI_SCALING=1
export QT_SCALE_FACTOR=1.5 # export QT_SCALE_FACTOR=1.5
# Set default terminal and editor # Set default terminal and editor
source ~/.config/uwsm/default source ~/.config/uwsm/default