22 lines
584 B
Bash
Executable File
22 lines
584 B
Bash
Executable File
#!/bin/zsh
|
|
source ${0:a:h}/xorg.zsh
|
|
|
|
case $MONITOR_CONFIGURATION in
|
|
home )
|
|
XRANDR_SET \
|
|
--screen-blank disable \
|
|
${XRANDR_ARGS__smol__1440p[@]} --pos 0x0 --primary --rate 120.00 \
|
|
${XRANDR_ARGS__livingroom__1440p[@]} --pos 0x0 \
|
|
;
|
|
|
|
;;
|
|
unknown )
|
|
echo 'unknown state; using default configuration to prevent monitor issues'
|
|
xrandr --output $(xrandr | grep ' connected' | awk '{print $1;}') --primary
|
|
scwrypts desktop i3 set background -- $(scwrypts -n get theme).jpg
|
|
$DOTWRYN/bin/polybar
|
|
scwrypts desktop play sound -- login
|
|
return 0
|
|
;;
|
|
esac
|