Moves and tweaks some systemd timers / services
This commit is contained in:
parent
00ecd6bdc3
commit
b00d95d514
12 changed files with 44 additions and 8 deletions
9
systemd/HOME/.config/systemd/user/checkStock
Executable file
9
systemd/HOME/.config/systemd/user/checkStock
Executable file
|
@ -0,0 +1,9 @@
|
|||
#!/usr/bin/env bash
|
||||
|
||||
url="https://pine64.com/product/pinecil-smart-mini-portable-soldering-iron/"
|
||||
string="out of stock"
|
||||
|
||||
curl -sL "$url" | hq h1 text | grep -vqi "$string"
|
||||
if [ "$?" -eq 0 ]; then
|
||||
notify-send "Pinecil back in stock"
|
||||
fi
|
Loading…
Add table
Add a link
Reference in a new issue