aboutsummaryrefslogtreecommitdiff
path: root/swaymsg
AgeCommit message (Collapse)Author
2017-10-13fintune swaymsg manpagemadblobfish
Added a hint where to find the commands. Also indicate that command is itself not a command,
2017-10-08Merge pull request #1263 from nyorain/masterDrew DeVault
Implement get_clipboard ipc message
2017-10-06Fix github links in docZuzana Svetlikova
2017-07-11Add get_clipbard ipc errors; Adapt swaymsgnyorain
Also increase the get_clipboard timeout to 30 secs
2017-07-07Rework get_clipboard implementationnyorain
2017-07-07Implement ipc get_clipboardnyorain
2017-07-04Make asciidoc (and man pages) optionalDrew DeVault
And remove it from the build
2017-04-26Add -DVERSION flag for release version numbersSebastian Noack
2017-04-03Add pretty printing to swaymsgDrew DeVault
If stdout is a tty, it will pretty print unless -r (--raw) is given. Sample outputs: ``` ~/s/s/build > ./bin/swaymsg fullscreen toggle Error: Permission denied for fullscreen toggle via IPC ~/s/s/build > ./bin/swaymsg -t get_workspaces Workspace 3:三 Output: DVI-I-1 Layout: splith Workspace 1:一 (off-screen) Output: HDMI-A-1 Layout: splith Workspace 5:五 (focused) Output: HDMI-A-1 Layout: splith ~/s/s/build > ./bin/swaymsg -t get_inputs Input device Metadot - Das Keyboard Das Keyboard Type: Keyboard Sway ID: 9456:320:Metadot_-_Das_Keyboard_Das_Keyb Input device Wacom Intuos S 2 Pen Type: Tablet tool Sway ID: 1386:827:Wacom_Intuos_S_2 Input device Wacom Intuos S 2 Pad Type: Tablet pad Sway ID: 1386:827:Wacom_Intuos_S_2 Input device Logitech Gaming Mouse G502 Type: Keyboard, Mouse Sway ID: 1133:49277:Logitech_Gaming_Mous ~/s/s/build > ./bin/swaymsg -t get_outputs Output DVI-I-1 Geometry: 1920x1080 @ 3840,0 Scale factor: 1x Workspace: 3:三 Output DVI-D-1 Geometry: 1920x1080 @ 0,0 Scale factor: 1x Workspace: 4:四 Output HDMI-A-1 Geometry: 1920x1080 @ 1920,0 Scale factor: 1x Workspace: 5:五 ```
2017-03-10UnGNUify the codebaseDrew DeVault
2016-12-09Fix build on FreeBSDGreg V
- Make sure CMake always finds absolute paths for Cairo, Pango and GdkPixbuf - Add forgotten json-c include path to swaymsg/CMakeLists.txt - Disable -Werror because of assert warnings - Add correct /proc/pid/file path for FreeBSD - Use libepoll-shim on FreeBSD - Only use Linux capabilities on, well, Linux
2016-07-31swaymsg: pretty print ipc responseTony Crisci
fixes #809
2016-02-26Correctly exit sway on errors.Mikkel Oscar Lyderik
Calling `exit` in sway_terminate prevents sway from correctly shutting down (freeing data, cleanly terminating the ipc server, etc.). A better way is to exit straight away if the failure occurs before `wlc_run` and use sway_abort as usual if it occur when wlc is running.
2016-01-19libinputCole Mickens
2015-12-05Merge pull request #292 from christophgysin/manDrew DeVault
move manpages to subfolders
2015-12-02swaymsg: add newline after responseChristoph Gysin
2015-12-02move manpages to subfoldersChristoph Gysin
2015-12-02cmake: build common code only onceChristoph Gysin
This creates (static) libraries for protocols/, common/, and wayland/.
2015-12-01cmake: remove subprojectsChristoph Gysin
2015-12-01cmake: use out-of-source buildChristoph Gysin
2015-12-01cmake: use tabs instead of spacesChristoph Gysin
2015-12-01cmake: style consistencyChristoph Gysin
2015-12-01cmake: convert all cmake commands to lowercaseChristoph Gysin
2015-11-28Fix option parsingChristoph Gysin
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'.
2015-11-28swaymsg: Add --help option that prints usageChristoph Gysin
2015-11-28swaymsg: Print usage and exit on unknown optionsChristoph Gysin
2015-11-28Use macros for exit valuesChristoph Gysin
2015-11-27Add command line to swaygrabDrew DeVault
Also modifies IPC client so that we can work with persistent connections.
2015-11-27Move IPC client into common, refactor IPCDrew DeVault
2015-11-27Fix build warningsDrew DeVault
2015-11-26Implement swaymsg IPC behaviorDrew DeVault
2015-11-26Parse command line args for swaymsgDrew DeVault
2015-11-26Add swaymsg subprojectDrew DeVault