Rasie1 / shortcut-highlighter

set of tools and services for highlighting shortcuts from applications and system with RGB keyboard
170 stars 2 forks source link

Shortcut Highlighter

This is a system for highlighting keyboard shortcuts and system data on Razer Blade RGB keyboard

Capabilities

Prerequisites

You should have openrazer installed and running.

Installation and Running

Shortcut highlighter consists of two services.

Run keyboard daemon (it listens to keypresses and turns them into events for shortcut-highlighter service)

sudo pip3 install keyboard
sudo mkdir /etc/rasiel
cd keyboard-daemon && sudo python3 keyboard-daemon.py

Then, run shortcut-highlighter:

stack build && stack exec shortcut-highlighter

systemd services

I provided systemd services in systemd directory for your convenience. Don't forget to edit them to change paths to executables.

Configuration

deviceAddress = "/org/razer/device/BY1750A44000357"

Currently, it's id for Razer Blade Stealth Late 2018. To find your id, list dbus objects.