Ansible: Add X.org configuration
- Detect if X.org is installed with a small fact script - Symlink Xdefaults file if X.org is installed
This commit is contained in:
parent
29fdc610bb
commit
687083bf31
4 changed files with 39 additions and 0 deletions
9
Ansible/facts/xorg.fact
Normal file
9
Ansible/facts/xorg.fact
Normal file
|
@ -0,0 +1,9 @@
|
|||
#!/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} }"
|
Loading…
Add table
Add a link
Reference in a new issue