Age | Commit message (Collapse) | Author |
|
|
|
|
|
|
|
Add graphical feedback to swaylock (#526)
|
|
|
|
Add choice of display to --image.
|
|
|
|
|
|
|
|
|
|
|
|
Additionally
- Made background colors display when an image is enabled if
a --color is specified.
- Link CJson to swaylock.
- Add the --socket option to swaylock.
|
|
Gracefully exit when config is not found
|
|
This makes sure that sway will gracefully exit if the config is not
found or sway is unable to read it.
|
|
|
|
swaylock: Interpret XKB_KEY_BackSpace as a deletion instead of a normal key.
|
|
|
|
|
|
|
|
|
|
swaylock: Fix crash when unable to connect to sway
|
|
Prevent swaylock from crashing when it can't connect to wayland for
whatever reason. i.e. XDG_RUNTIME_DIR not set.
Fix #534
|
|
swaybar: Abort when receiving 0 bytes in IPC call
|
|
When sway crashes a swaybar process is sometimes left behind running at
100% CPU. This was caused by the swaybar trying to retrieve an IPC
response from the closed sway socket.
This patch fixes the problem by aborting when the socket has been closed
(recv return 0).
Fix #528
|
|
swaylock: Grow the password buffer
|
|
|
|
Use correct type for keycode
|
|
Implement 'smart_gaps' feature from i3-gaps
|
|
|
|
|
|
Make key handling less strict
|
|
Sway has been very strict when it comes to key handling. Only on an
exact match would a bindsym be triggered.
This patch makes it less strict by for instance allowing the key combo
`$mod+1+2` to act as `$mod+2` if 2 was the last pressed key and `$mod+1`
if 1 was the last pressed key.
The new key handling uses the following algorithm:
1. List of bindings sorted by number of keys in binding (already the
default)
2. Find all bindings covered by the current keyboard state and list them
by same order as in 1.
3. Select the first binding from the list where the last pressed key is
part of the binding.
Addresses #452
|
|
|
|
Add config option workspace_layout
|
|
This implements the config parsing of
`workspace_layout <default|stacking|tabbed>`
http://i3wm.org/docs/userguide.html#_layout_mode_for_new_containers
|
|
|
|
Add a manpage for swaylock
|
|
|
|
Don't strip quotes from exec args
|
|
Before passing a command to a command handler the quotes are stripped
from each argument in the command. This is usually the wanted behavior
but causes a problem in the case of `exec` where quoted arguments can be
required when passing the exec command to `/bin/sh -c`.
This patch makes `exec` a special case and doesn't strip quotes from the
arguments. It will just pass the exec command verbatim to the exec
command handler.
Fix #518
|
|
Remove unused panel_size (and fix rearrange)
|
|
desktop_shell.panel_size was only used to determine if sway should
rearrange the output when rendering the panel in the output_pre_render
hook. This is not needed since the output will have been arranged at
that point.
It also caused sway to rearrange all the time when running with two
or more different monitors/resolutions because panel_size kept changing
with every output_pre_render callback.
Should fix #514
|
|
Focus correct swaylock view in multimonitor setup
|
|
Swaylock spawns and focuses a view for each output in sway. This can
sometimes move the focus to a new output after locking and unlocking the
screens.
This patch makes sure that the output which had focus when swaylock
was invoked, will regain focus once swaylock is closed/unlocked.
Fix #499
|
|
Document swaybar commands
|
|
Documents most of the bar commands in sway-bar(5) manpage.
The following command has not been document because they haven't been
fully implemented yet:
* mode
* hidden_state
* modifier
* tray_output
* tray_padding
Close #375
|
|
Schedule render when adding bg and panel
|
|
This should be a real fix for #509
This schedules a render when a background or panel is added to sway
through the desktop shell interface, that makes sure the render isn't
scheduled before the bg or panel is ready and you don't end up with a
black screen until the cursor is moved.
|
|
This reverts commit 96458bf63c10a702797a8687e2f73d7814a6b079.
|
|
Render outputs as soon as wlc is ready
|