grimblast(1)
π grimblast(1) π
okay bestie, welcome to grimblast(1) from the General Commands Manual β it's giving screenshot-helper-for-Hyprland energy, and honestly? iconic π
π NAME π
grimblastβ a helper for screenshots within Hyprland. no cap, that's the whole name vibe π«Ά
β¨ SYNOPSIS β¨
the whole thing in three little lines, bestie:
grimblast [OPTIONS] (copy|save|copysave|edit) [TARGET] [FILE]
grimblast check
grimblast usage
π OPTIONS π
first the flags, then the actions β all of it, because we do not skip details in this house π
-n,--notifyβ Show notifications to the user that a screenshot has been taken. cute little ping so you know it slayed β¨-o,--openparentdirβ Usesdbusto display the folder containing the file when interacting with the notification. Only works with--notifyπ«Ά-e <ms>,--expire-time <ms>β Passes this argument tonotify-sendto configure notification expiry. Only works with--notify. Default:3000. β³-c,--cursorβ Include cursors in the screenshot. With theareatarget, this option requires--freezeso the cursor is included in the frozen preview and not captured again at the final selection position. This also requires ahyprpickerversion with--cursorsupport. cursor representation, fr fr π±οΈ-f,--freezeβ Freezes the screen before area selection. screen goes brrr but make it frozen βοΈ-w N,--wait Nβ Wait forNseconds before taking a screenshot. Decimal values are also supported. Waits after any manual selection is made. Recommended to combine with--notifyin order to know when the screenshot has been taken. β±οΈ-s N,--scale Nβ Passes the-sargument togrim. scaling moment π-t TYPE,--filetype TYPEβ Output filetype. Supported:png,ppm,jpeg. Default:png. Note:copyandcopysaveactions only support PNG format. π
saveβ Save the screenshot into a regular file. Grimblast will write image files toXDG_SCREENSHOTS_DIRif this is set (or defined inuser-dirs.dir), otherwise fall back toXDG_PICTURES_DIR, and finallyHOMEif neither is defined. SetFILEto-to pipe the output toSTDOUT. πΎcopyβ Copy the screenshot data into the clipboard. Only PNG format is supported for clipboard operations. πcopysaveβ Combine the previous 2 options. Only PNG format is supported for clipboard operations. double trouble, both save and copy π«Άeditβ Open screenshot in the image editor of your choice. The default isgimp, but you can set a different one with the environment variable$GRIMBLAST_EDITOR. Example:export GRIMBLAST_EDITOR=gimp. π¨checkβ Verify whether the required tools are installed. vibe check for your dependencies πusageβ Show help message. the "help me help you" button π
π¦ DESCRIPTION π¦
Grimblast is an easy-to-use screenshot utility for Hyprland, based on grimshot. It provides a convenient interface over grim, slurp and jq, and supports storing the screenshot either directly to the clipboard using wl-copy or to a file. literally the screenshot bestie you didn't know you needed π
π TARGETS π
grimblast can capture the following named targets:
activeβ Captures the currently active window. main character window energy πscreenβ Captures the entire screen. This includes all visible outputs. the whole cinematic universe πareaβ Allows manually selecting a rectangular region or window (by clicking on it), and captures that.slurpcan be customized by setting its arguments in theSLURP_ARGSenvironment variable. Custom predefined rectangles can be piped toslurpvia theSLURP_RECTSenvironment variable. choose your own adventure π―outputβ Captures the currently active output. just the one screen, bestie π₯οΈ
πΈ ENVIRONMENT VARIABLES πΈ
DEFAULT_TARGET_DIRβ Directory where screenshots are saved when using thesaveaction. Defaults toXDG_SCREENSHOTS_DIRif set, otherwiseXDG_PICTURES_DIR, and finallyHOMEif neither is defined. πDEFAULT_TMP_EDITOR_DIRβ Temporary directory used when editing screenshots. Defaults to/tmp. π§GRIMBLAST_EDITORβ Image editor to use with theeditaction. Defaults togimp. ποΈDATE_FORMATβ Date format string used for screenshot filenames. Defaults to%Y%m%d_%H%M%S. ποΈSLURP_ARGSβ Additional arguments to pass toslurpfor customizing the selection interface. ποΈSLURP_RECTSβ Custom predefined rectangles to be piped toslurpin the formatX,Y WxH. Each rectangle should be newline-separated. Seeslurp -rfor more context. π
β OUTPUT β
Grimblast will print the filename of the captured screenshot to stdout if called with the save subcommand. yes bestie, it tells you where the goods are π
π₯ EXAMPLES π₯
An example usage pattern is to add these bindings to your hyprland config:
# Screenshots:
# Super+P: Current window
# Super+Shift+p: Select area
# Super+Alt+p Current output
# Super+Ctrl+p All outputs
# Optionally, customize slurp's appearance
env = SLURP_ARGS, -d -B F050F022 -b 10101022 -c ff00ff
bind = SUPER, p, exec, grimblast save active
bind = SUPER SHIFT, p, exec, grimblast save area
bind = SUPER ALT, p, exec, grimblast save output
bind = SUPER CTRL, p, exec, grimblast save screen
Using satty as the image editor:
GRIMBLAST_EDITOR="satty --filename" grimblast edit screen
Using combined short options with satty:
GRIMBLAST_EDITOR="satty --file" grimblast -ns 2 -e 2000 edit screen
This example captures the entire screen, scales the image by a factor of 2, displays a notification that expires after 2000ms, and opens the screenshot in satty for editing. iconic behavior, no notes π
Copy screenshot to clipboard:
grimblast copy active
Save screenshot with custom filename:
grimblast save screen ~/screenshots/my-screenshot.png
Take screenshot after a 2-second delay:
grimblast --wait 2 save area
Take screenshot and both save and copy:
grimblast copysave screen
Save screenshot in JPEG format:
grimblast --filetype jpeg save screen
π EXIT CODES π
0β Normal exit. slay, we're done here β2β Another instance of grimblast is running. bestie, there can only be one π
π SEE ALSO π
go say hi to grim(1), slurp(1), and grimshot(1) β the extended universe π«Ά
okay ily bye bestie β this was grimblast(1) from the General Commands Manual, dated 1980-01-01, and it's giving manual-page royalty ππ«Άπ
π¦ where this page comes from
- nixpkgs unstable: grimblast 0.1-unstable-2026-10-22
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms