mirror of
https://github.com/pinnacle-comp/pinnacle.git
synced 2024-12-27 21:58:18 +01:00
Update example config, remove mouse button type
This commit is contained in:
parent
de6bf3ee82
commit
40f90e45d9
2 changed files with 7 additions and 4 deletions
|
@ -31,15 +31,18 @@ require("pinnacle").setup(function(pinnacle)
|
||||||
process.set_env("MOZ_ENABLE_WAYLAND", "1")
|
process.set_env("MOZ_ENABLE_WAYLAND", "1")
|
||||||
|
|
||||||
-- Outputs -----------------------------------------------------------------------
|
-- Outputs -----------------------------------------------------------------------
|
||||||
|
|
||||||
-- You can set your own monitor layout as I have done below for my monitors.
|
-- You can set your own monitor layout as I have done below for my monitors.
|
||||||
|
--
|
||||||
-- local lg = output.get_by_name("DP-2") --[[@as Output]]
|
-- local lg = output.get_by_name("DP-2") --[[@as Output]]
|
||||||
-- local dell = output.get_by_name("DP-3") --[[@as Output]]
|
-- local dell = output.get_by_name("DP-3") --[[@as Output]]
|
||||||
--
|
--
|
||||||
-- dell:set_loc_left_of(lg, "bottom")
|
-- dell:set_loc_left_of(lg, "bottom")
|
||||||
|
|
||||||
input.libinput.set_accel_profile("Flat")
|
-- Libinput settings -------------------------------------------------------------
|
||||||
|
-- If you want to change settings like pointer acceleration,
|
||||||
|
-- you can do them in `input.libinput`.
|
||||||
|
--
|
||||||
|
-- input.libinput.set_accel_profile("Flat")
|
||||||
|
|
||||||
-- Mousebinds --------------------------------------------------------------------
|
-- Mousebinds --------------------------------------------------------------------
|
||||||
|
|
||||||
|
|
|
@ -151,7 +151,7 @@ function libinput.set_natural_scroll_enabled(enabled)
|
||||||
end
|
end
|
||||||
|
|
||||||
---Set the scroll button.
|
---Set the scroll button.
|
||||||
---@param button MouseButton
|
---@param button integer
|
||||||
function libinput.set_scroll_button(button)
|
function libinput.set_scroll_button(button)
|
||||||
SendMsg({
|
SendMsg({
|
||||||
SetLibinputSetting = {
|
SetLibinputSetting = {
|
||||||
|
|
Loading…
Reference in a new issue