Commit graph

5 commits

Author SHA1 Message Date
Peter Grayson 7d8083c16a Add missing swaymsg completions
The `-m/--monitor` option was missing from the bash and fish completions.

The `subscribe` IPC message type was missing from the bash, fish, and zsh
completions.

Signed-off-by: Peter Grayson <pete@jpgrayson.net>
2019-03-11 10:56:20 -04:00
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
madblobfish e47b31c556 document swaymessage type for get_seats 2018-11-04 22:49:44 +01:00
madblobfish 4e20907364 improved swaymsg completions for fish 2018-10-31 17:56:33 +01:00
Martin Kalchev 4f57c3da0e added untested files 2018-08-26 18:53:51 +03:00