altaria desktop functions for new monitor config
This commit is contained in:
@ -1,22 +1,10 @@
|
||||
#!/bin/zsh
|
||||
source ${0:a:h}/xorg.zsh
|
||||
|
||||
OUTPUT=DP-2
|
||||
|
||||
: \
|
||||
&& scwrypts desktop/xrandr/disconnect-all \
|
||||
&& xrandr \
|
||||
--output $OUTPUT \
|
||||
--mode 2560x1440 --rate 119.88 \
|
||||
--rotate normal \
|
||||
--pos 0x0 \
|
||||
&& sleep 4 \
|
||||
&& xrandr --output $OUTPUT --primary \
|
||||
XRANDR_SET \
|
||||
--compositing disable \
|
||||
--screen-blank disable \
|
||||
--background roy-art.jpg \
|
||||
--sound-effect gamedock \
|
||||
${XRANDR_ARGS__livingroom__2k[@]} --pos 0x0 --primary \
|
||||
;
|
||||
|
||||
pkill compton
|
||||
scwrypts desktop/pulse-audio/set-default-sink -- hdmi --id 0 --profile output:hdmi-surround71-extra2
|
||||
|
||||
scwrypts desktop/screen-blank -- disable
|
||||
scwrypts desktop/i3/set-background -- roy-art.jpg
|
||||
scwrypts desktop/play-sound -- gamedock
|
||||
|
Reference in New Issue
Block a user