Fixed if statement in x11 detection
This commit is contained in:
parent
891c6ca8e2
commit
887a5223ac
|
@ -1,7 +1,7 @@
|
||||||
# x11
|
# x11
|
||||||
|
|
||||||
hook global KakBegin .* %sh{
|
hook global KakBegin .* %sh{
|
||||||
if [ -n "$DISPLAY" && [ -z "$TMUX" ]; then
|
if [ -n "$DISPLAY" ] && [ -z "$TMUX" ]; then
|
||||||
echo "require-module x11"
|
echo "require-module x11"
|
||||||
fi
|
fi
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue
Block a user