ROFI-SCREENSHOT(1)
NAME
rofi-screenshot — Use rofi and ffcast to perform various types of screenshots and screen captures
SYNOPSIS
INFO
84 stars
13 forks
0 views
ShellMedia & Images
DESCRIPTION
Use rofi and ffcast to perform various types of screenshots and screen captures
README
rofi-screenshot

I got sick of not having a simple solution to take screenshots and screencasts.
Plus, there's so many different things I might want to do I struggle to find key bindings for all of them. So, I created a script to show and execute various screen capture related commands in Rofi.
Features
- Capture a region to the clipboard or a directory
- Capture the whole screen to the clipboard or a directory
- Record a specific region and save as a gif or MP4
- Record the whole screen and save as a gif or MP4
Installation
Make sure you have the required dependencies installed.
Download the rofi-screenshot source code, save as rofi-screenshot and make it executable
$ curl -L https://git.io/rofi-screenshot > rofi-screenshot && chmod u+x rofi-screenshot
Then move rofi-screenshot to somewhere in your $PATH for example:
$ sudo mv rofi-screenshot /usr/local/bin/
Usage
Show the rofi menu
$ rofi-screenshot
Stop recording
$ rofi-screenshot -s
Tip: Add a keybinding for both of the above commands
Configuration
| environment variable | default value | |
|---|---|---|
$ROFI_SCREENSHOT_DIR | $XDG_PICTURES_DIR/Screenshots | By default files will be stored in $XDG_PICTURES_DIR/Screenshots, which typically means ~/Pictures/Screenshots. |
$ROFI_SCREENSHOT_DATE_FORMAT | +%d-%m-%Y %H:%M:%S | Possible alternative: +%Y-%m-%d-%H-%M-%S |
Dependencies
SEE ALSO
music-player(1)— An extensible music server written in Rust 🚀🎵✨Upscaler(1)— A consolidation of various compiled open-source AI image/video upscaling product for a working CLI friendly image and…library(1)— 99+ CLI tools to build, browse, and blend your media librarypalettum(1)— Web app and CLI tool that lets you recolor images, GIFs, and videos with any custom palette of your choosingytconverter(1)— The ytconverter is a CLI tool for downloading YouTube videos in various format directly from the terminal. It…
clihub3/4/2026ROFI-SCREENSHOT(1)