refresh dotfiles

This commit is contained in:
Fabio Lenherr 2022-09-19 15:06:41 +02:00
parent f2684e3cc3
commit a54e94bbb0
No known key found for this signature in database
GPG key ID: 868FFD689D878939
26 changed files with 506 additions and 552 deletions

9
eww/scripts/weather-trimmer Executable file
View 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