Implement new 'sticky' command to manually set, remove or toggle the sticky state on a window.
This commit is contained in:
@ -29,6 +29,7 @@ state INITIAL:
|
||||
'kill' -> KILL
|
||||
'open' -> call cmd_open()
|
||||
'fullscreen' -> FULLSCREEN
|
||||
'sticky' -> STICKY
|
||||
'split' -> SPLIT
|
||||
'floating' -> FLOATING
|
||||
'mark' -> MARK
|
||||
@ -183,6 +184,11 @@ state FULLSCREEN_COMPAT:
|
||||
end
|
||||
-> call cmd_fullscreen("toggle", "output")
|
||||
|
||||
# sticky enable|disable|toggle
|
||||
state STICKY:
|
||||
action = 'enable', 'disable', 'toggle'
|
||||
-> call cmd_sticky($action)
|
||||
|
||||
# split v|h|vertical|horizontal
|
||||
state SPLIT:
|
||||
direction = 'horizontal', 'vertical', 'v', 'h'
|
||||
|
Reference in New Issue
Block a user