Skip to content

go script that runs a rofi script for remembering keyboard shortcuts

Notifications You must be signed in to change notification settings

zorzigio/rofi-shortcut-helper

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 

Repository files navigation

rofi-shortcut-helper

Use rofi to remember keyboard shortcuts.

Usage

Just run rofi-shortcut-helper and a popup will appear. Select the program firts and then the shortcut. The shortcuts are defined in the shortcuts.json file.

To display the menu, run rofi-shortcut-helper --help

go run main.go --help
usage: rofi-help-shortcuts [-h|--help] [-d|--dir "<value>"] [-r|--rofi
                           "<value>"]

                           Use rofi to display shortcuts

Arguments:

  -h  --help  Print help information
  -d  --dir   Path to the json file. Default: ./my-shortcuts.json
  -r  --rofi  Command line to launch rofi. Default: rofi -dmenu -p "Shortcuts
              Help" -i -no-custom -matching fuzzy

Requirements

Installation

Run the following commands in your terminal

go get github.com/zorzigio/rofi-shortcut-helpergo install github.com/zorzigio/rofi-shortcut-helper

At this point you should have the executable file at $GOPATH/bin/rofi-shortcut-helper.

About

go script that runs a rofi script for remembering keyboard shortcuts

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages