forked from speedie/spmenu
Last commit for binds.conf too
This commit is contained in:
parent
c9292de59d
commit
79967d9ad4
|
@ -270,7 +270,7 @@ spmenu = {
|
||||||
{ click = "None"; button = "Scroll Down"; function = "movenext"; argument = "0"; }, // Scroll Down: Move to the next page
|
{ click = "None"; button = "Scroll Down"; function = "movenext"; argument = "0"; }, // Scroll Down: Move to the next page
|
||||||
|
|
||||||
{
|
{
|
||||||
scrolldistance = 512; // Distance to scroll for a scroll action to count (num)
|
scrolldistance = 512; // Distance to scroll for a scroll action to count. Wayland only (num)
|
||||||
ignoreglobalmouse = 1; // Ignore hardcoded mouse binds (0/1)
|
ignoreglobalmouse = 1; // Ignore hardcoded mouse binds (0/1)
|
||||||
} );
|
} );
|
||||||
|
|
||||||
|
|
|
@ -203,6 +203,7 @@ int bind_init(void) {
|
||||||
}
|
}
|
||||||
|
|
||||||
config_setting_lookup_int(conf, "ignoreglobalmouse", &sp.ignoreglobalmouse);
|
config_setting_lookup_int(conf, "ignoreglobalmouse", &sp.ignoreglobalmouse);
|
||||||
|
config_setting_lookup_int(conf, "scrolldistance", &scrolldistance);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue