commands: Learn 'debuglog'.

Replicates i3 option. Verbosity level given as command line argument
becomes default log level, and using 'debuglog toggle' switches back and
forth between default and debug (or L_ERROR and debug if default is also
L_DEBUG).
This commit is contained in:
S. Christoffer Eliesen 2015-10-26 13:41:45 +01:00
parent eb847a1b1c
commit 9f02b0bf16
4 changed files with 52 additions and 0 deletions

View file

@ -28,6 +28,11 @@ Commands
execute Firefox if the alt, shift, and F keys are pressed together. Any
valid sway command is eligible to be bound to a key combo.
**debuglog** <on|off|toggle>::
Turn debug log output _on_ or _off_. This will override any command line
option given. _toggle_ will toggle between debug and log level given as
command line option.
**exec** <shell command>::
Executes _shell command_ with sh.