Browse Source

Fix missing linebreaks

patch-fontkeys
joestandring 5 years ago
parent
commit
14255f909b
3 changed files with 3 additions and 2 deletions
  1. +1
    -1
      bar-functions/dwm_vpn.sh
  2. +1
    -1
      bar-functions/dwm_weather.sh
  3. +1
    -0
      dwm_bar.sh

+ 1
- 1
bar-functions/dwm_vpn.sh View File

@ -16,7 +16,7 @@ dwm_vpn () {
else else
printf "VPN %s" "$VPN" printf "VPN %s" "$VPN"
fi fi
printf "%s" "$SEP2"
printf "%s\n" "$SEP2"
fi fi
} }


+ 1
- 1
bar-functions/dwm_weather.sh View File

@ -16,7 +16,7 @@ dwm_weather() {
else else
printf "WEA %s" "$(curl -s wttr.in/$LOCATION?format=1 | grep -o "[0-9].*")" printf "WEA %s" "$(curl -s wttr.in/$LOCATION?format=1 | grep -o "[0-9].*")"
fi fi
printf "%s" "$SEP2"
printf "%s\n" "$SEP2"
} }
dwm_weather dwm_weather

+ 1
- 0
dwm_bar.sh View File

@ -16,6 +16,7 @@ DIR=$(dirname "$LOC")
# Change the appearance of the module identifier. if this is set to "unicode", then symbols will be used as identifiers instead of text. E.g. [📪 0] instead of [MAIL 0]. # Change the appearance of the module identifier. if this is set to "unicode", then symbols will be used as identifiers instead of text. E.g. [📪 0] instead of [MAIL 0].
# Requires a font with adequate unicode character support # Requires a font with adequate unicode character support
export IDENTIFIER="unicode" export IDENTIFIER="unicode"
# Change the charachter(s) used to seperate modules. If two are used, they will be placed at the start and end. # Change the charachter(s) used to seperate modules. If two are used, they will be placed at the start and end.
export SEP1="[" export SEP1="["
export SEP2="]" export SEP2="]"


Loading…
Cancel
Save