Forráskód Böngészése

Rename bin scripts

Colin Powell 5 éve
szülő
commit
7bf19cb825
4 módosított fájl, 0 hozzáadás és 28 törlés
  1. 0 28
      bin/.bin/astronomypotd.sh
  2. 0 0
      bin/.bin/changepaper
  3. 0 0
      bin/.bin/checkmail
  4. 0 0
      bin/.bin/syncmail

+ 0 - 28
bin/.bin/astronomypotd.sh

@@ -1,28 +0,0 @@
-#!/bin/bash
-# This Script downloads National Geographic Photo of the day, and sets it as desktop background (gnome, unity)
-# Copyright (C) 2012 Saman Barghi - All Rights Reserved
-# Permission to copy, modify, and distribute is granted under GPLv3
-# Last Revised 22 May 2019
-#######################
-
-#Change directory to where the script resides.
-BASEDIR="$HOME/var/inbox/apod_photos"
-cd $BASEDIR
-#######################
-
-#getting the image URL
-img="$(curl https://api.nasa.gov/planetary/apod\?api_key=AdfgdnmmInYgpDMEq3ShMLKjJ7DZ7jyUcgLHWdgw | jq .hdurl | tr -d \")"
-
-#check to see if there is any wallpaper to download
-if [ -n "$img" ]
-then
-	img_file=`echo $img | cut -d/ -f 7 | tr -d \"`
-	curl $img > $img_file
-	#set the current image as wallpaper
-	#feh --bg-scale $BASEDIR/$img_file
-	##link slim background to new image
-	#rm /usr/share/slim/themes/default/background.jpg
-	#ln -s $BASEDIR/$img_file /usr/share/slim/themes/default/background.jpg
-else
-	echo "No Wallpaper today"
-fi

+ 0 - 0
bin/.bin/changepaper.sh → bin/.bin/changepaper


+ 0 - 0
bin/.bin/checkmail.sh → bin/.bin/checkmail


+ 0 - 0
bin/.bin/syncmail.sh → bin/.bin/syncmail