qed


Logs | Files | LICENSE | GitLab


1
commit 0e5ef90940d6986bb6b7cfc4307369767d8aae4b
2
Author: Connor Etherington <[email protected]>
3
Date:   Tue Nov 15 19:41:25 2022 +0200
4
5
    Auto-Commit Update - 20221115
6
---
7
 PKGBUILD    | 2 +-
8
 qed.install | 7 +++++++
9
 2 files changed, 8 insertions(+), 1 deletion(-)
10
11
diff --git a/PKGBUILD b/PKGBUILD
12
index 311457e..4d3e2ac 100644
13
--- a/PKGBUILD
14
+++ b/PKGBUILD
15
@@ -7,7 +7,7 @@ pkgdesc="Quick Edit - A CLI tool to quickly edit and save files saved slots 1-10
16
 arch=(any)
17
 url="https://gitlab.com/a4to/${pkgname}"
18
 license=('MIT')
19
-depends=()
20
+depends=(dialog)
21
 source=(
22
   "https://concise.cc/pkg/${pkgname}-${pkgver}-${pkgrel}-$arch.pkg.tar.zst"
23
   "https://concise.cc/pkg/${pkgname}-${pkgver}-${pkgrel}-$arch.pkg.tar.zst.sig"
24
diff --git a/qed.install b/qed.install
25
new file mode 100644
26
index 0000000..ac7c289
27
--- /dev/null
28
+++ b/qed.install
29
@@ -0,0 +1,7 @@
30
+post_install() {
31
+  echo -e "\n\n  \e[32;1;3mUsage:\e[0;35;1m\n\n
32
+  qed \e[1;37m            => \e[36;1m (Dry Run) List all slots and associated files\e[35;1m\n
33
+  qed \e[33;1m [  FILE  ]\e[1;37m => \e[36;1m Save file to a selected slot (1-10)\e[35;1m
34
+  qed \e[33;1m [ 1 - 10 ]\e[1;37m => \e[36;1m Open file in slot selected slot in ${EDITOR:-your editor}\e[35;1m
35
+  qed \e[33;1m [ -c|cls ]\e[1;37m => \e[36;1m Clear all slots\e[0m\n\n"
36
+}