mirror of
https://github.com/klaxalk/i3-layout-manager.git
synced 2025-08-18 01:09:40 +02:00
fixed dependency check
This commit is contained in:
@@ -21,7 +21,7 @@ XDOTOOL_BIN="$(whereis -b xdotool | awk '{print $2}')"
|
||||
XRANDR_BIN="$(whereis -b xrandr | 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
|
||||
exit 1
|
||||
fi
|
||||
|
Reference in New Issue
Block a user