fix some monitor settings

This commit is contained in:
Wryn (yage) Wagner 2024-07-31 23:17:45 -06:00
parent 3865dec90e
commit 50b7525530
5 changed files with 9 additions and 8 deletions

View File

@ -8,5 +8,5 @@ XRANDR_SET \
--screen-blank disable \ --screen-blank disable \
--background link-vs-gdizz.jpg \ --background link-vs-gdizz.jpg \
--sound-effect gamedock \ --sound-effect gamedock \
${XRANDR_ARGS__livingroom__1080p[@]} --pos 0x0 --primary --rate 119.88 \ ${XRANDR_ARGS__livingroom__1080p[@]} --pos 0x0 --primary \
; ;

View File

@ -8,5 +8,5 @@ XRANDR_SET \
--screen-blank disable \ --screen-blank disable \
--background roy-art.jpg \ --background roy-art.jpg \
--sound-effect gamedock \ --sound-effect gamedock \
${XRANDR_ARGS__livingroom__2k[@]} --pos 0x0 --primary \ ${XRANDR_ARGS__livingroom__1440p[@]} --pos 0x0 --primary \
; ;

View File

@ -5,8 +5,8 @@ case $MONITOR_CONFIGURATION in
home ) home )
XRANDR_SET \ XRANDR_SET \
--screen-blank disable \ --screen-blank disable \
${XRANDR_ARGS__smol__1080p[@]} --pos 0x0 --rate 120.00 --primary \ ${XRANDR_ARGS__smol__1440p[@]} --pos 0x0 --primary --rate 120.00 \
${XRANDR_ARGS__livingroom__4k[@]} --pos 0x0 --rate 120.00 \ ${XRANDR_ARGS__livingroom__1440p[@]} --pos 0x0 \
; ;
;; ;;

View File

@ -7,6 +7,6 @@ XRANDR_SET \
--compositing enable \ --compositing enable \
--screen-blank disable \ --screen-blank disable \
--sound-effect gamedock \ --sound-effect gamedock \
${XRANDR_ARGS__smol__2k[@]} --pos 0x0 --rate 180.00 --primary \ ${XRANDR_ARGS__smol__1440p[@]} --pos 0x0 --rate 180.00 --primary \
; ;

View File

@ -6,16 +6,17 @@ export DISPLAY=:0
##################################################################### #####################################################################
XRANDR_RESOLUTION__4k='3840x2160' XRANDR_RESOLUTION__4k='3840x2160'
XRANDR_RESOLUTION__2k='2560x1440' XRANDR_RESOLUTION__1440p='2560x1440'
XRANDR_RESOLUTION__1080p='1920x1080' XRANDR_RESOLUTION__1080p='1920x1080'
XRANDR_OUTPUT__livingroom='HDMI-0' XRANDR_OUTPUT__livingroom='HDMI-0'
XRANDR_OUTPUT__smol='DP-4' XRANDR_OUTPUT__smol='DP-4'
XRANDR_ARGS__livingroom__4k=(--output $XRANDR_OUTPUT__livingroom --mode $XRANDR_RESOLUTION__4k --rate 119.88) 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__1440p=(--output $XRANDR_OUTPUT__livingroom --mode $XRANDR_RESOLUTION__1440p)
XRANDR_ARGS__livingroom__1080p=(--output $XRANDR_OUTPUT__livingroom --mode $XRANDR_RESOLUTION__1080p) 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) XRANDR_ARGS__smol__1080p=(--output $XRANDR_OUTPUT__smol --mode $XRANDR_RESOLUTION__1080p)
##################################################################### #####################################################################