From 3ea623341b2083508bbd40ecb5937e08da1f94dc Mon Sep 17 00:00:00 2001 From: Marshall Banana Date: Sat, 14 Nov 2015 16:38:00 +0100 Subject: [PATCH] PR#294 Remove pomf host, does not exist anymore --- screenfetch-dev | 12 ++---------- screenfetch.1 | 2 +- 2 files changed, 3 insertions(+), 11 deletions(-) diff --git a/screenfetch-dev b/screenfetch-dev index 56b6454..a05a14c 100755 --- a/screenfetch-dev +++ b/screenfetch-dev @@ -64,7 +64,7 @@ denames=( gnome-session xfce-mcs-manage xfce4-session xfconfd ksmserver lxsessio screenshot= # This setting lets the script know if you want to upload the screenshot to a filehost. 1=Yes 0=No upload= -# This setting lets the script know where you would like to upload the file to. Valid hosts are: teknik, mediacrush, pomf, imgur, hmp, and a configurable local. +# This setting lets the script know where you would like to upload the file to. Valid hosts are: teknik, mediacrush, imgur, hmp, and a configurable local. uploadLoc= # You can specify a custom screenshot command here. Just uncomment and edit. Otherwise, we'll be using the default command: scrot -cd3. # screenCommand="scrot -cd5" @@ -229,7 +229,7 @@ displayHelp() { printf " ${bold}-s [-u IMGHOST]${c0} Using this flag tells the script that you want it\n" printf " to take a screenshot. Use the -u flag if you would like\n" printf " to upload the screenshots to one of the pre-configured\n" - printf " locations. These include: teknik, pomf, imgur, mediacrush and hmp.\n" + printf " locations. These include: teknik, imgur, mediacrush and hmp.\n" printf " ${bold}-c string${c0} You may change the outputted colors with -c. The format is\n" printf " as follows: [0-9][0-9],[0-9][0-9]. The first argument controls the\n" printf " ASCII logo colors and the label colors. The second argument\n" @@ -2195,14 +2195,6 @@ takeShot () { filehash="${filehash%%\"*}" desturl="${baseurl}/${filehash}" ;; - 'pomf') - baseurl='http://a.pomf.se' - uploadurl='http://pomf.se/upload.php' - ret=$(curl --silent -sf -F files[]="@${shotfiles[@]}" ${uploadurl}) - filehash="${ret##*url\":\"}" - filehash="${filehash%%\"*}" - desturl="${baseurl}/${filehash}" - ;; 'hmp') baseurl='http://i.hmp.me/m' uploadurl='http://hmp.me/ap/?uf=1' diff --git a/screenfetch.1 b/screenfetch.1 index d18910e..702dc39 100644 --- a/screenfetch.1 +++ b/screenfetch.1 @@ -78,7 +78,7 @@ Output in portrait mode, with logo above info. Using this flag tells the script that you want it to take a screenshot. Use the \fB\-u\fR flag if you would like to upload the screenshots to one of the pre-configured -locations. These include: teknik, pomf, imgur, mediacrush, and hmp. +locations. These include: teknik, imgur, mediacrush and hmp. .TP .B \-c string You may change the outputted colors with \fB\-c\fR. The format is