add script to check that required dependencies are in PATH
This commit is contained in:
parent
857c02ddab
commit
a6cc161b38
@ -1,7 +1,14 @@
|
||||
Lupan's config files
|
||||
====================
|
||||
|
||||
To reproduce my environment clone this repo into `~/dotfiles` and run
|
||||
To reproduce my environment clone this repo into `~/dotfiles` check
|
||||
that you have required programs in your PATH with
|
||||
|
||||
```
|
||||
$ sh check_dependencies.sh
|
||||
```
|
||||
|
||||
and run
|
||||
|
||||
```
|
||||
$ stow -v alacritty bspwm music shell tmux
|
||||
|
45
check_dependencies.sh
Normal file
45
check_dependencies.sh
Normal file
@ -0,0 +1,45 @@
|
||||
#!/bin/sh
|
||||
|
||||
echo '# bspwm:'
|
||||
for CMD in \
|
||||
alacritty \
|
||||
bspc \
|
||||
bspwm \
|
||||
dmenu \
|
||||
dmenu_run \
|
||||
emacsclient \
|
||||
pkill \
|
||||
polybar \
|
||||
polybar-msg \
|
||||
sed \
|
||||
setxkbmap \
|
||||
slock \
|
||||
sxhkd \
|
||||
systemctl \
|
||||
xargs \
|
||||
xdo \
|
||||
xmodmap \
|
||||
xrandr \
|
||||
xrdb \
|
||||
xsetroot \
|
||||
xsettingsd \
|
||||
xtitle \
|
||||
xss-lock; do
|
||||
which "$CMD"
|
||||
done
|
||||
|
||||
echo '\n# bspwm (optional):'
|
||||
for CMD in \
|
||||
firefox \
|
||||
mpc \
|
||||
mpd \
|
||||
pamixer \
|
||||
sx \
|
||||
thunderbird; do
|
||||
which "$CMD"
|
||||
done
|
||||
|
||||
echo '\n# shell:'
|
||||
for CMD in emacsclient zsh; do
|
||||
which "$CMD"
|
||||
done
|
Loading…
x
Reference in New Issue
Block a user