applied sanders man page patch, removed button2 from bar click
3e06edeb
2 file(s) · +24 −22
| 36 | 36 | .B Standard input |
|
| 37 | 37 | is read and displayed in the status text area. |
|
| 38 | 38 | .TP |
|
| 39 | - | .B Button[1,2] |
|
| 40 | - | click on a tag label focuses that |
|
| 41 | - | .B tag. |
|
| 39 | + | .B Button1 |
|
| 40 | + | click on a tag label views all windows with that |
|
| 41 | + | .BR tag . |
|
| 42 | 42 | .TP |
|
| 43 | 43 | .B Button3 |
|
| 44 | - | click on a tag label toggles that |
|
| 45 | - | .B tag. |
|
| 44 | + | click on a tag label adds/removes all windows with that |
|
| 45 | + | .B tag |
|
| 46 | + | to/from the view. |
|
| 46 | 47 | .SS Keyboard commands |
|
| 47 | 48 | .TP |
|
| 48 | 49 | .B Mod1-Return |
|
| 54 | 55 | .TP |
|
| 55 | 56 | .B Mod1-j |
|
| 56 | 57 | Focus next |
|
| 57 | - | .B window. |
|
| 58 | + | .BR window . |
|
| 58 | 59 | .TP |
|
| 59 | 60 | .B Mod1-k |
|
| 60 | 61 | Focus previous |
|
| 61 | - | .B window. |
|
| 62 | + | .BR window . |
|
| 62 | 63 | .TP |
|
| 63 | 64 | .B Mod1-m |
|
| 64 | 65 | Maximize current |
|
| 65 | - | .B window. |
|
| 66 | + | .BR window . |
|
| 66 | 67 | .TP |
|
| 67 | 68 | .B Mod1-[0..n] |
|
| 68 | - | Focus |
|
| 69 | - | .B nth tag. |
|
| 69 | + | View all windows with |
|
| 70 | + | .BR "tag n" . |
|
| 70 | 71 | .TP |
|
| 71 | 72 | .B Mod1-space |
|
| 72 | 73 | Toggle between |
|
| 80 | 81 | Apply |
|
| 81 | 82 | .B nth tag |
|
| 82 | 83 | to current |
|
| 83 | - | .B window. |
|
| 84 | + | .BR window . |
|
| 84 | 85 | .TP |
|
| 85 | 86 | .B Mod1-Shift-c |
|
| 86 | 87 | Close focused |
|
| 92 | 93 | .TP |
|
| 93 | 94 | .B Mod1-Shift-Return |
|
| 94 | 95 | Start |
|
| 95 | - | .B terminal. |
|
| 96 | + | .BR terminal . |
|
| 96 | 97 | .TP |
|
| 97 | 98 | .B Mod1-Control-[0..n] |
|
| 98 | - | Toggle |
|
| 99 | - | .B nth tag. |
|
| 99 | + | Add/remove all windows with |
|
| 100 | + | .B tag n |
|
| 101 | + | to/from the view. |
|
| 100 | 102 | .TP |
|
| 101 | 103 | .B Mod1-Control-Shift-[0..n] |
|
| 102 | - | Append |
|
| 104 | + | Add/remove |
|
| 103 | 105 | .B nth tag |
|
| 104 | - | to current |
|
| 105 | - | .B window. |
|
| 106 | + | to/from current |
|
| 107 | + | .BR window . |
|
| 106 | 108 | .SS Mouse commands |
|
| 107 | 109 | .TP |
|
| 108 | 110 | .B Mod1-Button1 |
|
| 127 | 129 | code. This keeps it fast, secure and simple. |
|
| 128 | 130 | .SH CAVEATS |
|
| 129 | 131 | The status bar displays |
|
| 130 | - | .BR "broken pipe" |
|
| 132 | + | .B broken pipe |
|
| 131 | 133 | when |
|
| 132 | 134 | .B dwm |
|
| 133 | 135 | has been started by |
|
| 134 | 136 | .BR xdm (1), |
|
| 135 | 137 | because it closes standard output before executing |
|
| 136 | - | .B dwm. |
|
| 138 | + | .BR dwm . |
|
| 137 | 139 | .SH SEE ALSO |
|
| 138 | 140 | .BR dmenu (1) |
|
| 109 | 109 | for(a.i = 0; a.i < ntags; a.i++) { |
|
| 110 | 110 | x += textw(tags[a.i]); |
|
| 111 | 111 | if(ev->x < x) { |
|
| 112 | - | if(ev->button == Button3) |
|
| 113 | - | toggleview(&a); |
|
| 114 | - | else |
|
| 112 | + | if(ev->button == Button1) |
|
| 115 | 113 | view(&a); |
|
| 114 | + | else if(ev->button == Button3) |
|
| 115 | + | toggleview(&a); |
|
| 116 | 116 | return; |
|
| 117 | 117 | } |
|
| 118 | 118 | } |