This commit is contained in:
Didier Slof 2022-12-16 15:33:59 +01:00
parent 70a565df77
commit 4ef7f7756f
Signed by: didier
GPG key ID: 01E71F18AA4398E5
3 changed files with 16 additions and 1 deletions

View file

@ -1,5 +1,7 @@
#!/bin/sh
. ./sync.conf || . ../sync.conf
DRY_RUN=${DRY_RUN:-no}
bool() {
@ -17,3 +19,7 @@ run() {
"$@"
fi
}
is_graphical() {
command -v $PREF_TERM && return 0 || return 1
}