diff options
author | Yigit Sever | 2021-10-24 15:01:05 +0300 |
---|---|---|
committer | Yigit Sever | 2021-10-24 15:01:05 +0300 |
commit | 5ca235e9dd3d0b9e344be9f53963dcd90b3e73db (patch) | |
tree | 87d5bf01fb1e9caee7669d23ef4631a33bd65056 /.local/bin/app_populator | |
parent | 786552327efb5153cbd341ee8d2cf13f308f11e2 (diff) | |
download | dotfiles-5ca235e9dd3d0b9e344be9f53963dcd90b3e73db.tar.gz dotfiles-5ca235e9dd3d0b9e344be9f53963dcd90b3e73db.tar.bz2 dotfiles-5ca235e9dd3d0b9e344be9f53963dcd90b3e73db.zip |
scripts: add app_populator
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 | ||