Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
N
nsbin
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Service Desk
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Incidents
Environments
Packages & Registries
Packages & Registries
Package Registry
Container Registry
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Nico Schottelius
nsbin
Commits
dfde2802
Commit
dfde2802
authored
Aug 01, 2020
by
Nico Schottelius
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
tune mouse adjustment
parent
e821caef
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
7 deletions
+6
-7
tune-mouse
tune-mouse
+6
-7
No files found.
tune-mouse
View file @
dfde2802
...
...
@@ -2,11 +2,6 @@
xinput set-prop
"
$(
cat
~/.touchpad-name
)
"
"libinput Natural Scrolling Enabled"
1
# Only continue if there is wacom stuff
if
!
xinput list |
grep
-i
wacom
-q
;
then
exit
0
fi
if
[
$#
-eq
1
]
;
then
display
=
$1
else
...
...
@@ -20,7 +15,7 @@ fi
# as on bridge/t490s
if
xinput list |
grep
-q
"Elan TrackPoint"
;
then
xinput set-prop
"Elan TrackPoint"
"libinput Accel Speed"
-0
.
3
xinput set-prop
"Elan TrackPoint"
"libinput Accel Speed"
-0
.
5
fi
# Not needed if using regular libinput
...
...
@@ -39,7 +34,11 @@ if xinput list | grep -q Bamboo; then
fi
exit
0
# Only continue if there is wacom stuff
if
!
xinput list |
grep
-i
wacom
-q
;
then
exit
0
fi
# xinput set-prop "Wacom Bamboo 16FG 4x5 Finger pad" "Device Enabled" 0
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment