ico-sxiv

View the individual entries of an ICO file in sxiv ⏺️

Commit
5df6351a137514a0c7c2727466018bfc795bba69
Parent
ccfbd552505cfef74223b0d491ef86e91be3c9c0
Author
Pablo Emilio Escobar Gaviria <pablo-escobar@riseup.net>
Date

Renamed the program

Diffstat

8 files changed, 93 insertions, 93 deletions

Status File Name N° Changes Insertions Deletions
Modified Makefile 2 1 1
Modified README.adoc 10 5 5
Added ico-sxvi 17 17 0
Deleted ico-view 17 0 17
Modified install.sh 30 15 15
Added man/ico-sxvi.1 49 49 0
Deleted man/ico-view.1 49 0 49
Modified man/man.adoc 12 6 6
diff --git a/Makefile b/Makefile
@@ -1,2 +1,2 @@
 build-doc:
-	asciidoctor -b manpage ./man/man.adoc -o ./man/ico-view.1
+	asciidoctor -b manpage ./man/man.adoc -o ./man/ico-sxvi.1
diff --git a/README.adoc b/README.adoc
@@ -1,4 +1,4 @@
-= ico-view(1)
+= ico-sxvi(1)
 
 == Synopsis
 
@@ -12,15 +12,15 @@ View the individual entries of an ICO file in `sxiv`.
 
 == Usage
 
-`ico-view FILE`
+`ico-sxvi FILE`
 
 == Installation
 
-The `ico-view(1)` command and it's man page can be installed in Unix systems 
+The `ico-sxvi(1)` command and it's man page can be installed in Unix systems 
 by running:
 
 ----
-$ curl -s https://gitlab.com/pablo-escobar/ico-view/-/raw/master/install.sh | sudo sh
+$ curl -s https://gitlab.com/pablo-escobar/ico-sxvi/-/raw/master/install.sh | sudo sh
 ----
 
 The executable is installed in `$HOME/.local/bin/` and the man-page is 
@@ -28,7 +28,7 @@ installed in `$HOME/.local/share/man/man1/`.
 
 == Authors
 
-`ico-view` was written by Pablo Emilio Escobar Gaviria 
+`ico-sxvi` was written by Pablo Emilio Escobar Gaviria 
 <pablo-escobar@riseup.net>.
 
 == Copying
diff --git a/ico-sxvi b/ico-sxvi
@@ -0,0 +1,17 @@
+#!/bin/sh
+#  _                                 _ 
+# (_)                               (_)
+#  _  ___ ___ ______ _____  ____   ___ 
+# | |/ __/ _ \______/ __\ \/ /\ \ / / |
+# | | (_| (_) |     \__ \>  <  \ V /| |
+# |_|\___\___/      |___/_/\_\  \_/ |_|
+#                                          
+# View the individual entries of an ICO file in `sxiv`.
+# 
+# Copyright (C) 2020 Pablo Emilio Escobar Gaviria.
+# Free use of this software is granted under the terms of the GPL-3.0 License.
+
+TMP_DIR="$(mktemp -d)"
+convert "$1" "$TMP_DIR/icon.png"
+sxiv "$TMP_DIR"/*.png
+rm "$TMP_DIR" -rf
diff --git a/ico-view b/ico-view
@@ -1,17 +0,0 @@
-#!/bin/sh
-#  _                       _               
-# (_)                     (_)              
-#  _  ___ ___ ________   ___  _____      __
-# | |/ __/ _ \______\ \ / / |/ _ \ \ /\ / /
-# | | (_| (_) |      \ V /| |  __/\ V  V / 
-# |_|\___\___/        \_/ |_|\___| \_/\_/  
-#                                          
-# View the individual entries of an ICO file in `sxiv`.
-# 
-# Copyright (C) 2020 Pablo Emilio Escobar Gaviria.
-# Free use of this software is granted under the terms of the GPL-3.0 License.
-
-TMP_DIR="$(mktemp -d)"
-convert "$1" "$TMP_DIR/icon.png"
-sxiv "$TMP_DIR"/*.png
-rm "$TMP_DIR" -rf
diff --git a/install.sh b/install.sh
@@ -1,10 +1,10 @@
 #!/bin/sh
-#  _                       _               
-# (_)                     (_)              
-#  _  ___ ___ ________   ___  _____      __
-# | |/ __/ _ \______\ \ / / |/ _ \ \ /\ / /
-# | | (_| (_) |      \ V /| |  __/\ V  V / 
-# |_|\___\___/        \_/ |_|\___| \_/\_/  
+#  _                                 _ 
+# (_)                               (_)
+#  _  ___ ___ ______ _____  ____   ___ 
+# | |/ __/ _ \______/ __\ \/ /\ \ / / |
+# | | (_| (_) |     \__ \>  <  \ V /| |
+# |_|\___\___/      |___/_/\_\  \_/ |_|
 #                                          
 # View the individual entries of an ICO file in `sxiv`.
 # 
@@ -37,27 +37,27 @@ then
     dependencyError "sxiv" "https://github.com/muennich/sxiv"
 fi
 
-if [ -f "$HOME/.local/bin/ico-view" ]
+if [ -f "$HOME/.local/bin/ico-sxvi" ]
 then
-    rm "$HOME/.local/bin/ico-view"
+    rm "$HOME/.local/bin/ico-sxvi"
 fi
 
 # Download the executable
-wget https://gitlab.com/pablo-escobar/ico-view/-/raw/master/ico-view -P "$HOME/.local/bin/"\
-    && chmod +x "$HOME/.local/bin/ico-view"\
+wget https://gitlab.com/pablo-escobar/ico-sxvi/-/raw/master/ico-sxvi -P "$HOME/.local/bin/"\
+    && chmod +x "$HOME/.local/bin/ico-sxvi"\
     || exit 1
 
 # Install the man page
 tmp="$(mktemp -d)"
-wget https://gitlab.com/pablo-escobar/ico-view/-/raw/master/man/ico-view.1 -P "$tmp"\
-    && install -g 0 -o 0 -m 0644 "$tmp/ico-view.1" "$HOME/.local/share/man/man1/"\
+wget https://gitlab.com/pablo-escobar/ico-sxvi/-/raw/master/man/ico-sxvi.1 -P "$tmp"\
+    && install -g 0 -o 0 -m 0644 "$tmp/ico-sxvi.1" "$HOME/.local/share/man/man1/"\
     || exit 1
 
-if [ -f "$HOME/.local/share/man/man1/ico-view.1.gz" ]
+if [ -f "$HOME/.local/share/man/man1/ico-sxvi.1.gz" ]
 then
-    rm "$HOME/.local/share/man/man1/ico-view.1.gz"
+    rm "$HOME/.local/share/man/man1/ico-sxvi.1.gz"
 fi
 
-gzip "$HOME/.local/share/man/man1/ico-view.1"
+gzip "$HOME/.local/share/man/man1/ico-sxvi.1"
 rm "$tmp" -r
 
diff --git a/man/ico-sxvi.1 b/man/ico-sxvi.1
@@ -0,0 +1,48 @@
+'\" t
+.\"     Title: ico-sxvi
+.\"    Author: [see the "AUTHOR(S)" section]
+.\" Generator: Asciidoctor 2.0.10
+.\"      Date: 2020-12-08
+.\"    Manual: \ \&
+.\"    Source: \ \&
+.\"  Language: English
+.\"
+.TH "MAN" "1" "2020-12-08" "\ \&" "\ \&"
+.ie \n(.g .ds Aq \(aq
+.el       .ds Aq '
+.ss \n[.ss] 0
+.nh
+.ad l
+.de URL
+\fI\\$2\fP <\\$1>\\$3
+..
+.als MTO URL
+.if \n[.g] \{\
+.  mso www.tmac
+.  am URL
+.    ad l
+.  .
+.  am MTO
+.    ad l
+.  .
+.  LINKSTYLE blue R < >
+.\}
+.SH "SYNOPSIS"
+.sp
+View the individual entries of an ICO file in sxiv.
+.SH "USAGE"
+.sp
+\fBico\-sxvi\fP FILE
+.SH "AUTHORS"
+.sp
+\fBico\-sxvi\fP was written by Pablo Emilio Escobar Gaviria
+<\c
+.MTO "pablo\-escobar\(atriseup.net" "" ">."
+.SH "RESOURCES"
+.sp
+\fBGit source repository on GitLab:\fP \c
+.URL "https://gitlab.com/pablo\-escobar/ico\-sxvi" "" ""
+.SH "COPYING"
+.sp
+Copyright (C) 2020 Pablo Emilio Escobar Gaviria.
+Free use of this software is granted under the terms of the GPL\-3.0 License.+
\ No newline at end of file
diff --git a/man/ico-view.1 b/man/ico-view.1
@@ -1,48 +0,0 @@
-'\" t
-.\"     Title: ico-view
-.\"    Author: [see the "AUTHOR(S)" section]
-.\" Generator: Asciidoctor 2.0.10
-.\"      Date: 2020-12-07
-.\"    Manual: \ \&
-.\"    Source: \ \&
-.\"  Language: English
-.\"
-.TH "MAN" "1" "2020-12-07" "\ \&" "\ \&"
-.ie \n(.g .ds Aq \(aq
-.el       .ds Aq '
-.ss \n[.ss] 0
-.nh
-.ad l
-.de URL
-\fI\\$2\fP <\\$1>\\$3
-..
-.als MTO URL
-.if \n[.g] \{\
-.  mso www.tmac
-.  am URL
-.    ad l
-.  .
-.  am MTO
-.    ad l
-.  .
-.  LINKSTYLE blue R < >
-.\}
-.SH "SYNOPSIS"
-.sp
-View the individual entries of an ICO file in sxiv.
-.SH "USAGE"
-.sp
-\fBico\-view\fP FILE
-.SH "AUTHORS"
-.sp
-\fBico\-view\fP was written by Pablo Emilio Escobar Gaviria
-<\c
-.MTO "pablo\-escobar\(atriseup.net" "" ">."
-.SH "RESOURCES"
-.sp
-\fBGit source repository on GitLab:\fP \c
-.URL "https://gitlab.com/pablo\-escobar/ico\-view" "" ""
-.SH "COPYING"
-.sp
-Copyright (C) 2020 Pablo Emilio Escobar Gaviria.
-Free use of this software is granted under the terms of the GPL\-3.0 License.-
\ No newline at end of file
diff --git a/man/man.adoc b/man/man.adoc
@@ -1,7 +1,7 @@
-= ico-view(1)
+= ico-sxvi(1)
 :doctype: manpage
-:man-manual: ico-view Manual
-:man-source: ico-view 0.1.0
+:man-manual: ico-sxvi Manual
+:man-source: ico-sxvi 0.1.0
 :page-layout: base
 
 == SYNOPSIS
@@ -10,16 +10,16 @@ View the individual entries of an ICO file in sxiv.
 
 == USAGE
 
-*ico-view* FILE
+*ico-sxvi* FILE
 
 == AUTHORS
 
-*ico-view* was written by Pablo Emilio Escobar Gaviria 
+*ico-sxvi* was written by Pablo Emilio Escobar Gaviria 
 <pablo-escobar@riseup.net>.
 
 == RESOURCES
 
-*Git source repository on GitLab:* https://gitlab.com/pablo-escobar/ico-view
+*Git source repository on GitLab:* https://gitlab.com/pablo-escobar/ico-sxvi
 
 == COPYING