[scripts] added dpi to display resolution scripts

This commit is contained in:
Afonso Franco 2024-09-28 16:43:19 +01:00
parent 178339e02c
commit 72d4dcfc44
Signed by: afonso
SSH key fingerprint: SHA256:PQTRDHPH3yALEGtHXnXBp3Orfcn21pK20t0tS1kHg54
2 changed files with 2 additions and 0 deletions

View file

@ -1,2 +1,3 @@
#!/bin/sh #!/bin/sh
nvidia-settings --assign CurrentMetaMode="DP-0: nvidia-auto-select +0+0 {viewportin=1920x1440, AllowGSYNCCompatible=On}, HDMI-0: nvidia-auto-select +1920+0 {rotation=right}" nvidia-settings --assign CurrentMetaMode="DP-0: nvidia-auto-select +0+0 {viewportin=1920x1440, AllowGSYNCCompatible=On}, HDMI-0: nvidia-auto-select +1920+0 {rotation=right}"
xrandr --dpi 109

View file

@ -1,2 +1,3 @@
#!/bin/sh #!/bin/sh
nvidia-settings --assign CurrentMetaMode="DP-0: nvidia-auto-select +0+0 {AllowGSYNCCompatible=On}, HDMI-0: nvidia-auto-select +2560+0 {rotation=right}" nvidia-settings --assign CurrentMetaMode="DP-0: nvidia-auto-select +0+0 {AllowGSYNCCompatible=On}, HDMI-0: nvidia-auto-select +2560+0 {rotation=right}"
xrandr --dpi 109