From 9d91fbb2ad56720f9d782b116a482e06aa8fa8f3 Mon Sep 17 00:00:00 2001 From: NRK Date: Mon, 12 Apr 2021 00:55:44 +0600 Subject: [PATCH] added all config variables --- sxbm | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) diff --git a/sxbm b/sxbm index 0d857d2..f330641 100755 --- a/sxbm +++ b/sxbm @@ -3,3 +3,21 @@ # Description: A cli bookmark manager written in POSIX shell # # Author: NRK + +########## +# CONFIG # +########## + +# Where all the data gets stored +# Respects XDG_DATA_HOME if set +[ -z "$XDG_DATA_HOME" ] && XDG_DATA_HOME="$HOME/.local/share" +DATA_DIR="${XDG_DATA_HOME}/sxbm" + +# Colors +# For a list of ANSI color codes, check the link below +# https://gist.github.com/Prakasaka/219fe5695beeb4d6311583e79933a009 +COL_LINK="\033[1;31m" # Red +COL_TITLE="\033[1;33m" # Yellow + +# 1 to enable encryption, 0 to disable it +ENCRYPTION="0"