diff --git a/apps/default_commands.sh b/apps/default_commands.sh index c7878d8..48f28bd 100644 --- a/apps/default_commands.sh +++ b/apps/default_commands.sh @@ -15,9 +15,17 @@ all(){ sleep .2 xdotool key Left ;; - "forward" | "back" | "split_up" | "split_down") + "split_up" | "split_down") debug "no op" ;; + "back") + echo "toggling livingroom lights" + curl -X POST -d '' $LIVINGROOM_LIGHTS_ENDPOINT + ;; + "forward") + echo "toggling kitchen lights" + curl -X POST -d '' $KITCHEN_LIGHTS_ENDPOINT + ;; "split_right") bluetoothctl disconnect 4C:B9:9B:11:4B:31 ;;