Browse Source

Delete WallpaperSwap.sh

website
Aidan 7 years ago
parent
commit
f2df10b53f
1 changed files with 0 additions and 27 deletions
  1. +0
    -27
      scripts/WallpaperSwap.sh

+ 0
- 27
scripts/WallpaperSwap.sh View File

@ -1,27 +0,0 @@
#!/bin/sh
# go to the backgrounds folder for custom images
cd /usr/share/backgrounds/images
# fetch custom RIT backgrounds
# note: resolv.conf is not yet set up, so we have to use the hosting ip directly
su -c "wget --header=\"Host: www.cs.rit.edu\" http://129.21.30.99/~ear7631/RIT_1280x1024.png"
su -c "wget --header=\"Host: www.cs.rit.edu\" http://129.21.30.99/~ear7631/RIT_2048x1536.png"
su -c "wget --header=\"Host: www.cs.rit.edu\" http://129.21.30.99/~ear7631/RIT_1920x1200.png"
# normalish (1280 x 1024)
su -c "cp /usr/share/backgrounds/lovelock/default-stripes/normalish/lovelock.png /usr/share/backgrounds/lovelock/default-stripes/normalish/lovelock.png.backup"
su -c "rm /usr/share/backgrounds/lovelock/default-stripes/normalish/lovelock.png"
su -c "cp /usr/share/backgrounds/images/RIT_1280x1024.png /usr/share/backgrounds/lovelock/default-stripes/normalish/lovelock.png"
# standard (2048x1536)
su -c "cp /usr/share/backgrounds/lovelock/default-stripes/standard/lovelock.png /usr/share/backgrounds/lovelock/default-stripes/standard/lovelock.png.backup"
su -c "rm /usr/share/backgrounds/lovelock/default-stripes/standard/lovelock.png"
su -c "cp /usr/share/backgrounds/images/RIT_2048x1536.png /usr/share/backgrounds/lovelock/default-stripes/standard/lovelock.png"
# wide (1920x1200)
su -c "cp /usr/share/backgrounds/lovelock/default-stripes/wide/lovelock.png /usr/share/backgrounds/lovelock/default-stripes/wide/lovelock.png.backup"
su -c "rm /usr/share/backgrounds/lovelock/default-stripes/wide/lovelock.png"
su -c "cp /usr/share/backgrounds/images/RIT_1920x1200.png /usr/share/backgrounds/lovelock/default-stripes/wide/lovelock.png"

Loading…
Cancel
Save