We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 6e7bb4d commit 218f0b6Copy full SHA for 218f0b6
README.md
@@ -42,11 +42,13 @@ Paste the following into the window:
42
43
```shell
44
[Unit]
45
-Description=Disables media keys for the Keychron K2 and enables function keys
+Description=Disable media keys and substitute in function keys
46
47
[Service]
48
-Type=oneshot
+Type=simple
49
+RemainAfterExit=yes
50
ExecStart=/bin/bash -c "echo 0 > /sys/module/hid_apple/parameters/fnmode"
51
+ExecStop=/bin/bash -c "echo 1 > /sys/module/hid_apple/parameters/fnmode"
52
53
[Install]
54
WantedBy=multi-user.target
0 commit comments