Do most dependency checking during install instead of runtime
This commit is contained in:
parent
f8d866b623
commit
a2d794ea70
34 changed files with 74 additions and 27 deletions
2
misc/xc
2
misc/xc
|
@ -1,10 +1,10 @@
|
|||
#!/bin/zsh
|
||||
#dep:xclip
|
||||
|
||||
# install this program with the name xc and symlink it as xs.
|
||||
# xc will use the clipboard selection, while xs while use the primary selection
|
||||
|
||||
source ${$(realpath "$0"):h:h}/lib/common.zsh
|
||||
depend xclip
|
||||
|
||||
function get_primary() { xclip -o -selection primary }
|
||||
function get_clipboard() { xclip -o -selection clipboard }
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue