change a mouse bind

This commit is contained in:
speedie 2022-12-26 22:24:02 +01:00
parent 015fb9958b
commit 53d1ad4551
4 changed files with 11 additions and 10 deletions

View file

@ -1,4 +1,5 @@
# speedwm # speedwm
![image](/docs/preview.png)
## What is speedwm? ## What is speedwm?
@ -229,8 +230,8 @@ These binds can be activated using your mouse
- Tag <num> (Left click) - Switch to tag <num> - Tag <num> (Left click) - Switch to tag <num>
- Tag (Scrolling up/down) - Switch to the next/previous tag - Tag (Scrolling up/down) - Switch to the next/previous tag
- Layout indicator (Left click) - Switch to the next layout - Layout indicator (Left click) - Switch to the next layout
- Layout indicator (Middle click) - Switch to the previous layout - Layout indicator (Right click) - Switch to the previous layout
- Layout indicator (Right click) - Open a dmenu list of all layouts (requires speedwm-extras) - Layout indicator (Middle click) - Open a dmenu list of all layouts (requires speedwm-extras)
- Layout indicator (Scrolling up/down) - Switch to the next/previous layout - Layout indicator (Scrolling up/down) - Switch to the next/previous layout
- Window title (Right click) - Open speedwm-utils (requires speedwm-extras) - Window title (Right click) - Open speedwm-utils (requires speedwm-extras)
- Focused window (Super+Alt+Left click) - Move the focused window around - Focused window (Super+Alt+Left click) - Move the focused window around

View file

@ -180,8 +180,8 @@ These binds can be activated using your mouse
- Tag <num> (Left click) - Switch to tag <num> - Tag <num> (Left click) - Switch to tag <num>
- Tag (Scrolling up/down) - Switch to the next/previous tag - Tag (Scrolling up/down) - Switch to the next/previous tag
- Layout indicator (Left click) - Switch to the next layout - Layout indicator (Left click) - Switch to the next layout
- Layout indicator (Middle click) - Switch to the previous layout - Layout indicator (Right click) - Switch to the previous layout
- Layout indicator (Right click) - Open a dmenu list of all layouts (requires speedwm-extras) - Layout indicator (Middle click) - Open a dmenu list of all layouts (requires speedwm-extras)
- Layout indicator (Scrolling up/down) - Switch to the next/previous layout - Layout indicator (Scrolling up/down) - Switch to the next/previous layout
- Window title (Right click) - Open speedwm-utils (requires speedwm-extras) - Window title (Right click) - Open speedwm-utils (requires speedwm-extras)
- Focused window (Super+Alt+Left click) - Move the focused window around - Focused window (Super+Alt+Left click) - Move the focused window around

View file

@ -22,9 +22,9 @@
/* Actions when the mouse clicks a part of the screen */ /* Actions when the mouse clicks a part of the screen */
static const Button buttons[] = { static const Button buttons[] = {
/* click event mask button function argument */ /* click event mask button function argument */
{ ClkLtSymbol, 0, Button3, spawn, cmd( "speedwm-utils layout" ) }, { ClkLtSymbol, 0, Button2, spawn, cmd( "speedwm-utils layout" ) },
{ ClkLtSymbol, 0, Button1, cyclelayout, {.i = +1 } }, { ClkLtSymbol, 0, Button1, cyclelayout, {.i = +1 } },
{ ClkLtSymbol, 0, Button2, cyclelayout, {.i = -1 } }, { ClkLtSymbol, 0, Button3, cyclelayout, {.i = -1 } },
{ ClkLtSymbol, 0, Button4, cyclelayout, {.i = +1 } }, { ClkLtSymbol, 0, Button4, cyclelayout, {.i = +1 } },
{ ClkLtSymbol, 0, Button5, cyclelayout, {.i = -1 } }, { ClkLtSymbol, 0, Button5, cyclelayout, {.i = -1 } },
{ ClkWinTitle, 0, Button2, zoom, {0} }, { ClkWinTitle, 0, Button2, zoom, {0} },

View file

@ -461,9 +461,9 @@ Tag (Scrolling up/down) - Switch to the next/previous tag
.IP \[bu] 2 .IP \[bu] 2
Layout indicator (Left click) - Switch to the next layout Layout indicator (Left click) - Switch to the next layout
.IP \[bu] 2 .IP \[bu] 2
Layout indicator (Middle click) - Switch to the previous layout Layout indicator (Right click) - Switch to the previous layout
.IP \[bu] 2 .IP \[bu] 2
Layout indicator (Right click) - Open a dmenu list of all layouts Layout indicator (Middle click) - Open a dmenu list of all layouts
(requires speedwm-extras) (requires speedwm-extras)
.IP \[bu] 2 .IP \[bu] 2
Layout indicator (Scrolling up/down) - Switch to the next/previous Layout indicator (Scrolling up/down) - Switch to the next/previous
@ -728,7 +728,7 @@ speedwm.client.decorhints: 1
.IP \[bu] 2 .IP \[bu] 2
speedwm.client.hide.border: 0 speedwm.client.hide.border: 0
.IP \[bu] 2 .IP \[bu] 2
speedwm.client.hide.unselected.border: 0 speedwm.client.hide.unselected.border: 1
.IP \[bu] 2 .IP \[bu] 2
speedwm.client.hide.single.border: 1 speedwm.client.hide.single.border: 1
.IP \[bu] 2 .IP \[bu] 2
@ -948,7 +948,7 @@ speedwm.color.selectedtitle: 0
.IP \[bu] 2 .IP \[bu] 2
speedwm.bar.powerline.tag.shape: 0 speedwm.bar.powerline.tag.shape: 0
.IP \[bu] 2 .IP \[bu] 2
speedwm.focus.spawned: 0 speedwm.focus.spawned: 1
.IP \[bu] 2 .IP \[bu] 2
speedwm.fullscreen.hidebar: 1 speedwm.fullscreen.hidebar: 1
.IP \[bu] 2 .IP \[bu] 2