From 9fdbc769b5220bc8ad49d65ddc93680f6a85d773 Mon Sep 17 00:00:00 2001 From: project-repo Date: Fri, 30 Dec 2022 22:37:31 +0100 Subject: [PATCH] Add documentation --- man/cagebreak-socket.7.md | 20 ++++++++++++++++++-- 1 file changed, 18 insertions(+), 2 deletions(-) diff --git a/man/cagebreak-socket.7.md b/man/cagebreak-socket.7.md index a39ce91..ae6a091 100644 --- a/man/cagebreak-socket.7.md +++ b/man/cagebreak-socket.7.md @@ -71,10 +71,26 @@ input * accel_profile flat cg-ipc{"event_name":"configure_input","input":"*"} ``` - *configure_message* + - Trigger: *configure_message* command + - JSON + - event_name: "configure_message" -configure_output +``` +configure_message fg_color 1.0 1.0 0 0 +[cg ipc](cg-ipc){"event_name":"configure_message"} +``` + +*configure_output* + - Trigger: *output* command + - JSON + - event_name: "configure_output" + - output: name of the output as a string + +``` +output eDP-1 rotate 0 +cg-ipc{"event_name":"configure_output","output":"eDP-1"} +``` *cursor_switch_tile* - Trigger: Cursor crosses the border between tiles