Convenient way to swap upper fn keys on Logitech K380.
If you want to try for other devices you need to change
DEV
with your device name and KERNELS in RULE toKERNELS=="*:046D:*"
in script. (:046D: is vendor id of Logitech devices. Rest of it product id of device. You can add it too but it should work without it.)
- Arch Linux:
- Install via AUR
yay -S k380-swap-keys
- Or by using the PKGBUILD
cd pkgbuilds/ makepkg -si
- Install via AUR
- In General:
# Clone the repository git clone https://github.com/mehmetumit/k380-swap-keys.git # Change directory cd k380-swap-keys # Install with make make install
$ k380-swap-keys -h
Usage: k380-swap-keys [OPTIONS...]
Convenient way to swap upper fn keys on Logitech K380
Options:
-h Print this text and exit
-r Create rule to automatically swap keys after reconnect device
-R Remove created rule to not automatically swap keys
-s Swap upper fn keys
-S Swap back to default upper fn keys