Skip to content

Rofi frontend for GPaste clipboard manager.

License

Notifications You must be signed in to change notification settings

yusufaktepe/rofi-gpaste

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

44 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

rofi-gpaste

Rofi frontend for GPaste clipboard manager.

rofi-gpaste

Features

  • Manage multiple clipboard histories.
  • Edit, delete, paste, archive... clipboard items with keybindings.
  • Display and save images from clipboard history. (if images-support is enabled)

Dependencies

  • rofi
  • gpaste
  • bash, coreutils
  • sed
  • xclip
  • xdotool (for paste function)
  • qrencode (for QR code generation)
  • zenity (for save dialog)

Configuration

You can override default options by copying config.example file to ~/.config/rofi-gpaste.conf.

Usage

Key binding Action
Alt + c Clear history
Alt + p Toggle tracking changes
Alt + d Delete selected item
Alt + e Edit selected item1 / Display image
Alt + s (un)Archive selected text item
Alt + Shift + b Backup current history
Alt + h List and switch histories
Alt + Return Paste selected item
Alt + q Display QR code1
Alt + o Save selected item to a file
Alt + 1 Switch to main clipboard
Alt + 2 Switch to clipboard archive
F1 Launch GPaste GUI
Return Activate selected item OR add user input to clipboard
🡾 Histories menu
Alt + d Delete selected history
Alt + e Rename selected history
Alt + h Return to active history
Return Switch to history OR create new one with input

Run rofi-gpaste -h to see all options and rofi keybindings.

Usage: rofi-gpaste [OPT]

  -c, --clear        - Clear history
  -H, --histories    - Histories menu
  -i, --input        - Read stdin into clipboard
  -d, --delete [1-9] - Delete clipboard item by index
  -p, --paste [1-9]  - Paste clipboard item by index
  -s, --selpaste     - Paste selection
  -S, --seltoclip    - Move selection to clipboard
  -t, --toggle       - Toggle tracking clipboard changes
  -D, --debug [OPT]  - Run script in debug mode
  -h, --help         - Displays this help information
  *                  - Pass option(s) to `gpaste-client`

 If no option is given, rofi menu is displayed.

Footnotes

  1. These shortcuts will use xdg-open by default. 2

Releases

No releases published

Packages

No packages published