about summary refs log tree commit diff stats
diff options
context:
space:
mode:
-rw-r--r--bollux4
1 files changed, 2 insertions, 2 deletions
diff --git a/bollux b/bollux index 697447f..ec59196 100644 --- a/bollux +++ b/bollux
@@ -123,8 +123,8 @@ bollux_config() {
123 : "${BOLLUX_CONFIG:=${XDG_CONFIG_HOME:-$HOME/.config}/bollux/bollux.conf}" 123 : "${BOLLUX_CONFIG:=${XDG_CONFIG_HOME:-$HOME/.config}/bollux/bollux.conf}"
124 124
125 if [ -f "$BOLLUX_CONFIG" ]; then 125 if [ -f "$BOLLUX_CONFIG" ]; then
126 # shellcheck disable=1090
127 log debug "Loading config file '$BOLLUX_CONFIG'" 126 log debug "Loading config file '$BOLLUX_CONFIG'"
127 # shellcheck disable=1090
128 . "$BOLLUX_CONFIG" 128 . "$BOLLUX_CONFIG"
129 else 129 else
130 log debug "Can't load config file '$BOLLUX_CONFIG'." 130 log debug "Can't load config file '$BOLLUX_CONFIG'."
@@ -1041,7 +1041,7 @@ extract_links() {
1041 local url alt 1041 local url alt
1042 local re="^=>[[:space:]]*([^[:space:]]+)([[:space:]]+(.*))?$" 1042 local re="^=>[[:space:]]*([^[:space:]]+)([[:space:]]+(.*))?$"
1043 while read -r; do 1043 while read -r; do
1044 log d $re 1044 log d "$re"
1045 if [[ $REPLY =~ $re ]]; then 1045 if [[ $REPLY =~ $re ]]; then
1046 url="${BASH_REMATCH[1]}" 1046 url="${BASH_REMATCH[1]}"
1047 alt="${BASH_REMATCH[3]}" 1047 alt="${BASH_REMATCH[3]}"