Skip to content

Commit 218f0b6

Browse files
authored
Update README.md
1 parent 6e7bb4d commit 218f0b6

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

README.md

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -42,11 +42,13 @@ Paste the following into the window:
4242

4343
```shell
4444
[Unit]
45-
Description=Disables media keys for the Keychron K2 and enables function keys
45+
Description=Disable media keys and substitute in function keys
4646

4747
[Service]
48-
Type=oneshot
48+
Type=simple
49+
RemainAfterExit=yes
4950
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"
5052

5153
[Install]
5254
WantedBy=multi-user.target

0 commit comments

Comments
 (0)