Commit graph

11 commits

Author SHA1 Message Date
Peter Grayson bedf2ac2fb Add -p/--pretty option to swaymsg
This new option forces pretty (non-raw/non-JSON) output. By default, when
not using a tty, swaymsg outputs using the "raw" format. This makes it
impossible to, for example, pipe the pretty output to a pager such as
`less` since piping does not use a tty.

The new -p/--pretty option gives the user explicit control over the output
format while retaining the default tty-dependent behavior.

Signed-off-by: Peter Grayson <pete@jpgrayson.net>
2019-03-11 10:56:20 -04:00
Réouven Assouly cf00fb2ccc zsh: update completions 2019-01-02 21:38:32 -05:00
Ian Fan 3edaf2ce2a ipc: add tick event 2018-08-01 16:57:15 +01:00
Ian Fan 33433c6434 Add missing swaymsg completions 2018-08-01 16:57:15 +01:00
emersion ba3511b243 Remove clipboard command and get_clipboard message 2018-07-10 22:09:21 +01:00
Ryan Dwyer c72940837c Implement IPC get_seats command 2018-05-12 18:17:36 +10:00
nyorain c0f2acce4e Rework get_clipboard implementation 2017-07-07 21:51:34 +02:00
Mikkel Oscar Lyderik 6793648f8e use tabs 2016-01-29 03:24:21 +01:00
Mikkel Oscar Lyderik 10e50b690a Improve _swaymsg and _swaygrab completions 2016-01-29 03:06:13 +01:00
Seth Barberee 1ce1fa3d18 refactored to include single dash options 2016-01-26 15:22:17 -06:00
Seth Barberee fcd0071555 added basic zsh shell completion for sway, swaybg, and swaygrab 2016-01-17 22:06:26 -06:00