Skip to content
Projects

Rasie1/shortcut-highlighter

View on GitHub

About

set of tools and services for highlighting shortcuts from applications and system with RGB keyboard

Other Projects

How these counts are measured

What you can do

  • Real time effects
  • Shows pre-defined shortcuts from i3
  • Shows i3 workspaces status
  • Shows current languages (actually, manages switching languages too)

Measured star growth

in 24h
0
in 7 days
+1
in 15 days
+2
in 1 month
Collecting history

Net star changes over overlapping periods, not daily totals. Missing measurements are left blank. Stars measure attention, not software quality.

README.md

Original

Shortcut Highlighter

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

Capabilities

  • Efficient
  • Real time effects
  • Shows pre-defined shortcuts from i3
  • Shows i3 workspaces status
  • Shows current languages (actually, manages switching languages too)
  • Faster animation when CPU speed is higher

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

  • You should edit src/Devices/Razer.hs and put your id into line:
deviceAddress = "/org/razer/device/BY1750A44000357"

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

  • Edit layout of highlighted keys in src/Layout.hs

  • If you have keyboard other than Razer, you can write a substitution of src/Devices/Razer.hs file

  • You also might want to remove i3 from the project if you don't use it

Explore related projects

Loading…