1
0
Fork 0
mirror of synced 2024-06-05 16:51:09 -04:00
This commit is contained in:
jaclu 2022-05-17 20:30:15 +02:00
parent cf46ca60df
commit e64e47c615

8
tpm
View file

@ -6,6 +6,14 @@ SCRIPTS_DIR="$CURRENT_DIR/scripts"
source "$SCRIPTS_DIR/variables.sh" source "$SCRIPTS_DIR/variables.sh"
is_tpm_running="$(test $(ps axu | grep tpm/scripts/source_plugins.sh | wc -l) -gt 1; echo $?)"
if [ "$is_tpm_running" -eq 0 ]; then
tmux display "tpm is already running!"
exit 0
fi
get_tmux_option() { get_tmux_option() {
local option="$1" local option="$1"
local default_value="$2" local default_value="$2"