Created
December 16, 2017 22:29
-
-
Save castilma/3f5f24a79fd97c6c765db35cdc36b00d to your computer and use it in GitHub Desktop.
add dir to etc
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
(define my-x-conf | |
(file-union "X11" | |
`(("xorg.conf.d" ,(file-union "xorg.conf.d" | |
`(("52-rat5-quirk.conf" ,(plain-file "rat5-quirk" | |
"Section \"InputClass\" | |
Identifier \"Saitek Cyborg R.A.T.5 Mouse\" | |
MatchIsPointer \"on\" | |
MatchProduct \"Saitek Cyborg R.A.T.5 Mouse\" | |
MatchVendor \"Saitek|SAITEK\" | |
MatchDevicePath \"/dev/input/event*\" | |
Option \"ButtonMapping\" \"1 2 3 4 5 6 7 2 9 4 5 12 0 0 0\" | |
Option \"ZAxisMapping\" \"10 11\" | |
# Option \"AutoReleaseButtons\" \"12 13 14 15\" | |
EndSection | |
")))))))) | |
; ... | |
(simple-service 'X11-conf etc-service-type | |
`(("X11" ,my-x-conf))) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment