helm/os/+arch/+apple-btkbd/install

15 lines
393 B
Plaintext
Raw Normal View History

2016-10-20 13:47:15 -07:00
#!/usr/bin/env bash
# Bluetooth
sudo ln -sfv $PWD/services/btkbd.conf /etc/
sudo ln -sfv $PWD/services/btkbd.service /etc/systemd/system/
2016-10-20 13:47:15 -07:00
# Install+start service
sudo systemctl enable bluetooth.service
sudo systemctl start bluetooth.service
2016-10-20 13:47:15 -07:00
sudo systemctl enable btkbd.service
sudo systemctl start btkbd.service
# Turn off FN mode
bash -c 'echo 2 > /sys/module/hid_apple/parameters/fnmode'