mirror of
https://github.com/liclac/ambient
synced 2024-11-22 03:43:19 +00:00
Add default case for when not on a train
This commit is contained in:
parent
a6a287805e
commit
713f83ea3b
2 changed files with 9 additions and 3 deletions
|
@ -1,3 +0,0 @@
|
|||
#!/bin/bash
|
||||
|
||||
/usr/local/bin/fish ~/dev/ambient/ambient-widgets | tr '\n' ' '
|
9
bitbar/ambient.60s.sh
Executable file
9
bitbar/ambient.60s.sh
Executable file
|
@ -0,0 +1,9 @@
|
|||
#!/bin/bash
|
||||
|
||||
WIDGET=$(/usr/local/bin/fish ~/dev/ambient/ambient-widgets | tr '\n' ' ')
|
||||
|
||||
if [ -z "$WIDGET" ]; then
|
||||
echo "🚄"
|
||||
else
|
||||
echo $WIDGET
|
||||
fi
|
Loading…
Reference in a new issue