]> git.sur5r.net Git - i3/i3/blobdiff - docs/userguide
Merge pull request #3070 from orestisf1993/issue-3068
[i3/i3] / docs / userguide
index 7a1621da86e86af18c423da3f1f42ec02ac3ee8f..0258e2ab78e82ef8942130938897cf6b7cd3ca48 100644 (file)
@@ -1377,7 +1377,7 @@ and will be removed in a future release. We strongly recommend using the more ge
 
 *Syntax*:
 ----------------------------
-bindsym button<n> <command>
+bindsym [--release] button<n> <command>
 ----------------------------
 
 *Example*:
@@ -1385,6 +1385,8 @@ bindsym button<n> <command>
 bar {
     # disable clicking on workspace buttons
     bindsym button1 nop
+    # Take a screenshot by right clicking on the bar
+    bindsym --release button3 exec --no-startup-id import /tmp/latest-screenshot.png
     # execute custom script when scrolling downwards
     bindsym button5 exec ~/.i3/scripts/custom_wheel_down
 }