From 5ca235e9dd3d0b9e344be9f53963dcd90b3e73db Mon Sep 17 00:00:00 2001 From: Yigit Sever Date: Sun, 24 Oct 2021 15:01:05 +0300 Subject: scripts: add app_populator --- .local/bin/app_populator | 9 +++++++++ 1 file changed, 9 insertions(+) create mode 100755 .local/bin/app_populator 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 @@ +#!/usr/bin/env bash +# https://www.reddit.com/r/commandline/comments/q9skbh/how_to_remember_what_applications_you_have/ +#< Populates the applist +# cat ~/.local/share/applist | fzf + +ls /usr/share/man/man1 2> /dev/null | + sed -e 's/\.1.*//' | + xargs whatis 2> /dev/null | + sed -e '/unknown subject/d' -e 's/ *- / - /' > ~/.local/share/applist -- cgit v1.2.3-70-g09d2