refresh dotfiles
This commit is contained in:
parent
f2684e3cc3
commit
a54e94bbb0
26 changed files with 506 additions and 552 deletions
9
eww/scripts/weather-trimmer
Executable file
9
eww/scripts/weather-trimmer
Executable file
|
|
@ -0,0 +1,9 @@
|
|||
#!/bin/bash
|
||||
weather=$(cat $HOME/.cache/weather/weather-stat)
|
||||
weather_count=$(cat $HOME/.cache/weather/weather-stat | wc -c)
|
||||
|
||||
if [ "$weather_count" -lt 10 ]; then
|
||||
echo $weather;
|
||||
else
|
||||
echo $(cat $HOME/.cache/weather/weather-stat | cut -c1-6)...
|
||||
fi
|
||||
Loading…
Add table
Add a link
Reference in a new issue