Commit graph

30 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
Drew DeVault 3fca8b8d22 Split swaylock into separate project 2019-01-13 21:40:26 -05:00
Drew DeVault bc808680b1 Split swayidle from sway 2019-01-12 11:24:06 -05:00
Réouven Assouly 1450a9e9f9 completion: use jq instead of sed for swaybar completion 2019-01-02 21:38:32 -05:00
Réouven Assouly cf00fb2ccc zsh: update completions 2019-01-02 21:38:32 -05:00
Ian Fan 1fd62d3e0c Fix swaylock zsh completions 2018-08-16 23:21:30 +01: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
Eric Engestrom 52a27f1529 delete references to swaygrab 2018-07-30 16:24:46 +01:00
Eric Engestrom 9f59885928 zsh: fix sway completion 2018-07-30 15:22: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
Tony Crisci 517af37cc9 remove relevant CMakeLists.txt 2017-11-30 11:54:01 -05:00
nyorain c0f2acce4e Rework get_clipboard implementation 2017-07-07 21:51:34 +02:00
azarus 5d670525a7 Fix zsh completion for _swaylock 2017-07-03 21:30:13 +02:00
Andrew Conrad 54e7225e28
Correct swaylock man page description of -i and -c 2017-06-18 21:58:19 -05:00
Wouter van Kesteren 09b9106550 Use CMAKE_INSTALL_FULL_DATA{,ROOT}DIR
Exherbo installs architecture dependent data in a different place than architecture
independent data. More concretely: binaries go in /usr/$chost/{bin,lib},
data goes in /usr/share and configs in /etc, /etc is already configurable
through CMAKE_INSTALL_FULL_SYSCONFDIR but the datadir was not. This
patch fixes it so that things can be pushed in the right places.
2016-12-17 01:00:39 +01:00
Seth Barberee 6ec51e3350 Update _swaylock
added new option of daemonize (-f --daemonize) that was added to swaylock in https://github.com/SirCmpwn/sway/pull/750 and added socket completion upon reading more into swaylock/main.c  (it also is in the usage help but never had it in completion)
2016-07-18 23:35:53 -05:00
Zandr Martin 54d38d3931 add --no-unlock-indicator to swaylock 2016-05-26 10:16:34 -05:00
Seth Barberee 4cb30880ca fixed config help 2016-02-01 14:53:45 -06:00
Seth Barberee aa06ee4fbd refactored to include single dash 2016-01-31 22:39:08 -06: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
Mikkel Oscar Lyderik 34948c7ee1 Autocomplete scale options 2016-01-29 02:48:48 +01:00
Mikkel Oscar Lyderik 25361fa67a complete image, not color 2016-01-29 02:45:01 +01:00
Mikkel Oscar Lyderik 65a03ab502 Add files completion to _swaylock 2016-01-29 02:42:50 +01:00
Aaron Ouellette 7ac0fbe8e3 zsh completions for swaylock 2016-01-28 20:20:15 -05:00
Seth Barberee 1ce1fa3d18 refactored to include single dash options 2016-01-26 15:22:17 -06:00
Seth Barberee f8edda5939 restructured to include single dash options 2016-01-22 10:45:21 -06:00
Seth Barberee fcd0071555 added basic zsh shell completion for sway, swaybg, and swaygrab 2016-01-17 22:06:26 -06:00