1
0
mirror of https://github.com/tiyn/dwm.git synced 2025-04-19 15:57:45 +02:00

cycling windows when middle click on window name

This commit is contained in:
tiyn 2023-10-24 04:09:08 +02:00
parent 227f42d6ca
commit 47c3b32cab
2 changed files with 2 additions and 1 deletions

1
.gitignore vendored
View File

@ -1,2 +1,3 @@
*.o *.o
dwm dwm
config.h

View File

@ -128,7 +128,7 @@ static Button buttons[] = {
{ ClkLtSymbol, 0, Button1, cyclelayout, {.i = +1} }, { ClkLtSymbol, 0, Button1, cyclelayout, {.i = +1} },
{ ClkLtSymbol, 0, Button2, setlayout, {.v = &layouts[0]} }, { ClkLtSymbol, 0, Button2, setlayout, {.v = &layouts[0]} },
{ ClkLtSymbol, 0, Button3, cyclelayout, {.i = -1} }, { ClkLtSymbol, 0, Button3, cyclelayout, {.i = -1} },
{ ClkWinTitle, 0, Button2, zoom, {0} }, { ClkWinTitle, 0, Button2, focusstack, {.i = +1} },
{ ClkStatusText, 0, Button1, sigdwmblocks, {.i = 1} }, { ClkStatusText, 0, Button1, sigdwmblocks, {.i = 1} },
{ ClkStatusText, 0, Button2, sigdwmblocks, {.i = 2} }, { ClkStatusText, 0, Button2, sigdwmblocks, {.i = 2} },
{ ClkStatusText, 0, Button3, sigdwmblocks, {.i = 3} }, { ClkStatusText, 0, Button3, sigdwmblocks, {.i = 3} },