style(hyprland): set default monitor to 'preferred' resolution
Updated the default Hyprland monitor configuration to 'monitor=,preferred,auto,1'. This ensures the best resolution is selected automatically while maintaining a 1x scale by default.
This commit is contained in:
@@ -13,7 +13,7 @@
|
|||||||
# Straight 1x setup for low-resolution displays like 1080p or 1440p
|
# Straight 1x setup for low-resolution displays like 1080p or 1440p
|
||||||
# Or for ultrawide monitors like 34" 3440x1440 or 49" 5120x1440
|
# Or for ultrawide monitors like 34" 3440x1440 or 49" 5120x1440
|
||||||
env = GDK_SCALE,1
|
env = GDK_SCALE,1
|
||||||
monitor=,highres,auto,1
|
monitor=,preferred,auto,1
|
||||||
|
|
||||||
# Portrait/rotated secondary monitor (transform: 1 = 90°, 3 = 270°)
|
# Portrait/rotated secondary monitor (transform: 1 = 90°, 3 = 270°)
|
||||||
# monitor = DP-2, preferred, auto, 1, transform, 1
|
# monitor = DP-2, preferred, auto, 1, transform, 1
|
||||||
|
|||||||
@@ -168,11 +168,12 @@
|
|||||||
# Live-ISO-only welcome. Pops a notification a few seconds
|
# Live-ISO-only welcome. Pops a notification a few seconds
|
||||||
# after the graphical session is up and opens a terminal
|
# after the graphical session is up and opens a terminal
|
||||||
# parked at the installer command, so the user never has to
|
# parked at the installer command, so the user never has to
|
||||||
# hunt for it. Force highres monitor detection as some
|
# hunt for it. Force preferred monitor detection as some
|
||||||
# hardware defaults to 1024x768.
|
# hardware defaults to 1024x768.
|
||||||
wayland.windowManager.hyprland.extraConfig = nixpkgs.lib.mkAfter ''
|
wayland.windowManager.hyprland.extraConfig = nixpkgs.lib.mkAfter ''
|
||||||
monitor = , highres, auto, 1
|
monitor = , preferred, auto, 1
|
||||||
exec-once = sh -c 'sleep 3; notify-send -u critical -t 0 "Welcome to Nomarchy" "Run \`sudo /etc/install.sh\` in the open terminal — or \`--dry-run\` to preview."'
|
exec-once = sh -c 'sleep 3; notify-send -u critical -t 0 "Welcome to Nomarchy" "Run \`sudo /etc/install.sh\` in the open terminal — or \`--dry-run\` to preview."'
|
||||||
|
|
||||||
exec-once = sh -c 'sleep 4; alacritty --title "Nomarchy Installer" -e bash -lc "echo; echo \"Welcome to the Nomarchy live ISO.\"; echo; echo \" sudo /etc/install.sh # install\"; echo \" sudo /etc/install.sh --dry-run # preview only\"; echo \" sudo /etc/install.sh --resume # resume after an interrupt\"; echo; exec bash"'
|
exec-once = sh -c 'sleep 4; alacritty --title "Nomarchy Installer" -e bash -lc "echo; echo \"Welcome to the Nomarchy live ISO.\"; echo; echo \" sudo /etc/install.sh # install\"; echo \" sudo /etc/install.sh --dry-run # preview only\"; echo \" sudo /etc/install.sh --resume # resume after an interrupt\"; echo; exec bash"'
|
||||||
'';
|
'';
|
||||||
};
|
};
|
||||||
|
|||||||
Reference in New Issue
Block a user