| Commit message (Collapse) | Author | Age |
|
|
|
|
|
|
|
|
| |
This adds an ipc event related to input devices. Currently the
following changes are supported:
- added: when an input device becomes available
- removed: when an input device is no longer available
- xkb_keymap_changed: (keyboards only) the keymap changed
- xkb_layout_changed: (keyboards only) the effective layout changed
|
|
|
|
|
| |
Since it was decided that sway will not support IPC_SYNC, just return
`{'success': false}` as a reply
|
|
|
|
|
|
| |
Since wayland does not currently allow swaybar to create global
keybinds, this is handled within sway and sent to the bar using a custom
event, so as not to pollute existing events, called bar_state_update.
|
|
|
|
| |
Removes IPC_EVENT_MODIFIER and IPC_EVENT_INPUT, which were sway-specific and unused
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
|
|
|
| |
Also reduces enum abuse, cc @minus7
|
| |
|
| |
|
| |
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Detects when a bar modifier key is pressed/released and sends a modifier
IPC event to any listeners (usually swaybars).
This way a swaybar can listen on the modifier event and hide/show the
bar accordingly (not implemented yet)
The modifier event looks like this:
{
"change": "pressed", // or released
"modifier": "Mod4"
}
|
|
|
|
| |
Adds custom IPC_EVENT_* types
|
| |
|
|
|
|
| |
This is broken
|
| |
|
| |
|
| |
|
| |
|
|
|
|
|
| |
- wlc_terminate() instead of exit(0)
- unlink IPC socket
|
| |
|
|
simply executes the received data as command
|