summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rwxr-xr-x.local/bin/app_populator9
1 files changed, 9 insertions, 0 deletions
diff --git a/.local/bin/app_populator b/.local/bin/app_populator
new file mode 100755
index 0000000..6182b98
--- /dev/null
+++ b/.local/bin/app_populator
@@ -0,0 +1,9 @@
1#!/usr/bin/env bash
2# https://www.reddit.com/r/commandline/comments/q9skbh/how_to_remember_what_applications_you_have/
3#< Populates the applist
4# cat ~/.local/share/applist | fzf
5
6ls /usr/share/man/man1 2> /dev/null |
7 sed -e 's/\.1.*//' |
8 xargs whatis 2> /dev/null |
9 sed -e '/unknown subject/d' -e 's/ *- / - /' > ~/.local/share/applist