feat: differentiate between laptop and desktop

This commit is contained in:
Fabio Lenherr 2023-01-03 09:20:42 +01:00
parent 3a59d32f55
commit 5bb44594bb
50 changed files with 3432 additions and 1 deletions

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