S. Christoffer Eliesen
e3837ba634
commands: Gracefully handle empty commands.
...
Before this patch sway would proceed into find_handler which would cause
a crash trying to parse a NULL string.
This could be triggered via e.g. `i3-msg -s $(sway --get-socketpath)`.
9 years ago
S. Christoffer Eliesen
71ebe8c36b
commands: Catch empty exec with --no-startup-id cases.
9 years ago
S. Christoffer Eliesen
71bcee4f96
commands: Ignore exec switch "--no-startup-id".
...
When using an i3 config verbatim in sway this switch to exec or
exec_always might appear.
Before this patch the switch would be passed to /bin/sh, causing
an error, and the command would not be run.
9 years ago
taiyu
18f4905e62
#187 , let init handle child processes
9 years ago
taiyu
7672886cb5
dont log empty config lines
9 years ago
taiyu
0d51f62224
merge + no c_extensions
9 years ago
Drew DeVault
318e1be240
Fix warnings introduced by prior commit
9 years ago
Drew DeVault
8e25ce4e57
Fix build for debian stretch
...
Fixes #182
9 years ago
taiyu
a04f645d7c
style, safer fork
9 years ago
taiyu
a18caf6706
nomacro
9 years ago
taiyu
0bea2e2122
multi command keybinds
9 years ago
Drew DeVault
e505abfe75
Revert "new_workspace null behavior + testmap functions + regex"
...
This reverts commit e1d18e42a8
.
Fixes #180
cc @taiyu-len
9 years ago
taiyu
2093d4ddee
cmd_for_window dummy function
9 years ago
taiyu
e1d18e42a8
new_workspace null behavior + testmap functions + regex
9 years ago
taiyu
aaa0923bc4
cmd status + workspace ws output op
9 years ago
taiyu
6388241abb
mode supports multi token names
9 years ago
taiyu
799ff640f8
remove old things
9 years ago
taiyu
aa22dc3113
var replacement changes
9 years ago
taiyu
d673a72705
set variable changes
9 years ago
taiyu
3eb29ea736
strdup + style
9 years ago
taiyu
71af5b7dde
config modes
9 years ago
taiyu
3e9cdfd6a3
man page
9 years ago
taiyu
f25c6b312b
gap resize
9 years ago
taiyu
afa6747145
enum for command type
9 years ago
taiyu
4cd18449d2
better handling of commands during config
9 years ago
taiyu
dbeca88dee
default gap value
9 years ago
taiyu
972748e674
cleaned up leaky prev_workspace_name
9 years ago
Luminarys
12e96f0f9e
Added in workspace_auto_back_and_forth
9 years ago
Luminarys
23f040133d
Removed unnecessary debug line
9 years ago
Luminarys
fe2ec8a676
Added in workspace back_and_forth
9 years ago
taiyu
f787fac8fc
#153 add "ctrl" and "alt" to modifiers struct
9 years ago
Luminarys
28e937020a
Made scratchpad handling identical to i3
9 years ago
Luminarys
167409702f
Fixed move scratchpad and added in scratchpad show
9 years ago
Luminarys
7eefecf479
Added in scratchpad adding
9 years ago
taiyu
63e735270c
move v3
9 years ago
taiyu
28c22c8f80
style
9 years ago
taiyu
1820b3f0bb
move function redone
9 years ago
Luminarys
acb3fbdfb5
Added in default_orientation handling
9 years ago
taiyu
4df64127e9
slight fix
9 years ago
taiyu
1fa7a91bfb
move_container_to fixup
9 years ago
minus
e854a54e96
changed workspace_{outout_,}{next,prev} to return workspace
...
so it can be reused for "move container to workspace next"
9 years ago
minus
03e4a97dbe
added "move container to workspace"
...
makes the previous commit actually testable
9 years ago
taiyu
c8415d7fef
split_string memory leaks cleanedup
9 years ago
Luminarys
7a21388997
Minor fix
9 years ago
Luminarys
e01cf0b566
Added in glitchy disabling
9 years ago
Luminarys
98fad060e2
Added in glitchy disabling
9 years ago
Drew DeVault
b7f4607544
Implement output configuration through config
...
Do not use `output res WIDTHxHEIGHT` yet, wlc has issues with it (cc
@Cloudef)
9 years ago
Luminarys
f6b16ca089
Refactored resizing functions into resize.c
9 years ago
Luminarys
ad1ca31dd5
Altered resize command to prevent resizing past min h/w
9 years ago
Luminarys
63a3236064
Fixed resizing
9 years ago
taiyu
d2e1c660b1
swayc_is_fullscreen
9 years ago
taiyu
1a1ac64662
bugfixes, renames
9 years ago
minus
8dfaf6265b
fixed #108 signed/unsigned comparison
9 years ago
Drew DeVault
a436fc17ff
Merge pull request #105 from Half-Shot/master
...
Basic 'move' functionality.
9 years ago
Drew DeVault
464b49eda2
Merge pull request #101 from Luminarys/master
...
Added in basic resizing command.
9 years ago
Luminarys
f589731f29
Rewrite of resize command to make it more sane
9 years ago
Half-Shot
68213d57c5
Fixed style errors
9 years ago
Half-Shot
713bf29ec9
Few stray bits
9 years ago
Half-Shot
5a9ba261bc
Merge branch 'master' of https://github.com/SirCmpwn/sway
9 years ago
Half-Shot
2a62c5c7fb
Basic left right move command implemented.
9 years ago
taiyu
36e07e9ebc
find_parent_by_type
9 years ago
Luminarys
c9935507f2
Style fixes
9 years ago
Luminarys
d06732e1a8
Altered incorrect comment
9 years ago
Luminarys
bc3babf566
Added in basic resize command
9 years ago
minus
f26ed32e46
added sway_terminate to exit cleanly
9 years ago
minus
91c0877264
properly exit sway
...
- wlc_terminate() instead of exit(0)
- unlink IPC socket
9 years ago
Drew DeVault
579fe70ed9
Add command line parsing
...
Closes #6
9 years ago
taiyu
f5fde7c45c
style
9 years ago
taiyu
fbaa9111a8
setup for resizable windows, drop weight
9 years ago
taiyu
5ff0619ca1
input state, find_container_in_direction
9 years ago
taiyu
470b4dfbae
key_state.ch, and command conflicts resolved
9 years ago
Luminarys
29b6b2f37b
Fixed mode_toggle
9 years ago
taiyu
48a983316c
floating mode_toggle
9 years ago
taiyu
289aab9f0a
removed debug which shouldnt be there
9 years ago
taiyu
8205a6fd3b
floating_modifier uses mod_keys instead of anykey
9 years ago
Drew DeVault
8fb2e7e34e
Merge pull request #79 from taiyu-len/master
...
fixed floating_modifier related things
9 years ago
Syed Amer Gilani
95517ac77e
fix a few possible memory leaks
9 years ago
taiyu
c5a6982893
fixed some more bugs, moved layout_log into log.ch, restored focus_parent
9 years ago
taiyu
e16a4015ff
fixed focus key handler
9 years ago
Drew DeVault
cf916bbf6f
Improvements to gaps
9 years ago
KoffeinFlummi
c75d5ceba4
Merge remote-tracking branch 'upstream/master' into gaps
9 years ago
KoffeinFlummi
4c688cba4e
Add support for gaps option
9 years ago
Half-Shot
f314d95103
Merge branch 'master' of https://github.com/SirCmpwn/sway
9 years ago
Will Hunt
d6ab5e481b
Beguin work on the move command.
...
Stubbed method.
9 years ago
taiyu
03e83c7ef9
restored fullscreen/focus behavior
9 years ago
Drew DeVault
85a573dab7
Revert "enhanced whitespace remover"
...
This reverts commit abd0afb03a
.
9 years ago
Drew DeVault
2139001c9f
Coding style enforcement
...
This was done by hand, so I might have missed things. If anyone knows of
a good C style enforcement tool, let me know.
9 years ago
Drew DeVault
2f6dd0687b
Merge pull request #65 from taiyu-len/focus_v2
...
Focus v2
9 years ago
taiyu
abd0afb03a
enhanced whitespace remover
9 years ago
taiyu
4606fb1ee3
merged Luminarys resizing code
9 years ago
taiyu
11321ca2dd
changed handling of focus, handling of view by type
9 years ago
Luminarys
e541ba3d87
Added in basic, but semi-broken moving/resizing functionality to floating windows
9 years ago
Drew DeVault
780893a933
Add support for workspace [name] output [name]
9 years ago
Luminarys
3f475f5009
Minor fix to do proper floating refocuses
9 years ago
Luminarys
47ec999e71
Fixes to floating and umanaged views
9 years ago
Luminarys
05f969074e
Added in basic floating toggling
9 years ago
Luminarys
6b80879ec9
Minor naming fix workspace changing commands
9 years ago
Drew DeVault
7f4529ec8b
Merge pull request #44 from Luminarys/master
...
Added in workspace next/prev and workspace output_next/prev
9 years ago
taiyu
5b860c67c3
fixed split [vh], small memory leak, unescape_strings handle \xnn
9 years ago
Luminarys
0a0fe18fd6
Added in workspace next/prev and workspace output_next/prev
9 years ago