Christoph Gysin
88368362df
swaymsg: add newline after response
9 years ago
Christoph Gysin
99af7e7c9c
move manpages to subfolders
9 years ago
Christoph Gysin
cce9c338c0
cmake: build common code only once
...
This creates (static) libraries for protocols/, common/, and wayland/.
9 years ago
Christoph Gysin
c9ce15aa18
cmake: remove subprojects
9 years ago
Christoph Gysin
2dedf206d7
cmake: use out-of-source build
9 years ago
Christoph Gysin
f7ec3d00a0
cmake: use tabs instead of spaces
9 years ago
Christoph Gysin
905966bcae
cmake: style consistency
9 years ago
Christoph Gysin
2429266e3e
cmake: convert all cmake commands to lowercase
9 years ago
Christoph Gysin
923c3245ac
Fix option parsing
...
Using 'flag' results in duplicate code paths for short and long options.
This broke the -q short option in swaymsg, because there was:
{"quiet", no_argument, &quiet, 'q'}
Which will set quiet to 'q' and return 0, not 'q'.
9 years ago
Christoph Gysin
bf97a5ada5
swaymsg: Add --help option that prints usage
9 years ago
Christoph Gysin
0d55d1a067
swaymsg: Print usage and exit on unknown options
9 years ago
Christoph Gysin
3ba33321de
Use macros for exit values
9 years ago
Drew DeVault
062c74b7d0
Add command line to swaygrab
...
Also modifies IPC client so that we can work with persistent
connections.
9 years ago
Drew DeVault
27f03c705d
Move IPC client into common, refactor IPC
9 years ago
Drew DeVault
5ae359279b
Fix build warnings
9 years ago
Drew DeVault
a1018f3280
Implement swaymsg IPC behavior
9 years ago
Drew DeVault
9a15371ba3
Parse command line args for swaymsg
9 years ago
Drew DeVault
d69cbeabc0
Add swaymsg subproject
9 years ago