2020-09-17 22:26:20 +00:00
|
|
|
#!/bin/sh
|
2021-02-25 01:15:23 +00:00
|
|
|
source "$HOME/.config/wryn/env/env"
|
2020-09-17 22:26:20 +00:00
|
|
|
|
|
|
|
RESOLUTION='1920x1080';
|
|
|
|
|
|
|
|
[ $1 ] && RESOLUTION="$1";
|
|
|
|
|
|
|
|
CURRENT_MONITOR=$(xrandr | grep 'primary' | awk '{print $1;}' | tail -n 1);
|
|
|
|
|
|
|
|
xrandr\
|
|
|
|
--output "$CURRENT_MONITOR" --primary\
|
|
|
|
--rotate normal\
|
|
|
|
--pos 0x0\
|
|
|
|
--mode $RESOLUTION\
|
|
|
|
;
|
|
|
|
|
|
|
|
for display in $(xrandr | grep connect | awk '{print $1;}' | grep -v "$CURRENT_MONITOR"); do
|
|
|
|
xrandr --output $display --off;
|
|
|
|
done;
|
|
|
|
|
2021-02-25 01:15:23 +00:00
|
|
|
"$DOTWRYN/bin/desktop/feh/randomize-background.sh"
|
2020-11-17 22:11:42 +00:00
|
|
|
[ -f $HOME/.config/wryn/sfx ] && $HOME/.config/wryn/sfx gamedock
|