From 14255f909b5d8e37b87414b7b35052b7d3c133e5 Mon Sep 17 00:00:00 2001 From: joestandring Date: Mon, 8 Jul 2019 21:44:20 +0100 Subject: [PATCH] Fix missing linebreaks --- bar-functions/dwm_vpn.sh | 2 +- bar-functions/dwm_weather.sh | 2 +- dwm_bar.sh | 1 + 3 files changed, 3 insertions(+), 2 deletions(-) diff --git a/bar-functions/dwm_vpn.sh b/bar-functions/dwm_vpn.sh index 5617bfa..b57b114 100755 --- a/bar-functions/dwm_vpn.sh +++ b/bar-functions/dwm_vpn.sh @@ -16,7 +16,7 @@ dwm_vpn () { else printf "VPN %s" "$VPN" fi - printf "%s" "$SEP2" + printf "%s\n" "$SEP2" fi } diff --git a/bar-functions/dwm_weather.sh b/bar-functions/dwm_weather.sh index 88a9629..ac43add 100755 --- a/bar-functions/dwm_weather.sh +++ b/bar-functions/dwm_weather.sh @@ -16,7 +16,7 @@ dwm_weather() { else printf "WEA %s" "$(curl -s wttr.in/$LOCATION?format=1 | grep -o "[0-9].*")" fi - printf "%s" "$SEP2" + printf "%s\n" "$SEP2" } dwm_weather diff --git a/dwm_bar.sh b/dwm_bar.sh index a900581..507a9cd 100755 --- a/dwm_bar.sh +++ b/dwm_bar.sh @@ -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]. # Requires a font with adequate unicode character support export IDENTIFIER="unicode" + # Change the charachter(s) used to seperate modules. If two are used, they will be placed at the start and end. export SEP1="[" export SEP2="]"