diff --git a/lib/_dispatch_widgets.fish b/lib/_dispatch_widgets.fish index d9dd027..3edcc6f 100755 --- a/lib/_dispatch_widgets.fish +++ b/lib/_dispatch_widgets.fish @@ -1,11 +1,5 @@ #!/usr/bin/env fish -if test (uname) = "Darwin" - set -g icons 🚏 ⏱ 🚄 💨 -else - set -g icons     -end - for file in ./widgets.d/**/*.fish source $file end diff --git a/widgets.d/trains/DE_ICE.fish b/widgets.d/trains/DE_ICE.fish index f47fe83..a08227f 100644 --- a/widgets.d/trains/DE_ICE.fish +++ b/widgets.d/trains/DE_ICE.fish @@ -1,12 +1,12 @@ if set -q AMBIENT_DE_ICE_STOP_NEXT - echo "$icons[1] $AMBIENT_DE_ICE_STOP_NEXT" + echo "🚏 $AMBIENT_DE_ICE_STOP_NEXT" end if [ -n "$AMBIENT_DE_ICE_STOP_NEXT_ARRIVE_DELAY" ] - echo "$icons[2] $AMBIENT_DE_ICE_STOP_NEXT_ARRIVE_DELAY" + echo "⏱ $AMBIENT_DE_ICE_STOP_NEXT_ARRIVE_DELAY" end if set -q AMBIENT_DE_ICE_TRAIN_TYPE - echo "$icons[3] $AMBIENT_DE_ICE_TRAIN_TYPE-$AMBIENT_DE_ICE_VZN" + echo "🚄 $AMBIENT_DE_ICE_TRAIN_TYPE-$AMBIENT_DE_ICE_VZN" end if set -q AMBIENT_DE_ICE_SPEED - echo "$icons[4] $AMBIENT_DE_ICE_SPEED km/h" + echo "💨 $AMBIENT_DE_ICE_SPEED km/h" end diff --git a/widgets.d/trains/EU_Eurostar.fish b/widgets.d/trains/EU_Eurostar.fish index f5f0025..3268c5d 100644 --- a/widgets.d/trains/EU_Eurostar.fish +++ b/widgets.d/trains/EU_Eurostar.fish @@ -1,6 +1,6 @@ if set -q AMBIENT_EU_EUROSTAR_TRAIN_ID - echo "$icons[3] Eurostar $AMBIENT_EU_EUROSTAR_TRAIN_ID" + echo "🚄 Eurostar $AMBIENT_EU_EUROSTAR_TRAIN_ID" end if set -q AMBIENT_EU_EUROSTAR_SPEED - echo "$icons[4] $AMBIENT_EU_EUROSTAR_SPEED km/h" + echo "💨 $AMBIENT_EU_EUROSTAR_SPEED km/h" end