From 092650bece24e0a48d97212eec3b8df3efbb243a Mon Sep 17 00:00:00 2001 From: = <=> Date: Mon, 14 Dec 2020 16:31:51 -0500 Subject: [PATCH] Add readme --- README.md | 16 ++++++++++++++++ prompt | 5 +++-- 2 files changed, 19 insertions(+), 2 deletions(-) create mode 100644 README.md diff --git a/README.md b/README.md new file mode 100644 index 0000000..26b3874 --- /dev/null +++ b/README.md @@ -0,0 +1,16 @@ + +# My Macros +This is a collection of commands I use every day that make editing and accessing files and websites easier. + +## Prompt Dependencies + mpc dmenu scrot xclip tmux vim lbry +They're all optional, since the prompt options that don't call them will still work. The prompt works best with the xbindkeys config file. +- [ dmenu ](tools.suckless.org/dmenu/) for the prompts. It can be changed to rofi or some other solution +- scrot and xclip for screenshots +- all scripts assume your prefered terminal is [ st ](st.suckless.org) +- mpc is for media controls + +## TODO +- Finish vpn and networking stuff after ini script is finished, then make sure printf in case goes to stderror which is shown in bar +- Add ddg search prompt + diff --git a/prompt b/prompt index 9ad36d3..f173c29 100755 --- a/prompt +++ b/prompt @@ -1,7 +1,5 @@ #!/bin/sh -#Finish vpn and networking stuff after ini script is finished, then make sure printf in case goes to stderror which is shown in bar - launch() { app=$(printf "Notes Files @@ -76,8 +74,11 @@ both" | -s ~/Pictures/screenshots/screenshot-%Y-%m-%d_$wx$h.png\ -e "xclip $f;" fi + case $1 in launch) launch;; action) action;; + cmd) action;; + ddg) action;; *) printf "Invalid argument";; esac