omarchy/install/config/fix-fkeys.sh
David Heinemeier Hansson 925a2906e5 Explain purposes
2025-08-25 07:43:07 +02:00

7 lines
232 B
Bash
Executable File

#!/bin/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
echo "options hid_apple fnmode=2" | sudo tee /etc/modprobe.d/hid_apple.conf
fi