Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/mehmetumit/k380-swap-keys

Convenient way to swap upper fn keys on Logitech K380.
https://github.com/mehmetumit/k380-swap-keys

auto bluetooth bluetooth-keyboard convenient default function-keys k380 keyboard linux logitech logitech-k380 logitech-keyboards make media-keys shell swap switch udev

Last synced: 3 months ago
JSON representation

Convenient way to swap upper fn keys on Logitech K380.

Awesome Lists containing this project

README

        

k380-swap-keys



Code Size
Repo Size
Stars
Visitors
AUR Version
License

---

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* to `KERNELS=="*: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.)

## Installation
- Arch Linux:
- Install via AUR
```sh
yay -S k380-swap-keys
```
- Or by using the [PKGBUILD](pkgbuilds/PKGBUILD)
```sh
cd pkgbuilds/
makepkg -si
```
- In General:
```sh
# Clone the repository
git clone https://github.com/mehmetumit/k380-swap-keys.git
# Change directory
cd k380-swap-keys
# Install with make
make install
```
## Usage
```
$ 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
```