= 401c511f8f | 4 anni fa | |
---|---|---|
.gitignore | 4 anni fa | |
README.md | 4 anni fa | |
backup | 4 anni fa | |
bar.sh | 4 anni fa | |
cvpn | 4 anni fa | |
dwm-start | 4 anni fa | |
dwm-statusbar | 4 anni fa | |
edit-ini | 4 anni fa | |
ewrap | 4 anni fa | |
lsix | 4 anni fa | |
mru | 4 anni fa | |
pages | 4 anni fa | |
pinentry | 4 anni fa | |
prompt | 4 anni fa | |
screenshot.sh | 4 anni fa | |
setup-xbindkeys | 4 anni fa | |
store | 4 anni fa | |
syn.sh | 4 anni fa | |
text-opener | 4 anni fa | |
util | 4 anni fa | |
util-audio | 4 anni fa |
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.
The central script that gives the rest of the features interactivity. Read the source code for more details.
prompt [ COMMAND ]
most functionality is accessible from launch and action only
launch action
and Mod4+g to prompt launch
search package
will infer with their default operation
when the string entered is an invalid selectionUsed for storing file paths and their modification times in ~/.cache/mru/. When a file is opened with prompt open, it moves to the top of the home list mru [COMMAND] [CACHE]
mru insert
does not exist, it is removed from the cachemru init
pages is a command for viewing /tmp/pages-{number} files with less or zathura.
The files are the result of prompt commands like prompt search
-> Go page or
can be created from your own tools. I use it for viewing local documentation
quickly.
pages [ pager | pdf | browser | send ] [ NAME ]
send will send stdin to the named page with the naming convention /tmp/pages-{NAME}. All other commands attempt to open the named page if it exists.
:!markdown % | pages send 1.html | pages browser 1.html
This could then be given it’s
own keybinding.