Compare commits

...

3 Commits

@ -254,6 +254,13 @@ ${image $HOME/.config/conky/out.png -p 0,0}
![wttr.in in conky](https://user-images.githubusercontent.com/3875145/172178453-9e9ed9e3-9815-426a-9a21-afdd6e279fc8.png)
### IRC
IRC integration example:
* https://github.com/OpenSourceTreasure/Mirc-ASCII-weather-translate-pixel-editor
### Emojis support
To see emojis in terminal, you need:

@ -0,0 +1,14 @@
#!/usr/bin/env bash
LOG_DIR="/wttr.in/log"
LOG_FILE="$LOG_DIR/diskspace.log"
DISK=/wttr.in
log() {
mkdir -p "$LOG_DIR"
echo "$(date +"[%Y-%m-%d %H:%M:%S]") $*" | tee -a "$LOG_FILE"
}
log $(df -k "$DISK" | tail -1 | awk '{print $4}')
Loading…
Cancel
Save