summaryrefslogtreecommitdiffstats
path: root/.local/bin/app_populator
blob: 6182b985ebfa4411b5369a3e51ef74213b09e6fd (plain)
1
2
3
4
5
6
7
8
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