mirror of
https://github.com/klaxalk/i3-layout-manager.git
synced 2025-06-21 03:57:42 +02:00
fixed dependency check
This commit is contained in:
parent
695ccf33ef
commit
141f270351
@ -21,7 +21,7 @@ XDOTOOL_BIN="$(whereis -b xdotool | awk '{print $2}')"
|
|||||||
XRANDR_BIN="$(whereis -b xrandr | awk '{print $2}')"
|
XRANDR_BIN="$(whereis -b xrandr | awk '{print $2}')"
|
||||||
ROFI_BIN="$(whereis -b rofi | awk '{print $2}')"
|
ROFI_BIN="$(whereis -b rofi | awk '{print $2}')"
|
||||||
|
|
||||||
if [ -z "$NVIM_BIN" ] || [ -z "$VIM_BIN" ]; then
|
if [ ! -z "$NVIM_BIN" ] && [ ! -z "$VIM_BIN" ]; then
|
||||||
echo missing vim or neovim, please install dependencies
|
echo missing vim or neovim, please install dependencies
|
||||||
exit 1
|
exit 1
|
||||||
fi
|
fi
|
||||||
|
Loading…
x
Reference in New Issue
Block a user