helm/os/arch/apple-btkbd/install
2016-10-20 23:18:52 +02:00

13 lines
304 B
Bash
Executable file

#!/usr/bin/env bash
# Bluetooth
sudo ln -s $PWD/services/btkbd.conf /etc/
sudo ln -s $PWD/services/btkbd.service /etc/systemd/system/
# Install service
sudo systemctl enable btkbd.service
sudo systemctl start btkbd.service
# Turn off FN mode
bash -c 'echo 2 > /sys/module/hid_apple/parameters/fnmode'