remove home assistant curl from hyprland_exit
This commit is contained in:
parent
acdd5e29f8
commit
419d099904
1 changed files with 0 additions and 9 deletions
|
@ -31,15 +31,6 @@ case "$result" in
|
||||||
;;
|
;;
|
||||||
|
|
||||||
"$option_shutdown")
|
"$option_shutdown")
|
||||||
TOKEN="$(cat ~/.homeassistant_token)"
|
|
||||||
|
|
||||||
curl -X POST -H "Authorization: Bearer $TOKEN" \
|
|
||||||
-d '{ "key": "value" }' \
|
|
||||||
https://assistant.home.mohr.io/api/webhook/on-computer-shutdown-rMG8tbTS3Gg8NlrFiJ-MNYYh
|
|
||||||
rtw stop
|
|
||||||
|
|
||||||
#cd $HOME/time/log_work
|
|
||||||
#$HOME/time/log_work
|
|
||||||
shutdown now
|
shutdown now
|
||||||
;;
|
;;
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue