- Detect if X.org is installed with a small fact script - Symlink Xdefaults file if X.org is installed
9 lines
151 B
Bash
9 lines
151 B
Bash
#!/usr/bin/env zsh
|
|
|
|
if which xorg 1>/dev/null 2>&1; then
|
|
xorg_exists="true"
|
|
else
|
|
xorg_exists="false"
|
|
fi
|
|
|
|
echo "{ \"exists\": ${xorg_exists} }"
|