diff --git a/bin/.bin/changepaper.sh b/bin/.bin/changepaper.sh index b049744..efc446e 100755 --- a/bin/.bin/changepaper.sh +++ b/bin/.bin/changepaper.sh @@ -10,7 +10,7 @@ export DISPLAY=:0.0 export XAUTHORITY=/home/powellc/.Xauthority # Choices: astrobin,natgeo,nasa,unsplash -BASEDIR="$HOME/var/backgrounds/unsplash/" +BASEDIR="$HOME/var/backgrounds/bing/" SEARX_BASEDIR="$HOME/var/backgrounds/natgeo/" # Get daily NatGeo POTD diff --git a/bin/.bin/get_unsplash_potd.py b/bin/.bin/get_unsplash_potd.py index e658c16..325eca2 100755 --- a/bin/.bin/get_unsplash_potd.py +++ b/bin/.bin/get_unsplash_potd.py @@ -15,7 +15,7 @@ if os.path.isfile(target_path): exit() root = "https://source.unsplash.com" -iotd_uri = f"{root}/random/daily" +iotd_uri = f"{root}/random" img = requests.get(iotd_uri, stream=True) handle = open(target_path, "wb") diff --git a/screenlayout/.screenlayout/titan-one.sh b/screenlayout/.screenlayout/titan-one.sh index 1564b79..20982fc 100755 --- a/screenlayout/.screenlayout/titan-one.sh +++ b/screenlayout/.screenlayout/titan-one.sh @@ -1,5 +1,3 @@ #!/bin/sh -export DISPLAY=:0 xrandr --output HDMI-2 --off --output HDMI-1 --off --output DP-1 --off --output eDP-1 --primary --mode 1920x1080 --pos 0x0 --rotate normal --output DP-2 --off -~/.screenlayout/keyboard-and-bg.sh -i3 restart +changepaper.sh diff --git a/screenlayout/.screenlayout/titan-two.sh b/screenlayout/.screenlayout/titan-two.sh index 5c4641e..5579b14 100755 --- a/screenlayout/.screenlayout/titan-two.sh +++ b/screenlayout/.screenlayout/titan-two.sh @@ -1,3 +1,3 @@ #!/bin/sh -changepaper.sh xrandr --output HDMI-2 --off --output HDMI-1 --off --output DP-1 --mode 2560x1440 --pos 0x0 --rotate normal --output eDP-1 --primary --mode 1920x1080 --pos 2560x184 --rotate normal --output DP-2 --off +changepaper.sh