[core/input] add default workspace wrap bindings (mouse wheel up/down)
This commit is contained in:
parent
d0bb0f9b7a
commit
ba24ba13db
4 changed files with 15 additions and 5 deletions
|
@ -83,6 +83,9 @@ def main():
|
|||
output = core.output.i3(theme, config)
|
||||
modules = []
|
||||
|
||||
core.input.register(None, core.input.WHEEL_UP, 'i3-msg workspace prev_on_output')
|
||||
core.input.register(None, core.input.WHEEL_DOWN, 'i3-msg workspace next_on_output')
|
||||
|
||||
input_thread = threading.Thread(target=handle_input, args=(output,))
|
||||
input_thread.daemon = True
|
||||
input_thread.start()
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue