Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
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.
- Host: GitHub
- URL: https://github.com/mehmetumit/k380-swap-keys
- Owner: mehmetumit
- License: gpl-3.0
- Created: 2022-07-18T16:15:51.000Z (over 2 years ago)
- Default Branch: main
- Last Pushed: 2023-02-13T08:54:18.000Z (almost 2 years ago)
- Last Synced: 2024-05-02T03:11:23.383Z (9 months ago)
- Topics: auto, bluetooth, bluetooth-keyboard, convenient, default, function-keys, k380, keyboard, linux, logitech, logitech-k380, logitech-keyboards, make, media-keys, shell, swap, switch, udev
- Language: Shell
- Homepage:
- Size: 30.3 KB
- Stars: 11
- Watchers: 2
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
k380-swap-keys
---
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
```