This commit is contained in:
Strix 2023-10-14 22:38:04 +02:00
parent 56b4964dc7
commit 0b7fb13bc4
No known key found for this signature in database
GPG key ID: 49B2E37B8915B774
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
}