Files
omarchycn/install/config/hardware/fix-fkeys.sh
T

6 lines
262 B
Bash

# Ensure that F-keys on Apple-like keyboards (such as Lofree Flow84) are always F-keys
if [[ ! -f /etc/modprobe.d/hid_apple.conf ]]; then
sudo mkdir -p /etc/modprobe.d
echo "options hid_apple fnmode=2" | sudo tee /etc/modprobe.d/hid_apple.conf >/dev/null
fi