diff options
author | Case Duckworth | 2020-06-02 22:14:36 -0500 |
---|---|---|
committer | Case Duckworth | 2020-06-02 22:14:36 -0500 |
commit | 5363521950b1f79adfbca459a23f70462e2f5b66 (patch) | |
tree | 4d60c5bb8ba34fd3fe1ee32921bf8c97b1dfad21 | |
parent | Change ssl_cmd setting (diff) | |
download | bollux-5363521950b1f79adfbca459a23f70462e2f5b66.tar.gz bollux-5363521950b1f79adfbca459a23f70462e2f5b66.zip |
Customize Bye Message
-rwxr-xr-x | bollux | 21 |
1 files 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() { | |||
105 | fi | 105 | fi |
106 | 106 | ||
107 | ## behavior | 107 | ## behavior |
108 | : "${BOLLUX_DOWNDIR:=.}" # where to save downloads | ||
109 | : "${BOLLUX_LOGLEVEL:=3}" # log level | ||
110 | : "${BOLLUX_MAXREDIR:=5}" # max redirects | ||
111 | : "${BOLLUX_PORT:=1965}" # port number | ||
112 | : "${BOLLUX_PROTO:=gemini}" # default protocol | ||
113 | : "${BOLLUX_LESSKEY:=/tmp/bollux-lesskey}" # where to store binds | ||
114 | : "${BOLLUX_PAGESRC:=/tmp/bollux-src}" # where to save the page source | ||
115 | : "${BOLLUX_URL:=}" # start url | ||
116 | : "${BOLLUX_DATADIR:=${XDG_DATA_DIR:-$HOME/.local/share}/bollux}" | 108 | : "${BOLLUX_DATADIR:=${XDG_DATA_DIR:-$HOME/.local/share}/bollux}" |
117 | BOLLUX_HISTFILE="$BOLLUX_DATADIR/history" # where to store the history | 109 | : "${BOLLUX_DOWNDIR:=.}" # where to save downloads |
110 | : "${BOLLUX_LOGLEVEL:=3}" # log level | ||
111 | : "${BOLLUX_MAXREDIR:=5}" # max redirects | ||
112 | : "${BOLLUX_PORT:=1965}" # port number | ||
113 | : "${BOLLUX_PROTO:=gemini}" # default protocol | ||
114 | : "${BOLLUX_LESSKEY:=/tmp/bollux-lesskey}" # where to store binds | ||
115 | : "${BOLLUX_PAGESRC:=/tmp/bollux-src}" # where to save the source | ||
116 | : "${BOLLUX_URL:=}" # start url | ||
117 | : "${BOLLUX_BYEMSG:=See You Space Cowboy...}" # bye message | ||
118 | BOLLUX_HISTFILE="$BOLLUX_DATADIR/history" # where to save the history | ||
118 | ## typesetting | 119 | ## typesetting |
119 | : "${T_MARGIN:=4}" # left and right margin | 120 | : "${T_MARGIN:=4}" # left and right margin |
120 | : "${T_WIDTH:=0}" # width of the viewport -- 0 = get term width | 121 | : "${T_WIDTH:=0}" # width of the viewport -- 0 = get term width |
@@ -132,7 +133,7 @@ bollux_config() { | |||
132 | } | 133 | } |
133 | 134 | ||
134 | bollux_quit() { | 135 | bollux_quit() { |
135 | log x "Thanks for flying $PRGN" | 136 | log x "$BOLLUX_BYEMSG" |
136 | exit | 137 | exit |
137 | } | 138 | } |
138 | 139 | ||