From 7bf19cb825366abc2ccd773fd4915893b4ee6325 Mon Sep 17 00:00:00 2001 From: Colin Powell Date: Wed, 11 Mar 2020 23:51:24 -0400 Subject: [PATCH] Rename bin scripts --- bin/.bin/astronomypotd.sh | 28 ------------------------ bin/.bin/{changepaper.sh => changepaper} | 0 bin/.bin/{checkmail.sh => checkmail} | 0 bin/.bin/{syncmail.sh => syncmail} | 0 4 files changed, 28 deletions(-) delete mode 100755 bin/.bin/astronomypotd.sh rename bin/.bin/{changepaper.sh => changepaper} (100%) rename bin/.bin/{checkmail.sh => checkmail} (100%) rename bin/.bin/{syncmail.sh => syncmail} (100%) diff --git a/bin/.bin/astronomypotd.sh b/bin/.bin/astronomypotd.sh deleted file mode 100755 index 06e3243..0000000 --- a/bin/.bin/astronomypotd.sh +++ /dev/null @@ -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 diff --git a/bin/.bin/changepaper.sh b/bin/.bin/changepaper similarity index 100% rename from bin/.bin/changepaper.sh rename to bin/.bin/changepaper diff --git a/bin/.bin/checkmail.sh b/bin/.bin/checkmail similarity index 100% rename from bin/.bin/checkmail.sh rename to bin/.bin/checkmail diff --git a/bin/.bin/syncmail.sh b/bin/.bin/syncmail similarity index 100% rename from bin/.bin/syncmail.sh rename to bin/.bin/syncmail