From 50b752553065354d730e11aa900f9ed8d340ce12 Mon Sep 17 00:00:00 2001 From: yage Date: Wed, 31 Jul 2024 23:17:45 -0600 Subject: [PATCH] fix some monitor settings --- bin/altaria/1080p-beeg-game | 2 +- bin/altaria/beeg-game | 2 +- bin/altaria/default | 4 ++-- bin/altaria/smol-game | 2 +- bin/altaria/xorg.zsh | 7 ++++--- 5 files changed, 9 insertions(+), 8 deletions(-) diff --git a/bin/altaria/1080p-beeg-game b/bin/altaria/1080p-beeg-game index 8d2d82f..30f7d6c 100755 --- a/bin/altaria/1080p-beeg-game +++ b/bin/altaria/1080p-beeg-game @@ -8,5 +8,5 @@ XRANDR_SET \ --screen-blank disable \ --background link-vs-gdizz.jpg \ --sound-effect gamedock \ - ${XRANDR_ARGS__livingroom__1080p[@]} --pos 0x0 --primary --rate 119.88 \ + ${XRANDR_ARGS__livingroom__1080p[@]} --pos 0x0 --primary \ ; diff --git a/bin/altaria/beeg-game b/bin/altaria/beeg-game index 1a522f6..4264c30 100755 --- a/bin/altaria/beeg-game +++ b/bin/altaria/beeg-game @@ -8,5 +8,5 @@ XRANDR_SET \ --screen-blank disable \ --background roy-art.jpg \ --sound-effect gamedock \ - ${XRANDR_ARGS__livingroom__2k[@]} --pos 0x0 --primary \ + ${XRANDR_ARGS__livingroom__1440p[@]} --pos 0x0 --primary \ ; diff --git a/bin/altaria/default b/bin/altaria/default index 2a8f4c3..143972f 100755 --- a/bin/altaria/default +++ b/bin/altaria/default @@ -5,8 +5,8 @@ case $MONITOR_CONFIGURATION in home ) XRANDR_SET \ --screen-blank disable \ - ${XRANDR_ARGS__smol__1080p[@]} --pos 0x0 --rate 120.00 --primary \ - ${XRANDR_ARGS__livingroom__4k[@]} --pos 0x0 --rate 120.00 \ + ${XRANDR_ARGS__smol__1440p[@]} --pos 0x0 --primary --rate 120.00 \ + ${XRANDR_ARGS__livingroom__1440p[@]} --pos 0x0 \ ; ;; diff --git a/bin/altaria/smol-game b/bin/altaria/smol-game index 9816d1c..f9d83da 100755 --- a/bin/altaria/smol-game +++ b/bin/altaria/smol-game @@ -7,6 +7,6 @@ XRANDR_SET \ --compositing enable \ --screen-blank disable \ --sound-effect gamedock \ - ${XRANDR_ARGS__smol__2k[@]} --pos 0x0 --rate 180.00 --primary \ + ${XRANDR_ARGS__smol__1440p[@]} --pos 0x0 --rate 180.00 --primary \ ; diff --git a/bin/altaria/xorg.zsh b/bin/altaria/xorg.zsh index 222b773..a74a8b8 100644 --- a/bin/altaria/xorg.zsh +++ b/bin/altaria/xorg.zsh @@ -6,16 +6,17 @@ export DISPLAY=:0 ##################################################################### XRANDR_RESOLUTION__4k='3840x2160' -XRANDR_RESOLUTION__2k='2560x1440' +XRANDR_RESOLUTION__1440p='2560x1440' XRANDR_RESOLUTION__1080p='1920x1080' XRANDR_OUTPUT__livingroom='HDMI-0' XRANDR_OUTPUT__smol='DP-4' XRANDR_ARGS__livingroom__4k=(--output $XRANDR_OUTPUT__livingroom --mode $XRANDR_RESOLUTION__4k --rate 119.88) -XRANDR_ARGS__livingroom__2k=(--output $XRANDR_OUTPUT__livingroom --mode $XRANDR_RESOLUTION__2k) -XRANDR_ARGS__livingroom__1080p=(--output $XRANDR_OUTPUT__livingroom --mode $XRANDR_RESOLUTION__1080p) +XRANDR_ARGS__livingroom__1440p=(--output $XRANDR_OUTPUT__livingroom --mode $XRANDR_RESOLUTION__1440p) +XRANDR_ARGS__livingroom__1080p=(--output $XRANDR_OUTPUT__livingroom --mode $XRANDR_RESOLUTION__1080p --rate 119.88) +XRANDR_ARGS__smol__1440p=(--output $XRANDR_OUTPUT__smol --mode $XRANDR_RESOLUTION__1440p) XRANDR_ARGS__smol__1080p=(--output $XRANDR_OUTPUT__smol --mode $XRANDR_RESOLUTION__1080p) #####################################################################