From 53d1ad455169d7f62ea958d2695a4e8ef5a67daa Mon Sep 17 00:00:00 2001 From: speedie Date: Mon, 26 Dec 2022 22:24:02 +0100 Subject: [PATCH] change a mouse bind --- README.md | 5 +++-- docs/keybinds | 4 ++-- mouse.h | 4 ++-- speedwm.1 | 8 ++++---- 4 files changed, 11 insertions(+), 10 deletions(-) diff --git a/README.md b/README.md index e805922..4e9c172 100644 --- a/README.md +++ b/README.md @@ -1,4 +1,5 @@ # speedwm +![image](/docs/preview.png) ## What is speedwm? @@ -229,8 +230,8 @@ These binds can be activated using your mouse - Tag (Left click) - Switch to tag - Tag (Scrolling up/down) - Switch to the next/previous tag - Layout indicator (Left click) - Switch to the next layout -- Layout indicator (Middle click) - Switch to the previous layout -- Layout indicator (Right click) - Open a dmenu list of all layouts (requires speedwm-extras) +- Layout indicator (Right click) - Switch to the previous layout +- 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 - Window title (Right click) - Open speedwm-utils (requires speedwm-extras) - Focused window (Super+Alt+Left click) - Move the focused window around diff --git a/docs/keybinds b/docs/keybinds index c6959be..044955e 100644 --- a/docs/keybinds +++ b/docs/keybinds @@ -180,8 +180,8 @@ These binds can be activated using your mouse - Tag (Left click) - Switch to tag - Tag (Scrolling up/down) - Switch to the next/previous tag - Layout indicator (Left click) - Switch to the next layout -- Layout indicator (Middle click) - Switch to the previous layout -- Layout indicator (Right click) - Open a dmenu list of all layouts (requires speedwm-extras) +- Layout indicator (Right click) - Switch to the previous layout +- 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 - Window title (Right click) - Open speedwm-utils (requires speedwm-extras) - Focused window (Super+Alt+Left click) - Move the focused window around diff --git a/mouse.h b/mouse.h index fc24a23..dff37ce 100644 --- a/mouse.h +++ b/mouse.h @@ -22,9 +22,9 @@ /* Actions when the mouse clicks a part of the screen */ static const Button buttons[] = { /* 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, Button2, cyclelayout, {.i = -1 } }, + { ClkLtSymbol, 0, Button3, cyclelayout, {.i = -1 } }, { ClkLtSymbol, 0, Button4, cyclelayout, {.i = +1 } }, { ClkLtSymbol, 0, Button5, cyclelayout, {.i = -1 } }, { ClkWinTitle, 0, Button2, zoom, {0} }, diff --git a/speedwm.1 b/speedwm.1 index 799aab7..97db47b 100644 --- a/speedwm.1 +++ b/speedwm.1 @@ -461,9 +461,9 @@ Tag (Scrolling up/down) - Switch to the next/previous tag .IP \[bu] 2 Layout indicator (Left click) - Switch to the next layout .IP \[bu] 2 -Layout indicator (Middle click) - Switch to the previous layout +Layout indicator (Right click) - Switch to the previous layout .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) .IP \[bu] 2 Layout indicator (Scrolling up/down) - Switch to the next/previous @@ -728,7 +728,7 @@ speedwm.client.decorhints: 1 .IP \[bu] 2 speedwm.client.hide.border: 0 .IP \[bu] 2 -speedwm.client.hide.unselected.border: 0 +speedwm.client.hide.unselected.border: 1 .IP \[bu] 2 speedwm.client.hide.single.border: 1 .IP \[bu] 2 @@ -948,7 +948,7 @@ speedwm.color.selectedtitle: 0 .IP \[bu] 2 speedwm.bar.powerline.tag.shape: 0 .IP \[bu] 2 -speedwm.focus.spawned: 0 +speedwm.focus.spawned: 1 .IP \[bu] 2 speedwm.fullscreen.hidebar: 1 .IP \[bu] 2