fixed screens in dedictated gpu mode

This commit is contained in:
moonleay 2023-12-26 13:22:11 +01:00
parent 3321abad40
commit a7cfd4a278
Signed by: moonleay
GPG key ID: 82667543CCD715FB
2 changed files with 6 additions and 4 deletions

View file

@ -6,6 +6,7 @@
# See https://wiki.hyprland.org/Configuring/Monitors/ # See https://wiki.hyprland.org/Configuring/Monitors/
#monitor=,preferred,auto,auto #monitor=,preferred,auto,auto
monitor=eDP-2,preferred,0x0,2 monitor=eDP-2,preferred,0x0,2
monitor=eDP-1,preferred,0x0,2
monitor=DP-1,3840x2160@120,1280x0,1.2 monitor=DP-1,3840x2160@120,1280x0,1.2
monitor=HDMI-A-1,preferred,4480x0,1 monitor=HDMI-A-1,preferred,4480x0,1
@ -35,6 +36,7 @@ env = CLUTTER_BACKEND=wayland
env = XDG_CURRENT_DESKTOP=Hyprland env = XDG_CURRENT_DESKTOP=Hyprland
env = XDG_SESSION_TYPE=wayland env = XDG_SESSION_TYPE=wayland
env = XDG_SESSION_DESKTOP=Hyprland env = XDG_SESSION_DESKTOP=Hyprland
#env = STEAM_FORCE_DESKTOPUI_SCALING, 1.5
xwayland { xwayland {
force_zero_scaling = true force_zero_scaling = true

View file

@ -1,13 +1,13 @@
preload = ~/Pictures/Wallpaper/4kwppr.jpg preload = ~/Pictures/Wallpaper/cityx4.png
#if more than one preload is desired then continue to preload other backgrounds #if more than one preload is desired then continue to preload other backgrounds
#preload = /path/to/next_image.png #preload = /path/to/next_image.png
# .. more preloads # .. more preloads
#set the default wallpaper(s) seen on inital workspace(s) --depending on the number of monitors used #set the default wallpaper(s) seen on inital workspace(s) --depending on the number of monitors used
wallpaper = eDP-2,~/Pictures/Wallpaper/4kwppr.jpg wallpaper = eDP-2,~/Pictures/Wallpaper/cityx4.png
wallpaper = DP-1,~/Pictures/Wallpaper/4kwppr.jpg wallpaper = DP-1,~/Pictures/Wallpaper/cityx4.png
wallpaper = HDMI-A-1,~/Pictures/Wallpaper/4kwppr.jpg wallpaper = HDMI-A-1,~/Pictures/Wallpaper/cityx4.png
#if more than one monitor in use, can load a 2nd image #if more than one monitor in use, can load a 2nd image
# .. more monitors # .. more monitors