about summary refs log tree commit diff stats
diff options
context:
space:
mode:
authorCase Duckworth2020-06-08 15:24:43 -0500
committerCase Duckworth2020-06-08 15:24:43 -0500
commit793d2f38ca00dcd445cc9b8897e46edd97971a06 (patch)
tree5b6b7510dae30529b55f854920dc41b4b018f96f
parentComment less invocation (diff)
downloadbollux-793d2f38ca00dcd445cc9b8897e46edd97971a06.tar.gz
bollux-793d2f38ca00dcd445cc9b8897e46edd97971a06.zip
Fix bye message
-rwxr-xr-xbollux14
1 files changed, 7 insertions, 7 deletions
diff --git a/bollux b/bollux index 1cc1b4c..6b99ceb 100755 --- a/bollux +++ b/bollux
@@ -109,12 +109,12 @@ bollux_config() {
109 fi 109 fi
110 110
111 ## behavior 111 ## behavior
112 : "${BOLLUX_TIMEOUT:=30}" # connection timeout 112 : "${BOLLUX_TIMEOUT:=30}" # connection timeout
113 : "${BOLLUX_MAXREDIR:=5}" # max redirects 113 : "${BOLLUX_MAXREDIR:=5}" # max redirects
114 : "${BOLLUX_PORT:=1965}" # port number 114 : "${BOLLUX_PORT:=1965}" # port number
115 : "${BOLLUX_PROTO:=gemini}" # default protocol 115 : "${BOLLUX_PROTO:=gemini}" # default protocol
116 : "${BOLLUX_URL:=}" # start url 116 : "${BOLLUX_URL:=}" # start url
117 : "${BOLLUX_BYEMSG:=See You Space Cowboy...}" # bye message 117 : "${BOLLUX_BYEMSG:=See You Space Cowboy ...}" # bye message
118 ## files 118 ## files
119 : "${BOLLUX_DATADIR:=${XDG_DATA_DIR:-$HOME/.local/share}/bollux}" 119 : "${BOLLUX_DATADIR:=${XDG_DATA_DIR:-$HOME/.local/share}/bollux}"
120 : "${BOLLUX_DOWNDIR:=.}" # where to save downloads 120 : "${BOLLUX_DOWNDIR:=.}" # where to save downloads
@@ -140,7 +140,7 @@ bollux_config() {
140 140
141# quit happily 141# quit happily
142bollux_quit() { 142bollux_quit() {
143 log x "$BOLLUX_BYEMSG" 143 printf '\e[1m%s\e[0m:\t\e[3m%s\e[0m\n' "$PRGN" "$BOLLUX_BYEMSG"
144 exit 144 exit
145} 145}
146 146