move grammy to Makefile
This commit is contained in:
parent
d90b6ef654
commit
6c3c2844df
25
Makefile
25
Makefile
@ -160,6 +160,31 @@ arch-yay:
|
||||
audacious-skins:
|
||||
curl https://archive.org/download/winampskin_Sailor_Moon_Gang/Sailor_Moon_Gang.wsz -o /usr/share/audacious/Skins/Sailor_Moon_Gang.wsz
|
||||
|
||||
# i made this script to fetch icons for my grandmother and put them in icons/
|
||||
# so i wouldn't have to fetch the icons for her desktop when i made her a new
|
||||
# system.
|
||||
# i could have downloaded all the icons and put them into a repo for her but
|
||||
# this uses less space
|
||||
|
||||
# all these icons are on the internet archive so if the local sites change
|
||||
# they'll still be available
|
||||
grammy-icons:
|
||||
mkdir -p "~/Pictures/icons/"
|
||||
cd "~/Pictures/icons/"
|
||||
curl -o "989wclz.com.png" "https://web.archive.org/web/20200629174002if_/https://989wclz.com/wp-content/themes/wclz/img/touch-icon-144.png"
|
||||
curl -o "amazon.com.ico" "https://web.archive.org/web/20200718050400if_/https://www.amazon.com/favicon.ico"
|
||||
curl -o "bangordailynews.com.png" "http://web.archive.org/web/20200721195123if_/https://i0.wp.com/bdn-data.s3.amazonaws.com/uploads/2020/06/BDN-logo_green-3-1.png"
|
||||
curl -o "theguardian.com.png" "https://web.archive.org/web/20200720041457if_/https://assets.guim.co.uk/images/favicons/fee5e2d638d1c35f6d501fa397e53329/152x152.png"
|
||||
curl -o "centralmaine.com.png" "https://web.archive.org/web/20200720023956if_/https://multifiles.pressherald.com/uploads/sites/2/2014/06/apple-touch-icon-iphone-retina-display.png"
|
||||
curl -o "dictionary.com.png" "https://web.archive.org/web/20200719135458if_/https://www.dictionary.com/hp-assets/dcom_favicon-1bff2f1b49c077ed504e55c3649f2a4b.png"
|
||||
curl -o "google.com.jpg" "https://web.archive.org/web/20170621105937if_/https://yt3.ggpht.com/-v0soe-ievYE/AAAAAAAAAAI/AAAAAAAAAAA/OixOH_h84Po/s900-c-k-no/photo.jpg"
|
||||
curl -o "longfellowsgreenhouses.com.jpg" "https://web.archive.org/web/20200718173559im_/https://longfellowsgreenhouses.com/wp-content/uploads/2020/03/Longfellows-Logo-Light-Green.jpg"
|
||||
curl -o "mainepublic.org.png" "https://d3kle7qwymxpcy.cloudfront.net/images/broadcasts/e5/8e/30457/1/c300.png"
|
||||
curl -o "news.google.com.png" "https://upload.wikimedia.org/wikipedia/commons/0/0b/Google_News_icon.png"
|
||||
curl -o "newscentermaine.com.png" "https://web.archive.org/web/20200721190548if_/https://www.newscentermaine.com/assets/favicons/WCSH.png?ver=2.4.7.4"
|
||||
curl -o "pressherald.com.png" "https://multifiles.pressherald.com/uploads/sites/4/2014/06/apple-touch-icon-iphone-retina-display.png"
|
||||
curl -o "weather.com.png" "https://upload.wikimedia.org/wikipedia/commons/thumb/7/77/The_Weather_Channel_logo_2005-present.svg/1200px-The_Weather_Channel_logo_2005-present.svg.png"
|
||||
|
||||
# nmap 7.80 is the last Free nmap release
|
||||
nmap:
|
||||
mkdir -p ~/src
|
||||
|
@ -1,31 +0,0 @@
|
||||
#!/bin/sh
|
||||
# icon fetcher
|
||||
# i made this script to fetch icons for my grandmother and put them in icons/
|
||||
# so i wouldn't have to fetch the icons for her desktop when i made her a new
|
||||
# system.
|
||||
# i could have downloaded all the icons and put them into a repo for her but
|
||||
# this uses less space
|
||||
|
||||
# all these icons are on the internet archive so if the local sites change
|
||||
# they'll still be available
|
||||
|
||||
icons_folder="~/Pictures/icons/"
|
||||
|
||||
! which curl && printf "$0: missing dependency: curl\n" >/dev/stderr && exit 1
|
||||
|
||||
mkdir -p "$icons_folder"
|
||||
cd "$icons_folder"
|
||||
|
||||
curl -o "989wclz.com.png" "https://web.archive.org/web/20200629174002if_/https://989wclz.com/wp-content/themes/wclz/img/touch-icon-144.png"
|
||||
curl -o "amazon.com.ico" "https://web.archive.org/web/20200718050400if_/https://www.amazon.com/favicon.ico"
|
||||
curl -o "bangordailynews.com.png" "http://web.archive.org/web/20200721195123if_/https://i0.wp.com/bdn-data.s3.amazonaws.com/uploads/2020/06/BDN-logo_green-3-1.png"
|
||||
curl -o "theguardian.com.png" "https://web.archive.org/web/20200720041457if_/https://assets.guim.co.uk/images/favicons/fee5e2d638d1c35f6d501fa397e53329/152x152.png"
|
||||
curl -o "centralmaine.com.png" "https://web.archive.org/web/20200720023956if_/https://multifiles.pressherald.com/uploads/sites/2/2014/06/apple-touch-icon-iphone-retina-display.png"
|
||||
curl -o "dictionary.com.png" "https://web.archive.org/web/20200719135458if_/https://www.dictionary.com/hp-assets/dcom_favicon-1bff2f1b49c077ed504e55c3649f2a4b.png"
|
||||
curl -o "google.com.jpg" "https://web.archive.org/web/20170621105937if_/https://yt3.ggpht.com/-v0soe-ievYE/AAAAAAAAAAI/AAAAAAAAAAA/OixOH_h84Po/s900-c-k-no/photo.jpg"
|
||||
curl -o "longfellowsgreenhouses.com.jpg" "https://web.archive.org/web/20200718173559im_/https://longfellowsgreenhouses.com/wp-content/uploads/2020/03/Longfellows-Logo-Light-Green.jpg"
|
||||
curl -o "mainepublic.org.png" "https://d3kle7qwymxpcy.cloudfront.net/images/broadcasts/e5/8e/30457/1/c300.png"
|
||||
curl -o "news.google.com.png" "https://upload.wikimedia.org/wikipedia/commons/0/0b/Google_News_icon.png"
|
||||
curl -o "newscentermaine.com.png" "https://web.archive.org/web/20200721190548if_/https://www.newscentermaine.com/assets/favicons/WCSH.png?ver=2.4.7.4"
|
||||
curl -o "pressherald.com.png" "https://multifiles.pressherald.com/uploads/sites/4/2014/06/apple-touch-icon-iphone-retina-display.png"
|
||||
curl -o "weather.com.png" "https://upload.wikimedia.org/wikipedia/commons/thumb/7/77/The_Weather_Channel_logo_2005-present.svg/1200px-The_Weather_Channel_logo_2005-present.svg.png"
|
@ -1,38 +0,0 @@
|
||||
#!/bin/sh
|
||||
|
||||
set -e
|
||||
|
||||
argv0="$0"
|
||||
argv1="$1"
|
||||
argv2="$2"
|
||||
|
||||
FILE_NAME="image.img.gz"
|
||||
COMPACT="gzip -c"
|
||||
EXTRACT="gzip -cd"
|
||||
|
||||
usage() {
|
||||
printf "Usage: $argv0 {save,deploy} [device]
|
||||
|
||||
Examples:
|
||||
$argv0 save /dev/sda1 # images installation at /dev/sda1
|
||||
$argv0 deploy /dev/sda # deploys saved image to /dev/sda
|
||||
|
||||
In-program constants (edit this script to change them):
|
||||
\$FILE_NAME - where to save/read the image
|
||||
\$COMPACT - command to compact the image (such as \"gzip -c\" to
|
||||
compress with gzip)
|
||||
\$EXTRACT - command to extract the image (such as \"gzip -cd\" to
|
||||
extract gzip)\n"
|
||||
exit 1
|
||||
}
|
||||
|
||||
[ -n "$argv2" ] || usage
|
||||
|
||||
set -x
|
||||
|
||||
case "$argv1" in
|
||||
(save) $COMPACT <"$argv2" >"$FILE_NAME" ;;
|
||||
(deploy) $EXTRACT <"$FILE_NAME" >"$argv2" ;;
|
||||
esac
|
||||
|
||||
exit 0
|
Loading…
Reference in New Issue
Block a user