diff options
author | emersion <[email protected]> | 2018-05-27 20:11:04 +0100 |
---|---|---|
committer | GitHub <[email protected]> | 2018-05-27 20:11:04 +0100 |
commit | c3b8c7cfb4f07f058a2c67b19e35baffbde929ad (patch) | |
tree | 8870a8acc8d92d10d64e9d3d9bfdd28dedb6eea7 /sway/sway.5.scd | |
parent | 0743b21cc89141c6783210a1f20b6b372b24ae59 (diff) | |
parent | a78a5684ea8a19e54d797ab6cddd2f81f88360a5 (diff) |
Merge pull request #2056 from frsfnrrg/add-binding-locked
Implement bindsym/bindcode --locked
Diffstat (limited to 'sway/sway.5.scd')
-rw-r--r-- | sway/sway.5.scd | 9 |
1 files changed, 6 insertions, 3 deletions
diff --git a/sway/sway.5.scd b/sway/sway.5.scd index e6bc5a1e..5d99c9d6 100644 --- a/sway/sway.5.scd +++ b/sway/sway.5.scd @@ -186,17 +186,20 @@ runtime. for\_window <criteria> move container to workspace <workspace> -*bindsym* <key combo> <command> +*bindsym* [--release|--locked] <key combo> <command> Binds _key combo_ to execute the sway command _command_ when pressed. You may use XKB key names here (*xev*(1) is a good tool for discovering these). + With the flag _--release_, the command is executed when the key combo is + released. Unless the flag _--locked_ is set, the command will not be run + when a screen locking program is active. Example: # Execute firefox when alt, shift, and f are pressed together bindsym Mod1+Shift+f exec firefox - *bindcode* <code> <command> is also available for binding with key codes - instead of key names. + *bindcode* [--release|--locked] <code> <command> is also available for + binding with key codes instead of key names. *client.<class>* <border> <background> <text> <indicator> <child\_border> Configures the color of window borders and title bars. All 5 colors are |