From 5363521950b1f79adfbca459a23f70462e2f5b66 Mon Sep 17 00:00:00 2001 From: Case Duckworth Date: Tue, 2 Jun 2020 22:14:36 -0500 Subject: Customize Bye Message --- bollux | 21 +++++++++++---------- 1 file changed, 11 insertions(+), 10 deletions(-) diff --git a/bollux b/bollux index 3664714..bda850b 100755 --- a/bollux +++ b/bollux @@ -105,16 +105,17 @@ bollux_config() { fi ## behavior - : "${BOLLUX_DOWNDIR:=.}" # where to save downloads - : "${BOLLUX_LOGLEVEL:=3}" # log level - : "${BOLLUX_MAXREDIR:=5}" # max redirects - : "${BOLLUX_PORT:=1965}" # port number - : "${BOLLUX_PROTO:=gemini}" # default protocol - : "${BOLLUX_LESSKEY:=/tmp/bollux-lesskey}" # where to store binds - : "${BOLLUX_PAGESRC:=/tmp/bollux-src}" # where to save the page source - : "${BOLLUX_URL:=}" # start url : "${BOLLUX_DATADIR:=${XDG_DATA_DIR:-$HOME/.local/share}/bollux}" - BOLLUX_HISTFILE="$BOLLUX_DATADIR/history" # where to store the history + : "${BOLLUX_DOWNDIR:=.}" # where to save downloads + : "${BOLLUX_LOGLEVEL:=3}" # log level + : "${BOLLUX_MAXREDIR:=5}" # max redirects + : "${BOLLUX_PORT:=1965}" # port number + : "${BOLLUX_PROTO:=gemini}" # default protocol + : "${BOLLUX_LESSKEY:=/tmp/bollux-lesskey}" # where to store binds + : "${BOLLUX_PAGESRC:=/tmp/bollux-src}" # where to save the source + : "${BOLLUX_URL:=}" # start url + : "${BOLLUX_BYEMSG:=See You Space Cowboy...}" # bye message + BOLLUX_HISTFILE="$BOLLUX_DATADIR/history" # where to save the history ## typesetting : "${T_MARGIN:=4}" # left and right margin : "${T_WIDTH:=0}" # width of the viewport -- 0 = get term width @@ -132,7 +133,7 @@ bollux_config() { } bollux_quit() { - log x "Thanks for flying $PRGN" + log x "$BOLLUX_BYEMSG" exit } -- cgit 1.4.1-21-gabe81