diff options
author | Marvin Borner | 2020-09-29 22:03:27 +0200 |
---|---|---|
committer | Marvin Borner | 2020-09-29 22:03:27 +0200 |
commit | e90da14e7834d220ea9fc77aabcb7f8b1d17b0c1 (patch) | |
tree | fc5f9218562f835d461ae418a8b3404ac8b71d24 /.scripts | |
parent | 1324c36585652b7af820b1beb78b4874c629c085 (diff) |
Added awesome hue control script
Diffstat (limited to '.scripts')
-rwxr-xr-x | .scripts/light | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/.scripts/light b/.scripts/light index c8b1001..143ba1f 100755 --- a/.scripts/light +++ b/.scripts/light @@ -1,6 +1,9 @@ #!/usr/bin/env bash -if [ -n "$1" ]; then +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 |