feat: differentiate between laptop and desktop
This commit is contained in:
parent
3a59d32f55
commit
5bb44594bb
50 changed files with 3432 additions and 1 deletions
9
eww_laptop/scripts/weather-trimmer
Executable file
9
eww_laptop/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