xorg scripts for small monitor on altaria
This commit is contained in:
parent
8ccec170b9
commit
c3a86efa1b
10
bin/altaria/smol-game
Executable file
10
bin/altaria/smol-game
Executable file
@ -0,0 +1,10 @@
|
||||
#!/bin/zsh
|
||||
source ${0:a:h}/xorg.zsh
|
||||
|
||||
XRANDR_SET \
|
||||
--compositing disable \
|
||||
--screen-blank disable \
|
||||
--background captain-falcon.jpg \
|
||||
--sound-effect gamedock \
|
||||
${XRANDR_ARGS__smol__1080p[@]} --pos 0x0 --primary \
|
||||
;
|
@ -11,6 +11,7 @@ XRANDR_RESOLUTION__1080p='1920x1080'
|
||||
|
||||
XRANDR_OUTPUT__office='DP-0'
|
||||
XRANDR_OUTPUT__livingroom='HDMI-0'
|
||||
XRANDR_OUTPUT__smol='DP-4'
|
||||
|
||||
XRANDR_ARGS__office__4k=(--output $XRANDR_OUTPUT__office --mode $XRANDR_RESOLUTION__4k)
|
||||
#XRANDR_ARGS__office__2k=() # not available on office monitor
|
||||
@ -20,6 +21,8 @@ XRANDR_ARGS__livingroom__4k=(--output $XRANDR_OUTPUT__livingroom --mode $XRANDR_
|
||||
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__smol__1080p=(--output $XRANDR_OUTPUT__smol --mode $XRANDR_RESOLUTION__1080p)
|
||||
|
||||
#####################################################################
|
||||
|
||||
XRANDR_SET() {
|
||||
|
Loading…
Reference in New Issue
Block a user