mirror of
https://github.com/liclac/ambient
synced 2024-11-21 19:33:08 +00:00
Always use Emoji for widgets
This commit is contained in:
parent
9bf2c7809c
commit
97159ab6b5
3 changed files with 6 additions and 12 deletions
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue