| Commit message (Collapse) | Author | Age |
|\
| |
| | |
Add support for bincode command
|
| |
| |
| |
| |
| | |
If a bindsym and bincode maps to the same combination, the last one will
overwrite any previous mappings.
|
|/ |
|
|
|
|
| |
Fix #426
|
|\
| |
| | |
Implement IPC binding event (keyboard)
|
| | |
|
| | |
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
This implements the IPC binding event for keyboard bindings. It is
slightly different from the i3 implementation [1] since sway supports
more than one non-modifier key in a binding. Thus the json interface has
been changed from:
{
...
"symbol": "t",
...
}
to:
{
...
"symbols": [ "t" ],
...
}
[1] http://i3wm.org/docs/ipc.html#_binding_event
|
| | |
|
|/
|
|
| |
Get an array of modifier names from modifier masks.
|
|\
| |
| | |
Implement bindsym --release
|
|/
|
|
|
|
|
|
|
|
|
| |
This is a "simple" version of --release (same as i3) that only supports
a binding that contain one normal key. e.g.:
bindsym --release $mod+x exec somthing-fun
I didn't bother implementing it for a combination like `$mod+x+z` since
it is a bit tricky to get right and also a bit weird to actually do on a
keyboard.
|
|\
| |
| | |
Send IPC modifier event on bar_modifier up/down
|
| |
| |
| |
| |
| |
| |
| |
| | |
This makes sure that a modifier event is only sent for active bar
modifiers, and that it is only sent once for each of those modifiers.
An active bar modifier is a modifier defined for a bar with `mode hide`
and `hidden_state hide`.
|
| | |
|
| |
| |
| |
| |
| | |
Lookup of modifier names is required in several places, thus it makes
sense to move it to a general place.
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
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"
}
|
| | |
|
| | |
|
|\ \ |
|
| |\ \
| | | |
| | | | |
Clearer order of locations searched for config file.
|
| |/ /
| | |
| | |
| | |
| | |
| | |
| | | |
The i3wm config locations are visited _before_ using the fallback
configs. The man page was confusing - it talked about the fallback
configs first, but also said they are looked at "at last". By changing
the order of the sentences, this should be clearer.
|
|/ / |
|
| | |
|
| |
| |
| |
| | |
This reverts commit 33b24736c78d9993a26d295ea3e56ad77d6f1390.
|
| |
| |
| |
| | |
Thanks @jollywho
|
|\ \
| |/
|/| |
Return focus to fullscreen view
|
| |
| |
| |
| |
| |
| | |
This fixes https://github.com/SirCmpwn/sway/issues/431 by returning
focus to the fullscreen view. Also it fixes the issue with the
fullscreen view pointer not being set which did my head in
|
|\ \
| |/
|/| |
Fix overwriting current pressed keys.
|
| |
| |
| |
| |
| |
| | |
This fixes a bug where the key at index 0 in the `key_state_array` would
be overwritten by the next pressed key. This broke any bindings
consisting of multiple non-mod keys like: `$mod+a+b`.
|
|\ \
| |/
|/| |
swaybar: fix logging
|
|/
|
|
|
| |
Optionally turn on debugging in swaybar. I acidentally introduced
persistent logging in a previous commit
|
|\
| |
| | |
swaybar: Implement workspace_buttons yes|no
|
|/ |
|
|\
| |
| | |
swaybar: Implement binding_mode_indicator
|
|/ |
|
|\
| |
| | |
Refactor IPC server/client
|
| |
| |
| |
| |
| |
| |
| | |
Makes `ipc_recv_response` return a struct with size, type and payload
rather than just the payload string.
This is useful if the type has to be checked on the client.
|
| |
| |
| |
| | |
Adds custom IPC_EVENT_* types
|
| | |
|
|\ \
| | |
| | | |
Only strip when starting with a num
|
| | |
| | |
| | |
| | |
| | | |
This makes sure the `:` isn't striped if you have a workspace named:
`:something`.
|
|\| |
| |/
|/| |
swaybar: Implement strip_workspace_numbers
|
|/ |
|
|\
| |
| | |
split toggle
|
|/
|
|
|
|
|
| |
Not sure if you will accept this, but i find it useful (I use it when
opening new terminal windows on a workspace
v2: add short hand command and docs
|
|\
| |
| | |
Dont try and fullscreen a workspace with no views
|
|/
|
|
| |
Found this completely by accident
|
|\
| |
| | |
saybar: remove stray logline
|
| | |
|