mirror of
https://github.com/swaywm/sway.git
synced 2025-11-23 06:59:48 -05:00
parent
9f98c38d3e
commit
04676936e7
3 changed files with 26 additions and 8 deletions
|
|
@ -70,12 +70,18 @@ struct sway_mouse_binding {
|
|||
char *command;
|
||||
};
|
||||
|
||||
enum sway_switch_trigger {
|
||||
SWAY_SWITCH_TRIGGER_OFF,
|
||||
SWAY_SWITCH_TRIGGER_ON,
|
||||
SWAY_SWITCH_TRIGGER_TOGGLE,
|
||||
};
|
||||
|
||||
/**
|
||||
* A laptop switch binding and an associated command.
|
||||
*/
|
||||
struct sway_switch_binding {
|
||||
enum wlr_switch_type type;
|
||||
enum wlr_switch_state state;
|
||||
enum sway_switch_trigger trigger;
|
||||
uint32_t flags;
|
||||
char *command;
|
||||
};
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue