2016-10-20 13:47:15 -07:00
|
|
|
#!/usr/bin/env bash
|
|
|
|
|
|
|
|
# Bluetooth
|
2016-11-03 10:54:05 -07:00
|
|
|
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
|
|
|
|
2016-11-03 10:54:05 -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'
|