From 419d09990480a768940d9b734692fdb02eaca738 Mon Sep 17 00:00:00 2001 From: Alexander Mohr Date: Wed, 11 Jun 2025 20:37:36 +0200 Subject: [PATCH] remove home assistant curl from hyprland_exit --- examples/worf-hyprland-exit/hyprland_exit | 9 --------- 1 file changed, 9 deletions(-) diff --git a/examples/worf-hyprland-exit/hyprland_exit b/examples/worf-hyprland-exit/hyprland_exit index 8907432..49fdf9f 100755 --- a/examples/worf-hyprland-exit/hyprland_exit +++ b/examples/worf-hyprland-exit/hyprland_exit @@ -31,15 +31,6 @@ case "$result" in ;; "$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 ;;