diff options
author | Yigit Sever | 2021-10-25 13:34:42 +0300 |
---|---|---|
committer | Yigit Sever | 2021-10-25 13:34:42 +0300 |
commit | 06c6f71a6bdad88fc40219a8dd086acd052958e1 (patch) | |
tree | fb31036d2084355001a26cd4b25ac707907b32d6 /.local/bin/app_populator | |
parent | 328b9457389bda7c54138db6e908de1c6e1acc3f (diff) | |
parent | 3fad12478ae35265aac6496f61342471da06c4a9 (diff) | |
download | dotfiles-06c6f71a6bdad88fc40219a8dd086acd052958e1.tar.gz dotfiles-06c6f71a6bdad88fc40219a8dd086acd052958e1.tar.bz2 dotfiles-06c6f71a6bdad88fc40219a8dd086acd052958e1.zip |
Merge remote-tracking branch 'origin'
Diffstat (limited to '.local/bin/app_populator')
-rwxr-xr-x | .local/bin/app_populator | 9 |
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 | |||
6 | ls /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 | ||