diff options
Diffstat (limited to '.scripts/light')
-rwxr-xr-x | .scripts/light | 16 |
1 files changed, 0 insertions, 16 deletions
diff --git a/.scripts/light b/.scripts/light deleted file mode 100755 index 143ba1f..0000000 --- a/.scripts/light +++ /dev/null @@ -1,16 +0,0 @@ -#!/usr/bin/env bash - -if [ "$1" = "alert" ]; then - hueadm group 1 select &>/dev/null - exit 0 -elif [ -n "$1" ]; then - hueadm group 1 =0 &>/dev/null - hueadm group 1 on &>/dev/null - exit 0 -fi - -if [ "$(hueadm group -j 1 | jq .state.any_on)" = "true" ]; then - hueadm group 1 off &>/dev/null -else - hueadm group 1 reset &>/dev/null -fi |