1
1
mirror of https://github.com/swaywm/sway synced 2024-11-26 09:03:54 +01:00
sway/swaymsg
Peter Grayson b7fe5097e9 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-08 14:29:39 -05:00
..
main.c Add -p/--pretty option to swaymsg 2019-03-08 14:29:39 -05:00
meson.build Removed unused wlroots dependency for sway(bg|bar|msg|nag) 2019-01-21 13:04:15 -05:00
swaymsg.1.scd Add -p/--pretty option to swaymsg 2019-03-08 14:29:39 -05:00