add a few mouse binds such as scrolling, remove useless option

This commit is contained in:
speedie 2022-12-07 21:02:28 +01:00
parent fea1dc4688
commit 74177490a4
4 changed files with 4 additions and 10 deletions

View file

@ -198,10 +198,6 @@ speedwm.stack.snap: 20 ! Snap pixel (<char>)
speedwm.status.defaultstatus:
!! Status bar script to run
speedwm.status.statusallmons: 1 ! Display status text on all monitors (0/1)
!! Switcher options
speedwm.switcher.maxheight: 200 ! Max height of the switcher in pixels (<char>)

View file

@ -35,6 +35,8 @@ static const Button buttons[] = {
{ ClkWinTitle, 0, Button3, spawn, cmd( "speedwm-utils" ) },
{ ClkRootWin, 0, Button3, spawn, cmd( "j4-dmenu-desktop --term=st --dmenu='dmenu -l 20 -p Open:'" ) },
{ ClkTagBar, 0, Button1, view, {0} },
{ ClkTagBar, 0, Button4, view, {0} },
{ ClkTagBar, 0, Button5, view, {0} },
{ ClkTagBar, 0, Button4, viewtoleft, {0} },
{ ClkTagBar, 0, Button5, viewtoright, {0} },
{ ClkTagBar, MODIFIER1, Button4, viewtoleft_vacant, {0} },
{ ClkTagBar, MODIFIER1, Button5, viewtoright_vacant, {0} },
};

View file

@ -129,9 +129,6 @@ static int hidefloating = 0; /* Hide floating indicator (1
static int hidesticky = 0; /* Hide sticky indicator (1) or show (0) */
static int hideclientindicator = 0; /* Hide client indicator (1) or show (0) */
/* Status options */
static int statusallmons = 1; /* Draw status bar on all monitors */
/* Layout options
*
* Monocle layout */

View file

@ -102,7 +102,6 @@ ResourcePref resources[] = {
{ "client.hide.border", INTEGER, &hideborder },
{ "client.hide.singleborder", INTEGER, &hidesingleborder },
{ "client.allowurgent", INTEGER, &allowurgent },
{ "status.statusallmons", INTEGER, &statusallmons },
{ "tag.resetlayout", INTEGER, &resetlayout },
{ "tag.resetmfact", INTEGER, &resetmfact },
{ "tag.resetgaps", INTEGER, &resetgaps },