namespace middle click scroll var

This commit is contained in:
Pig Monkey 2018-04-13 21:46:47 -07:00
parent b1b33b20d2
commit 9f077c92d0
3 changed files with 4 additions and 3 deletions

View file

@ -207,7 +207,8 @@ himawaripy:
run_on: trusted
flags: --auto-offset --level 4
middle_click_scroll: 12
libinput:
middle_click_scroll: 12
display_manager: lightdm
gdm:

View file

@ -31,7 +31,7 @@
- name: Enable middle-click scrolling
template: src=30-scroll.conf dest=/etc/X11/xorg.conf.d/30-scroll.conf
when: middle_click_scroll is defined
when: libinput.middle_click_scroll is defined
- include: sxhkd.yml
- include: unclutter.yml

View file

@ -2,5 +2,5 @@ Section "InputClass"
Identifier "libinput middle click scroll"
Driver "libinput"
Option "ScrollMethod" "button"
Option "ScrollButton" "{{ middle_click_scroll }}"
Option "ScrollButton" "{{ libinput.middle_click_scroll }}"
EndSection