added "toggle" option to "split" command

as requested in #1814
This commit is contained in:
Johannes Lange
2016-01-04 17:31:47 +01:00
parent a9f31b9dc9
commit 8bfd06c3dd
5 changed files with 62 additions and 13 deletions

View File

@ -191,9 +191,9 @@ state STICKY:
action = 'enable', 'disable', 'toggle'
-> call cmd_sticky($action)
# split v|h|vertical|horizontal
# split v|h|t|vertical|horizontal|toggle
state SPLIT:
direction = 'horizontal', 'vertical', 'v', 'h'
direction = 'horizontal', 'vertical', 'toggle', 'v', 'h', 't'
-> call cmd_split($direction)
# floating enable|disable|toggle