= c04e9a440f | il y a 4 ans | |
---|---|---|
.gitignore | il y a 4 ans | |
README.md | il y a 4 ans | |
backup | il y a 4 ans | |
bar.sh | il y a 4 ans | |
cvpn | il y a 4 ans | |
dwm-start | il y a 4 ans | |
dwm-statusbar | il y a 4 ans | |
edit-ini | il y a 4 ans | |
ewrap | il y a 4 ans | |
lsix | il y a 4 ans | |
mru | il y a 4 ans | |
pages | il y a 4 ans | |
prompt | il y a 4 ans | |
screenshot.sh | il y a 4 ans | |
setup-xbindkeys | il y a 4 ans | |
syn.sh | il y a 4 ans | |
util | il y a 4 ans | |
util-audio | il y a 4 ans |
This is a collection of scripts I use to make managing files and processes easier. Use it to automagically select and run terminal applications, send signals to daemons, execute arbitrary commands, search the web, grab passwords from a password manager, and more.
sudo apt install pass enscript dunst xclip scrot mpc mpd ghostscript zathura suckless-tools youtube-dl
All of them are optional except suckless-tools. Many of the features aren’t interdependent and are made up of 1 or 2 functions.
It’s the central script that gives the rest of the features interactivity. Read the source code for more details.
prompt [ launch | action | cmd | cmd_clip | github | godoc | ddg | manual | username | password | other_password | edit_password | open | edit ]
Generaly, prompt has two types of commands, launch commands and action
commands. Launch commands are used to open applications, manual pages, or spawn
other windows. Action commands modify daemons or read/write th the clipboard.
prompt launch
and prompt action
are the only commands you really need to
know because they will prompt for all the rest. The other command line subcommands are for
convenience and may be removed in the future.
###Notes
##mru Used for indexing and ranking frequently accessed files to ~/.cache/mru
pages is a command for viewing /tmp/pages-{number} files with less or zathura.
The files are the result of prompt commands like prompt action
-> Go page or
can be created from your own tools. I use it for viewing documentation.
pages [ open ]
enscript -p - | ps2pdf - | zathura -
. I’m considering
more minimal combinations like enscript and surf or st and less but
they create their own set of problems. This solution makes future
changes easy without becoming too complicatedUse it to automagically select and run terminal applications, send signals to daemons, execute arbitrary commands, search the web, grab passwords from the password manager, and more.