Commit graph

47 commits

Author SHA1 Message Date
Jason Nader
45859be03f i3-compat: add GET_BINDING_STATE IPC command 2020-06-14 00:55:14 -04:00
Eric Engestrom
9b5895be63 bash completion: swaymsg accepts --version, not --verbose 2020-05-15 13:04:32 +02:00
Jason
55016729a5 Update fish completions
`--config` should autocomplete filepaths
2020-03-13 10:11:25 +01:00
Peter Grayson
1a9145e409 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-08 15:28:35 -05:00
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
Tim Sampson
cdf30033af fish: improve completions a little bit 2019-02-23 09:17:02 +01: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
Gaël PORTAY
3b4cf3718b bash: add completion for swaybar 2018-12-31 22:35:57 -05: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
madblobfish
31d1ffb88f added fish completions for swaynag 2018-10-27 16:54:32 +02:00
madblobfish
834f23f57a added fish completions for swayidle 2018-10-27 16:54:20 +02:00
madblobfish
cff62bf846 updated fish completions for swaylock 2018-10-27 15:25:03 +02:00
Martin Kalchev
4f57c3da0e added untested files 2018-08-26 18:53:51 +03: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
Drew DeVault
878d1ddd07
Merge pull request #2387 from 1ace/feature/bash-completion
bash completion
2018-07-30 13:11:20 -04:00
Eric Engestrom
52a27f1529 delete references to swaygrab 2018-07-30 16:24:46 +01:00
Eric Engestrom
c4b4da5dc4 bash: add completion for swayidle 2018-07-30 15:56:15 +01:00
Eric Engestrom
4a8a19d21f bash: add completion for swaylock 2018-07-30 15:56:15 +01:00
Eric Engestrom
21609f8af2 bash: add completion for swaymsg 2018-07-30 15:56:15 +01:00
Eric Engestrom
27e89cf61d bash: add completion for sway 2018-07-30 15:56:15 +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