Quentin Glidic
449617f104
commands: Fix memory allocation in assign
...
Also use the safer snprintf since we just computed the size.
Signed-off-by: Quentin Glidic <sardemff7+git@sardemff7.net>
9 years ago
Quentin Glidic
43483d8fee
commands: Fix usage of arrow in assign
...
Signed-off-by: Quentin Glidic <sardemff7+git@sardemff7.net>
9 years ago
Mikkel Oscar Lyderik
06f6552eed
travis: remove wlc dep: xcb-util-wm
9 years ago
Christoph Gysin
7b25caba47
swaylock: add i3lock compatible options
9 years ago
Mikkel Oscar Lyderik
a3f809d95d
travis: don't build wlc, depend on wlc-git instead
9 years ago
Christoph Gysin
259dc25ba3
swaylock: add option parsing
9 years ago
Drew DeVault
6a5acde592
Merge pull request #463 from christophgysin/typo
...
sway-input: fix typo
9 years ago
Drew DeVault
a297df4a1f
Add xcb-util-wm to PKGBUILD
9 years ago
Christoph Gysin
2341ae64ad
sway-input: fix typo
9 years ago
Mikkel Oscar Lyderik
102719c7dd
manpage: fix sway-input layout
9 years ago
Mikkel Oscar Lyderik
54111839a4
manpage: add references sway.5 <-> sway-input.5
9 years ago
Mikkel Oscar Lyderik
e953f634d9
Fix generating sway-input.5 manpage
9 years ago
Drew DeVault
c2bf457b9f
Merge pull request #461 from SethBarberee/swaygrab-zsh
...
restructured to include single dash options
9 years ago
Seth Barberee
f8edda5939
restructured to include single dash options
9 years ago
Mikkel Oscar Lyderik
4cbb09d566
cmake: fix libinput include dirs
9 years ago
Mikkel Oscar Lyderik
701855fee5
Merge pull request #459 from crondog/sigpipe
...
Prevent ipc from crashing sway
9 years ago
crondog
cd0eaf00da
Prevent ipc from crashing sway
9 years ago
Mikkel Oscar Lyderik
fa0526f3df
Fix rendering of view when moving to new workspace
...
This is a possible fix for #384 .
To be honest I don't fully understand why this bug is happening, but I
have narrowed it down to the view stack in wlc and how sway orders views
in very specific situations (those described in #384 ).
Anyway this should fix the problem by eliminating the call to
`wlc_view_bring_to_front` which isn't really needed anyway since sending
all invisible views to the back is the same as bringing all visible
views to the front (rotating the view stack).
9 years ago
Mikkel Oscar Lyderik
2c43bd2ac8
Only update visibility if WS isn't destroyed after
...
No need to update visibility if the workspace will be destroyed right
after.
9 years ago
Drew DeVault
72f297fc71
Merge pull request #456 from gpyh/fix-config-dir
...
Fix issue #455
9 years ago
Yacine Hmito
c487cf71a5
Fix issue #455
...
CMAKE_INSTALL_FULL_SYSCONFIG is not actually passed to
the C preprocessor. I remember it working, so I must have
messed up somewhere last time I touched this.
This is fixed by manually passing its value to the C preprocessor
through the SYSCONFDIR definition
9 years ago
Drew DeVault
d969a1dec0
Fix memory leak in config.c
...
Thanks @jollywho
9 years ago
Mikkel Oscar Lyderik
ac740271a5
Strip stray whitespace
9 years ago
Drew DeVault
a6b19988c5
Merge pull request #440 from SethBarberee/zsh-completions
...
Basic Zsh auto-completion for --options
9 years ago
Drew DeVault
b72a62b02b
Merge pull request #448 from colemickens/libinput
...
libinput configuration
9 years ago
Cole Mickens
28081b7689
libinput
9 years ago
Seth Barberee
fcd0071555
added basic zsh shell completion for sway, swaybg, and swaygrab
9 years ago
Drew DeVault
fe241126bb
Add ffmpeg/imagemagick to depenency list
9 years ago
Mikkel Oscar Lyderik
e0ba689dba
Copy filename from argv
...
Fix #449
9 years ago
Drew DeVault
2597321236
Merge pull request #445 from crondog/assign
...
cmd_assign
9 years ago
crondog
81caf89ff8
cmd_assign
...
This implements cmd_assign. Basically a copy and paste from
cmd_for_window however it has → handling and injects a `move container to
workspace`
9 years ago
Mikkel Oscar Lyderik
0ba3f08f52
Strip quotes from workspace name v2
...
This is a more general fix for #444
This reverts part of commit 222f0d44fc
.
9 years ago
Mikkel Oscar Lyderik
fc8e5703a5
Strip quotes of each argv when handling command
9 years ago
Mikkel Oscar Lyderik
222f0d44fc
Strip quotes from workspace name.
...
Fix #444
This is a temporary fix, the real fix is to store the commands as a
formatted argv array, so they don't have to be reformatted all over the
place.
9 years ago
Drew DeVault
46992d6060
Merge pull request #443 from mikkeloscar/binding-event-input_code
...
Add bindcode to binding events.
9 years ago
Mikkel Oscar Lyderik
15621ea8ff
Add backwards compatability for binding event
9 years ago
Mikkel Oscar Lyderik
e3ddcaabc4
Add bindcode to binding events.
9 years ago
Mikkel Oscar Lyderik
93c93dd0f7
Make enable-binding-event option have an affect.
...
The option was added to late so it was never set in the build.
9 years ago
Drew DeVault
7388e1ecd8
Merge pull request #442 from mikkeloscar/bincode
...
Add support for bincode command
9 years ago
Mikkel Oscar Lyderik
f8b260d4a1
Add support for bincode command
...
If a bindsym and bincode maps to the same combination, the last one will
overwrite any previous mappings.
9 years ago
Drew DeVault
b4ea9d492c
Make wallpaper optional (cmake flag)
9 years ago
Mikkel Oscar Lyderik
cb8ac7fd4a
Unescape string after doing var replacement
...
Fix #426
9 years ago
Drew DeVault
e2d49afb4a
Merge pull request #438 from mikkeloscar/binding-event
...
Implement IPC binding event (keyboard)
9 years ago
Mikkel Oscar Lyderik
15cbc53a77
Make IPC binding event support a compile time opt.
9 years ago
Mikkel Oscar Lyderik
14147ac056
Reduce duplicate code
9 years ago
Mikkel Oscar Lyderik
6392abe35b
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
9 years ago
Mikkel Oscar Lyderik
32cd3f70eb
Add function for duplication a sway_binding
9 years ago
Mikkel Oscar Lyderik
dffacea831
Add function for getting list of modifier names.
...
Get an array of modifier names from modifier masks.
9 years ago
Drew DeVault
320c2915b0
Merge pull request #439 from mikkeloscar/bindsym-release
...
Implement bindsym --release
9 years ago
Mikkel Oscar Lyderik
55f63935ab
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.
9 years ago