浏览代码

Add readme

laptop
= 3 年前
父节点
当前提交
092650bece
共有 2 个文件被更改,包括 19 次插入2 次删除
  1. +16
    -0
      README.md
  2. +3
    -2
      prompt

+ 16
- 0
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


+ 3
- 2
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

正在加载...
取消
保存