Skip to content

one_shot setting per commands group  #13

@chrishoage

Description

@chrishoage

Perhaps this is out of scope, if so please feel free to close.

I am hoping for a one_shot command per commands group.

This is my current config

[swipe.commands.three]
left = "xvkbd -xsendevent -text '\\[XF86Forward]'"
right = "xvkbd -xsendevent -text '\\[XF86Back]'"


[swipe.commands.four]
left = "bspc desktop -f prev.local"
right = "bspc desktop -f next.local"

[swipe.settings]
threshold = 0.50
one_shot = false
trigger_on_release = false

What I would like, is something like this

[swipe.commands.three]
left = "xvkbd -xsendevent -text '\\[XF86Forward]'"
right = "xvkbd -xsendevent -text '\\[XF86Back]'"
one_shot = true

[swipe.commands.four]
left = "bspc desktop -f prev.local"
right = "bspc desktop -f next.local"

[swipe.settings]
threshold = 0.50
one_shot = false
trigger_on_release = false

My reasoning is that continuous swiping though workspaces is nice when there are many to scroll though to not have to preform the action multiple times.

However, continuous swiping with back / forward in the browser can be disorienting and be difficult to get back to exactly where you were.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions