Skip to content

Commit

Permalink
docs: add Waybar example
Browse files Browse the repository at this point in the history
  • Loading branch information
mewejo authored Jan 7, 2023
1 parent 2ba0aad commit e848e37
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -21,4 +21,13 @@ Output is returned as JSON.
}
```

## Examples

I am using this with Waybar to show the recyling date in my system tray. For example:

```json
"custom/recycling": {
"exec": "~/cornwall-council/tools/refuse-collection.sh 000000000000 | jq -r '.recycling_date' | awk '{print \"\" $1 \" \" $2}'",
"interval": 86400
},
```

0 comments on commit e848e37

Please sign in to comment.