aboutsummaryrefslogtreecommitdiff
path: root/swaymsg
AgeCommit message (Collapse)AuthorLines
2018-07-18ipc: add tick eventFurkan Sahin-1/+10
2018-07-09Remove `clipboard` command and `get_clipboard` messageFurkan Sahin-48/+2
2018-07-08Add get_config message type to ipcFurkan Sahin-1/+17
2018-07-08Add get_binding_modes message type to ipcFurkan Sahin-0/+5
2018-07-09Update for swaywm/wlroots#1126Furkan Sahin-1/+1
2018-06-30refactor success_objectFurkan Sahin-5/+1
2018-06-30fix swaymsg: errors are displayed againFurkan Sahin-6/+21
Command errors didn't get displayed, because the success function didn't accept objects
2018-06-05Store sway_outputs so that they can be reenabledFurkan Sahin-20/+29
2018-05-29Add tree representation to IPC workspace descriptionFurkan Sahin-3/+7
2018-05-28swaymsg: Fix exit codeFurkan Sahin-4/+17
2018-05-25Delete old asciidoc man pagesFurkan Sahin-89/+0
2018-05-12Merge remote-tracking branch 'origin/master' into scdocFurkan Sahin-1/+39
2018-05-11Add swaylock(1) and swaymsg(1)Furkan Sahin-0/+66
2018-05-11Implement IPC get_seats commandFurkan Sahin-1/+39
2018-05-05swaymsg: Fix spelling in error messageFurkan Sahin-1/+1
2018-03-12ipc: add output modesFurkan Sahin-2/+24
2018-01-05swaymsg: convert to wlr_logFurkan Sahin-2/+2
2018-01-04update json-c dep to 0.13Furkan Sahin-1/+1
2017-12-29Pretty-print all output info in swaymsg -t get_outputsFurkan Sahin-3/+16
2017-12-19fix memory leak in swaymsgFurkan Sahin-1/+3
2017-12-18fix memory leak in swaymsgFurkan Sahin-1/+1
2017-12-18ipc get_inputsFurkan Sahin-39/+33
2017-11-30remove relevant CMakeLists.txtFurkan Sahin-23/+0
2017-11-30meson build swaymsgFurkan Sahin-0/+8
2017-10-13fintune swaymsg manpageFurkan Sahin-1/+3
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/masterFurkan Sahin-6/+57
Implement get_clipboard ipc message
2017-10-06Fix github links in docFurkan Sahin-1/+1
2017-07-11Add get_clipbard ipc errors; Adapt swaymsgFurkan Sahin-2/+14
Also increase the get_clipboard timeout to 30 secs
2017-07-07Rework get_clipboard implementationFurkan Sahin-14/+33
2017-07-07Implement ipc get_clipboardFurkan Sahin-1/+21
2017-07-04Make asciidoc (and man pages) optionalFurkan Sahin-1/+3
And remove it from the build
2017-04-26Add -DVERSION flag for release version numbersFurkan Sahin-5/+1
2017-04-03Add pretty printing to swaymsgFurkan Sahin-7/+184
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 codebaseFurkan Sahin-0/+2
2016-12-08Fix build on FreeBSDFurkan Sahin-0/+4
- 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 responseFurkan Sahin-3/+16
fixes #809
2016-02-26Correctly exit sway on errors.Furkan Sahin-2/+2
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-17libinputFurkan Sahin-0/+5
2015-12-05Merge pull request #292 from christophgysin/manFurkan Sahin-0/+74
move manpages to subfolders
2015-12-02move manpages to subfoldersFurkan Sahin-0/+74
2015-12-02cmake: build common code only onceFurkan Sahin-5/+5
This creates (static) libraries for protocols/, common/, and wayland/.
2015-12-01cmake: remove subprojectsFurkan Sahin-4/+2
2015-12-01cmake: use out-of-source buildFurkan Sahin-2/+0
2015-12-01cmake: use tabs instead of spacesFurkan Sahin-6/+6
2015-12-01cmake: style consistencyFurkan Sahin-3/+5
2015-12-01cmake: convert all cmake commands to lowercaseFurkan Sahin-2/+2
2015-11-28Fix option parsingFurkan Sahin-2/+3
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 usageFurkan Sahin-1/+3
2015-12-02swaymsg: add newline after responseFurkan Sahin-1/+1
2015-11-28swaymsg: Print usage and exit on unknown optionsFurkan Sahin-0/+11