aboutsummaryrefslogtreecommitdiffstats
path: root/swaymsg
Commit message (Collapse)AuthorAge
* Fix program name in version stringsLibravatar Ryan Dwyer2018-10-10
| | | | | | | | | | | | | When running swaymsg -v, the version returned is actually the version of swaymsg itself, yet the message displayed was "sway version <version>". This can create confusion if users update sway and swaymsg but don't restart sway, then use swaymsg to check the version. This patch changes the wording to be "swaymsg version <version>" instead, and likewise for swaybar. To get the version of a running sway instance, users should run swaymsg -t get_version.
* Add support for installing binaries with DT_RPATHLibravatar Arkadiusz Hiler2018-09-30
| | | | | | | | | | | | | | It's better to use DT_RPATH dynamic section of the elf binary to store the paths of libraries to load instead of overwriting LD_LIBRARY_PATH for the whole environment, causing surprises. This solution is much more transparent and perfectly suitable for running contained installations of wayland/wlroots/sway. The code unsetting the LD_LIBRARY_PATH/LD_PRELOAD was also deleted as it's a placebo security at best - we should trust the execution path that leads us to running sway, and it's way too late to care about those variables since we already started executing our compositor, thus we would be compromised anyway.
* ipc: add tick eventLibravatar Ian Fan2018-08-01
|
* Remove `clipboard` command and `get_clipboard` messageLibravatar emersion2018-07-10
|
* Add get_config message type to ipcLibravatar Ian Fan2018-07-10
|
* Add get_binding_modes message type to ipcLibravatar Ian Fan2018-07-10
|
* Update for swaywm/wlroots#1126Libravatar emersion2018-07-09
|
* refactor success_objectLibravatar Armin Preiml2018-06-30
|
* fix swaymsg: errors are displayed againLibravatar Armin Preiml2018-06-30
| | | | | Command errors didn't get displayed, because the success function didn't accept objects
* Store sway_outputs so that they can be reenabledLibravatar Brian Ashworth2018-06-06
|
* Add tree representation to IPC workspace descriptionLibravatar Ryan Dwyer2018-05-29
|
* swaymsg: Fix exit codeLibravatar Ryan Dwyer2018-05-28
|
* Delete old asciidoc man pagesLibravatar emersion2018-05-25
|
* Merge remote-tracking branch 'origin/master' into scdocLibravatar Drew DeVault2018-05-12
|\
| * Implement IPC get_seats commandLibravatar Ryan Dwyer2018-05-12
| |
* | Add swaylock(1) and swaymsg(1)Libravatar Drew DeVault2018-05-11
|/
* swaymsg: Fix spelling in error messageLibravatar Nicolas Braud-Santoni2018-05-05
|
* ipc: add output modesLibravatar emersion2018-03-12
|
* swaymsg: convert to wlr_logLibravatar Dominique Martinet2018-01-05
|
* update json-c dep to 0.13Libravatar Rachel K2018-01-04
|
* Pretty-print all output info in swaymsg -t get_outputsLibravatar emersion2017-12-29
|
* fix memory leak in swaymsgLibravatar Tony Crisci2017-12-19
|
* fix memory leak in swaymsgLibravatar Tony Crisci2017-12-18
|
* ipc get_inputsLibravatar Tony Crisci2017-12-18
|
* remove relevant CMakeLists.txtLibravatar Tony Crisci2017-11-30
|
* meson build swaymsgLibravatar Tony Crisci2017-11-30
|
* fintune swaymsg manpageLibravatar madblobfish2017-10-13
| | | | Added a hint where to find the commands. Also indicate that command is itself not a command,
* Merge pull request #1263 from nyorain/masterLibravatar Drew DeVault2017-10-08
|\ | | | | Implement get_clipboard ipc message
| * Add get_clipbard ipc errors; Adapt swaymsgLibravatar nyorain2017-07-11
| | | | | | | | Also increase the get_clipboard timeout to 30 secs
| * Rework get_clipboard implementationLibravatar nyorain2017-07-07
| |
| * Implement ipc get_clipboardLibravatar nyorain2017-07-07
| |
* | Fix github links in docLibravatar Zuzana Svetlikova2017-10-06
|/
* Make asciidoc (and man pages) optionalLibravatar Drew DeVault2017-07-04
| | | | And remove it from the build
* Add -DVERSION flag for release version numbersLibravatar Sebastian Noack2017-04-26
|
* Add pretty printing to swaymsgLibravatar Drew DeVault2017-04-03
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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:五 ```
* UnGNUify the codebaseLibravatar Drew DeVault2017-03-10
|
* Fix build on FreeBSDLibravatar Greg V2016-12-09
| | | | | | | | | - 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
* swaymsg: pretty print ipc responseLibravatar Tony Crisci2016-07-31
| | | | fixes #809
* Correctly exit sway on errors.Libravatar Mikkel Oscar Lyderik2016-02-26
| | | | | | | | 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.
* libinputLibravatar Cole Mickens2016-01-19
|
* Merge pull request #292 from christophgysin/manLibravatar Drew DeVault2015-12-05
|\ | | | | move manpages to subfolders
| * move manpages to subfoldersLibravatar Christoph Gysin2015-12-02
| |
* | swaymsg: add newline after responseLibravatar Christoph Gysin2015-12-02
|/
* cmake: build common code only onceLibravatar Christoph Gysin2015-12-02
| | | | This creates (static) libraries for protocols/, common/, and wayland/.
* cmake: remove subprojectsLibravatar Christoph Gysin2015-12-01
|
* cmake: use out-of-source buildLibravatar Christoph Gysin2015-12-01
|
* cmake: use tabs instead of spacesLibravatar Christoph Gysin2015-12-01
|
* cmake: style consistencyLibravatar Christoph Gysin2015-12-01
|
* cmake: convert all cmake commands to lowercaseLibravatar Christoph Gysin2015-12-01
|
* Fix option parsingLibravatar Christoph Gysin2015-11-28
| | | | | | | | | | 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'.