| Hash | Commit message | Author | Date | Files | + | - |
1 | commit c5660d955d97fb44d9e18daddc0a6bc5be1affb0 |
2 | Author: Connor Etherington <[email protected]> |
3 | Date: Tue May 16 20:26:43 2023 +0200 |
4 | |
5 | Auto-Commit Update 16.05.2023 - 20:26:43 |
6 | --- |
7 | Makefile | 16 ++++++++-------- |
8 | README.md | 33 ++++++++++++++++++++++++--------- |
9 | usr/share/doc/lfp/README.md | 33 ++++++++++++++++++++++++--------- |
10 | 3 files changed, 56 insertions(+), 26 deletions(-) |
11 | |
12 | diff --git a/Makefile b/Makefile |
13 | index 95140cb..34b34a2 100644 |
14 | --- a/Makefile |
15 | +++ b/Makefile |
16 | @@ -31,15 +31,15 @@ ifeq ($(PACKAGE_MANAGER),) |
17 | $(error > Unsupported OS: ${OST}) |
18 | endif |
19 | |
20 | -all: info lfpreviewer lfp cd-on-exit |
21 | +all: info |
22 | |
23 | lfpreviewer: |
24 | @echo -e "\n\e[1;33m[+]\e[0m Installing ${PREVIEWER}...\n" |
25 | - @rm -rf ${PREVIEWER}/build ${PREVIEWER}/${PREVIEWER}.egg-info ${PREVIEWER}/dist |
26 | - @${QUERY} ${PKGS} || ${INSTALL} ${PKGS} |
27 | - @python3 -m pip install --upgrade pip |
28 | - @python3 -m pip install --upgrade setuptools |
29 | - @cd ${PREVIEWER} && python3 ./setup.py install && cd .. || true |
30 | + rm -rf ${PREVIEWER}/build ${PREVIEWER}/${PREVIEWER}.egg-info ${PREVIEWER}/dist |
31 | + ${QUERY} ${PKGS} || ${INSTALL} ${PKGS} |
32 | + python3 -m pip install --upgrade pip |
33 | + python3 -m pip install --upgrade setuptools |
34 | + cd ${PREVIEWER} && python3 ./setup.py install && cd .. || true |
35 | @which lfpreviewer >/dev/null 2>&1 || echo -e "\n\e[1;31m[-]\e[0m Please ensure you have sufficient premission to install ${PREVIEWER}." |
36 | |
37 | lfp: |
38 | @@ -52,7 +52,7 @@ lfp: |
39 | install -Dm644 usr/share/man/man1/${PKG}.1.gz "${PKGDIR}/usr/share/man/man1/${PKG}.1.gz" || true |
40 | @[ ! -d /usr/share/lfp ] && echo -e "\n\e[1;31m[-]\e[0m Please ensure you have sufficient premission to install ${PKG}." || true |
41 | |
42 | -install: all |
43 | +install: lfpreviewer lfp cd-on-exit |
44 | |
45 | clean: |
46 | @echo -e "\n\e[1;33m[+]\e[0m Cleaning up..." |
47 | @@ -85,5 +85,5 @@ cd-on-exit: |
48 | @[ -d /usr/share/lfp ] && echo -e "\n\033[1;32m[+]\e[0;1m For on-exit directory changing, add the following line to your bash/zshrc\e[0m :\e[36m\n\n source '/usr/share/lfp/lfpcd'\n\e[0m" || echo -e "\n\033[1;31m[!]\e[0;1m Installation Failed!" |
49 | |
50 | |
51 | -.PHONY: all lfpreviewer lfp install manual_clean clean info help cd-on-exit |
52 | +.PHONY: info all lfpreviewer lfp install manual_clean clean help cd-on-exit |
53 | |
54 | diff --git a/README.md b/README.md |
55 | index a0f6bef..35c6a08 100644 |
56 | --- a/README.md |
57 | +++ b/README.md |
58 | @@ -15,17 +15,17 @@ Icons for relative filetypes can be changed by editing the lfp-icons file in *'/ |
59 | |
60 | For on-exit directory changing, add the following line to your bash/zshrc: |
61 | |
62 | - `source '/usr/share/lf/lfpcd'` |
63 | + source '/usr/share/lf/lfpcd' |
64 | |
65 | |
66 | -**Prerequisites** |
67 | +**Dependencies:** |
68 | |
69 | -+ `lf`: the file manager |
70 | -+ `zsh`: for scripting |
71 | -+ `ueberzug`: for image previews |
72 | -+ `ghostscript`: for pdf previews |
73 | ++ `lf`: the file manager |
74 | ++ `zsh`: for scripting |
75 | ++ `ueberzug`: for image previews |
76 | ++ `ghostscript`: for pdf previews |
77 | + `graphicsmagick`: for svg and gif previews |
78 | -+ `ffmpeg`: for video file thumbnail previews |
79 | ++ `ffmpeg`: for video file thumbnail previews |
80 | + `dialog`: required by many functions outside the scope of image and video previews |
81 | + `dunst`: to receive notifications upon task completion and so forth |
82 | + `fzf`: for lfps *fzfp* (fuzzy-finding) and *pushto* (git push) capabilities |
83 | @@ -33,14 +33,29 @@ For on-exit directory changing, add the following line to your bash/zshrc: |
84 | + `git`: for cloning repos from within lfp |
85 | + `lolcat`: used in lfps *fzfp* function |
86 | |
87 | +### Installation |
88 | |
89 | -## Main additional features include: |
90 | +**Arch Linux** |
91 | + |
92 | +`lfp` is available in the AUR as `lfp` and `lfp-git` |
93 | + |
94 | + |
95 | +**Manual Installation** |
96 | + |
97 | + tmp=$(mktemp -d); |
98 | + git clone https://gitlab.com/a4to/lfp.git ${tmp} && |
99 | + cd ${tmp} && make clean install && cd - && |
100 | + rm -rf ${tmp} |
101 | + |
102 | + |
103 | + |
104 | +## Keybindings |
105 | |
106 | **Use the following keybindings to activate relative function:** |
107 | |
108 | + **.** - Period (.) - Activates Node Actions, various npm/yarn actions / quick command execution |
109 | + **f** - Activate fzfp |
110 | -+ **b** - Change Wallpaper (mostly for window managers - eg DWM) |
111 | ++ **b** - Change Wallpaper (mostly for window managers - eg DWM) |
112 | + **Ctrl+c** - Git clone a repo |
113 | + **Ctrl+g** - Activate pushto - select a branch to push to (only works inside a git repo) |
114 | + **Ctrl+b** - Open file in browser |
115 | diff --git a/usr/share/doc/lfp/README.md b/usr/share/doc/lfp/README.md |
116 | index a0f6bef..35c6a08 100644 |
117 | --- a/usr/share/doc/lfp/README.md |
118 | +++ b/usr/share/doc/lfp/README.md |
119 | @@ -15,17 +15,17 @@ Icons for relative filetypes can be changed by editing the lfp-icons file in *'/ |
120 | |
121 | For on-exit directory changing, add the following line to your bash/zshrc: |
122 | |
123 | - `source '/usr/share/lf/lfpcd'` |
124 | + source '/usr/share/lf/lfpcd' |
125 | |
126 | |
127 | -**Prerequisites** |
128 | +**Dependencies:** |
129 | |
130 | -+ `lf`: the file manager |
131 | -+ `zsh`: for scripting |
132 | -+ `ueberzug`: for image previews |
133 | -+ `ghostscript`: for pdf previews |
134 | ++ `lf`: the file manager |
135 | ++ `zsh`: for scripting |
136 | ++ `ueberzug`: for image previews |
137 | ++ `ghostscript`: for pdf previews |
138 | + `graphicsmagick`: for svg and gif previews |
139 | -+ `ffmpeg`: for video file thumbnail previews |
140 | ++ `ffmpeg`: for video file thumbnail previews |
141 | + `dialog`: required by many functions outside the scope of image and video previews |
142 | + `dunst`: to receive notifications upon task completion and so forth |
143 | + `fzf`: for lfps *fzfp* (fuzzy-finding) and *pushto* (git push) capabilities |
144 | @@ -33,14 +33,29 @@ For on-exit directory changing, add the following line to your bash/zshrc: |
145 | + `git`: for cloning repos from within lfp |
146 | + `lolcat`: used in lfps *fzfp* function |
147 | |
148 | +### Installation |
149 | |
150 | -## Main additional features include: |
151 | +**Arch Linux** |
152 | + |
153 | +`lfp` is available in the AUR as `lfp` and `lfp-git` |
154 | + |
155 | + |
156 | +**Manual Installation** |
157 | + |
158 | + tmp=$(mktemp -d); |
159 | + git clone https://gitlab.com/a4to/lfp.git ${tmp} && |
160 | + cd ${tmp} && make clean install && cd - && |
161 | + rm -rf ${tmp} |
162 | + |
163 | + |
164 | + |
165 | +## Keybindings |
166 | |
167 | **Use the following keybindings to activate relative function:** |
168 | |
169 | + **.** - Period (.) - Activates Node Actions, various npm/yarn actions / quick command execution |
170 | + **f** - Activate fzfp |
171 | -+ **b** - Change Wallpaper (mostly for window managers - eg DWM) |
172 | ++ **b** - Change Wallpaper (mostly for window managers - eg DWM) |
173 | + **Ctrl+c** - Git clone a repo |
174 | + **Ctrl+g** - Activate pushto - select a branch to push to (only works inside a git repo) |
175 | + **Ctrl+b** - Open file in browser |