2019-12-02 17:13:12 +00:00
|
|
|
#!/bin/sh
|
2020-01-23 23:08:28 +00:00
|
|
|
|
2019-12-02 17:13:12 +00:00
|
|
|
xrandr --output DP-0 --off\
|
|
|
|
--output DP-1 --off\
|
|
|
|
--output DP-3 --off\
|
|
|
|
--output DP-4 --off\
|
|
|
|
--output DP-2 --primary --mode 2880x1800 --scale 0.8x0.8 --pos 0x0 --rotate normal\
|
2020-01-10 16:03:16 +00:00
|
|
|
--output HDMI-0 --pos 2880x0 --rotate normal
|
2019-12-02 17:13:12 +00:00
|
|
|
|
2020-01-23 23:08:28 +00:00
|
|
|
|
|
|
|
#xrandr | grep -q "3840" >/dev/null 2>&1;
|
|
|
|
#if [[ $? -ne 0 ]]; then
|
|
|
|
# if xrandr | grep -q "1920"; then
|
|
|
|
# xrandr --output HDMI-0 --mode 1920x1080 --pos 2880x0 --rotate normal --scale 1.5x1.5;
|
|
|
|
# fi
|
|
|
|
#fi
|
|
|
|
|
2019-12-02 17:13:12 +00:00
|
|
|
ROLL=$(($RANDOM%4));
|
|
|
|
|
|
|
|
if [ $ROLL -eq 0 ]; then
|
|
|
|
feh --bg-fill\
|
|
|
|
$HOME/Pictures/bg/midoriya.jpg\
|
|
|
|
$HOME/Pictures/bg/vegeta.jpg\
|
|
|
|
>/dev/null 2>&1
|
|
|
|
elif [ $ROLL -eq 1 ]; then
|
|
|
|
feh --bg-fill\
|
|
|
|
$HOME/Pictures/bg/ike_vs_bk.jpg\
|
|
|
|
$HOME/Pictures/bg/seiros_vs_nemesis.jpg\
|
|
|
|
>/dev/null 2>&1
|
|
|
|
elif [ $ROLL -eq 2 ]; then
|
|
|
|
feh --bg-fill\
|
|
|
|
$HOME/Pictures/bg/captainfalcon.jpg\
|
|
|
|
$HOME/Pictures/bg/link.jpg\
|
|
|
|
>/dev/null 2>&1
|
|
|
|
elif [ $ROLL -eq 3 ]; then
|
|
|
|
feh --bg-fill\
|
|
|
|
$HOME/Pictures/bg/fe8.jpg\
|
|
|
|
$HOME/Pictures/bg/micaiah.jpg\
|
|
|
|
>/dev/null 2>&1
|
|
|
|
fi
|