neo: add monitor scripts

This commit is contained in:
Sean Buckley 2021-06-16 01:23:14 -04:00
parent f12ef42676
commit a17e288739

View file

@ -14,6 +14,28 @@
vmware-horizon-client vmware-horizon-client
wine wine
winetricks winetricks
(writeShellScriptBin "work" ''
xrandr \
--output DisplayPort-0 --mode 2560x1440 -r 144 --pos 0x0 \
--output DisplayPort-1 --mode 2560x1440 -r 144 --pos 2560x0 \
--output DisplayPort-2 --off \
--output HDMI-A-0 --off \
'')
(writeShellScriptBin "game" ''
xrandr \
--output DisplayPort-0 --mode 2560x1440 -r 165 --pos 0x0 \
--output DisplayPort-1 --off \
--output DisplayPort-2 --off \
--output HDMI-A-0 --off \
'')
(writeShellScriptBin "tv" ''
xrandr \
--output DisplayPort-0 --off \
--output DisplayPort-1 --off \
--output DisplayPort-2 --off \
--output HDMI-A-0 --mode 1920x1080 -r 60 --pos 0x0 \
'')
]; ];
services = { services = {