Skip to content
This repository has been archived by the owner on Oct 31, 2023. It is now read-only.

AndeAndreas31415/Short-Rofi

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

93 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

About

Shows key combinations over the program Rofi

Resources

License

Stars

Watchers

Forks

Languages