Shows key combinations over the program Rofi
Find a file
2023-10-31 17:49:26 +01:00
keys add inkscape source 2022-11-15 22:11:56 +01:00
.gitignore changes on the gitignore 2020-09-23 21:26:07 +02:00
LICENSE add the LICENSE 2020-08-14 22:31:45 +02:00
README.md update the README 2021-11-28 15:59:46 +01:00
rofi-shortcut.sh add inkscape source 2022-11-15 22:11:56 +01:00

Short-Rofi

This Projeck is based off Rofi

This script put out shortcuts about the active programm.

Screenshots

an example with vim

programm-list

key-list

How to add to rofi:

    Needed: xdotool , rofi , xsel
      Debian / Ubuntu / ... sudo apt-get install xdotool rofi xsel
      Arch / Manjaro / ... sudo pacman -S xdotool rofi xsel --needed
    git clone https://github.com/AndeAndreas31415/Short-Rofi.git $HOME/.config/rofi/
    chmod +x $HOME/.config/rofi/rofi-shortcuts.sh

Run this command from Cli (Terminal)

    rofi -modi shortcut:$HOME/.config/rofi/rofi-shortcut.sh -show shortcut
Add the script to rofi modi
Edit the *config from rofi*:
vim $HOME/.config/rofi/config.rasi
or
quot;Your favorit text editor" $HOME/.config/rofi/config.rasi

add in the line "modi":
    shortcuts:$HOME/.config/rofi/rofi-shortcuts.sh
Example:
    modi: "drun,window,shortcuts:$HOME/.config/rofi/rofi-shortcut.sh,";
And than can show you with command:
    rofi -show shortcuts

## Features
    You must edit the File to activate this Features
- automatic execution of the shortcut (line 7 no->yes) - debug messages (line 8 no->yes) - automatic key press

On this Site can you look whiche programms are supported: Supported Programms

ToDo:

  • add more cheat sheet

P.s.: Please read the wiki