Is doubleclick among mousebinds?
I cannot find doubleclick in the documentation and these forums. Is it available for mousebind?
add a comment
I cannot find doubleclick in the documentation and these forums. Is it available for mousebind?
One possible way is you can define a mode, and bind mouse click to it and bind mouse click again inside the mode. Like this:
set $Locker i3lock-wrapper -l && sleep 1
mode "test" {
bindsym --release button1 exec --no-startup-id $Locker, mode "default"
# back to normal: Enter or Escape
bindsym Return mode "default"
bindsym Escape mode "default"
}
bindsym --release button1 mode "test"
By default, the binding will only run when you click on the titlebar of the window.
When I double click window title bar, my PC will be locked.
No, there's no built in way to do this in i3.
Asked: 2015-09-15 18:50:58 +0000
Seen: 66 times
Last updated: Sep 18