Rofi Script for using Screenshots using maim
- maim
- xclip or wl-clipboard
- Note: If xclip AND wl-copy are installed, xclip will be used
- rofi
- Optional:
- libnotify (for notify-send)
- dunst (or similar for displaying notifications)
- Image viewer (searched for in this order):
- Download the rofi-screenshot script
- Put it in a directory in your PATH
- Make it executable (chmod 755 rofi-screenshot)
- Download the latest release file (1.0 in this example)
- Extract package:
tar -xvzf rofi-screenshot-1.0.tar.gz
- Change to package directory:
cd rofi-screenshot-1.0
- Run:
make install-user
- Use something like xbindkeys or sxhkd to configure a hot key combination
For advanced users
- Download and extract a release
- Run: sudo make install-system
"rofi-screenshot"
Print