Screenshot and screen recorder tool for Wayland window managers.

Screenshots, GPU-accelerated recordings and instant replay for Sway and Hyprland. Use the GTK4 dialogue or the command line.

The tequilashot capture dialogue next to a desktop

What it does

Run tequilashot with no arguments to open the dialogue. It starts the daemon if needed and remembers your last settings. Enter captures, Escape closes.

Screenshots

A monitor, a window or a dragged-out region, to the clipboard or a file, with an optional AI-suggested file name.

GPU recording

GPU Screen Recorder encodes video on the graphics card, so the CPU stays free and high resolutions keep their frame rate.

Instant replay

Keep the last 30, 60 or 120 seconds of a monitor in memory and save a clip after the fact.

Round camera

Your webcam in a draggable circle on screen, with optional background removal for the circle and the virtual camera.

Virtual camera

Publish a monitor, window or region as a webcam that Google Meet and Chrome can select.

Trim and denoise

Trim a recording, or save a copy with hiss, hum and keyboard noise taken out of the speech.

Screenshots

Pick Screenshot in the dialogue, then a source: Monitor shows live thumbnails of each output, Window lists the open windows with their preview, application and size, and Region lets you drag out an area after pressing Capture. The countdown is 0, 3, 5 or 10 seconds, and the dialogue hides before capturing.

Screenshot mode with monitor thumbnails and a countdown Window list with a preview of each open window

After the capture

The result page previews the screenshot with its dimensions and file size. Copy the image or its path, open it in its folder, rename it, or move it to the bin.

Edit opens Satty and reloads the preview when you save.

Screenshot saved page with copy, edit and open actions

Clipboard captures open a name-entry window before saving. If aichat is installed, it suggests a name while you type; see AI and local models.

Recordings

Pick Video for a monitor, window or region. The dialogue hides during the recording; stop it by running tequilashot again, with tequilashot stop-recording, or by clicking the Waybar module.

Sound and camera

Video mode adds desktop sound and a microphone, with a device picker for the microphone. The camera panel shows a live preview: place the camera on a corner, then choose its size, shape and mirroring. Monitor recordings can trim pixels from the top to hide a bar.

Video mode with desktop sound, microphone and the camera panel open

Round camera

The Circle shape puts the webcam on screen as a round bubble with a white ring, above other windows, and the recording captures it from there. Drag it around, or run tequilashot camera cycle to move it clockwise between corners.

Remove background shows only you in the circle, and your surroundings become transparent. A portrait-matting model runs on the CPU, so expect a much lower frame rate.

Camera panel with the Circle shape selected and a round webcam in the preview

After the recording

The result page previews the video with its size, length and resolution. Play it, show it in its folder, copy its path, rename it or move it to the bin.

Recording saved page with playback, folder, rename and delete actions

Trim and denoise

Drag the timeline handles or type exact times. Keep saves the selection; Cut removes it and joins the remaining footage. The short previews play the first moments of a kept selection, the last moments before its end, or the join left by a cut.

Remove noise saves a copy with hiss, hum, fans and keyboard clatter taken out of the speech, using the DeepFilterNet3 speech model and the key times noted whilst you recorded. The picture and any other streams are copied as they are, so it is quick and costs no quality. The trimmer has a Remove noise toggle as well, which cleans the sound of the copy it saves.

Trim editor with the transport deck, film-strip timeline and selection handles
# Record the screen with desktop sound and the microphone
tequilashot movie-screen --audio --mic
# Record the focused window with the round camera
tequilashot movie-current-window --camera --camera-shape circle
# Save recording-denoised.mp4 beside the original
tequilashot denoise recording.mp4

Instant replay

Replay holds the previous 30, 60 or 120 seconds of a monitor in RAM, with optional desktop sound and microphone. Nothing is written to disk until you save, and you get whatever the buffer held at that moment, so save after the moment you wanted to keep.

# Buffer the focused monitor, including desktop sound
tequilashot replay-start --current-screen --seconds 60 --audio
# Save the buffer and print the clip's path
tequilashot replay-save
# Discard the remaining buffer
tequilashot replay-stop

At the default 20 Mbps H.264, footage takes about 2.5 MB per second, whatever the resolution or refresh rate.

BufferMemory
30 secondsabout 75 MB
60 seconds (default)about 150 MB
120 secondsabout 300 MB

Replay needs a GPU Screen Recorder build with -ipc support. It captures monitors only, and buffering does not resume after the daemon restarts.

AI and local models

The AI features run on your machine or through your own aichat setup, and the models are downloaded once, on your click, with their checksum verified. Nothing is fetched behind your back.

AI file names

When a clipboard capture asks for a file name, tequilashot can send the picture to aichat and suggest one while you type. The model defaults to gemini:gemini-2.5-flash-image and follows whatever providers and keys you already configured in aichat. Turn it off and the plain name entry stays.

Background removal

The round camera's Remove background runs the MODNet portrait-matting model (Apache-2.0) on your CPU through ONNX Runtime. It works in recordings and in the virtual camera, and the Download button in Preferences fetches and verifies the model once. The older U²-Net model remains available with --camera-matting-model u2net or TEQUILASHOT_MATTING_MODEL=u2net.

Noise removal

Remove noise runs the DeepFilterNet3 speech model (MIT and Apache-2.0), about 9 MB, on your CPU through ONNX Runtime. Whilst the microphone records, tequilashot notes when keys go down and up, never which ones, so that each keyboard click can be found in the sound and turned down. The first time, the dialogue offers the download; the checksum is verified before the model is used.

Models live in ~/.local/share/tequilashot/, and Preferences or environment variables can point elsewhere: TEQUILASHOT_AI_MODEL for the naming model, TEQUILASHOT_MATTING_MODEL, TEQUILASHOT_MODNET_MODEL and TEQUILASHOT_ONNXRUNTIME_LIB for background removal, TEQUILASHOT_DENOISE_MODEL for noise removal. The Advanced preferences page also has a mirror setting for the matting model download, restricted to https://.

If the ONNX Runtime library or the matting model is missing, the round camera is hidden and an error is reported rather than showing your real background. A recording or virtual camera that is already running carries on without it.

Install

Prebuilt

GitHub Releases has an x86_64 archive plus deb and rpm packages. They need GTK 4 and libadwaita, and gtk4-layer-shell for the round camera.

# Arch Linux (AUR)
yay -S tequilashot-bin

From source

You need Go 1.25.6 or newer, a C toolchain, and the GTK 4 and libadwaita development files.

go install github.com/chmouel/tequilashot/cmd/tequilashot@main

# or a CLI-only build without GTK
CGO_ENABLED=0 go build -tags nogui -o bin/tequilashot ./cmd/tequilashot

Runtime tools

ToolUsed for
grimCapturing Wayland output
slurpSelecting a region
gpu-screen-recorderVideo, audio and webcam input
wl-clipboardClipboard commands
FFmpegCamera previews, trimming and noise removal
aichatAI-generated file names (optional)

The recorder encodes on the GPU and does not fall back to the CPU, so hardware H.264 encoding has to work on the card the recorder selects. If a capture fails as soon as it starts, check that first.

Command line

Every command talks to the same daemon as the dialogue and starts it when needed.

# Screenshots
tequilashot selection-clipboard
tequilashot selection-file
tequilashot current-window-clipboard

# Recordings
tequilashot movie-screen --audio --mic
tequilashot movie-current-window --camera
tequilashot toggle-record -a movie-current-window -w 2
tequilashot stop-recording

# Virtual camera
tequilashot virtual-camera start --camera

# Noise removal
tequilashot denoise recording.mp4

Key bindings

# Sway, ~/.config/sway/config
bindsym $mod+r exec tequilashot
bindsym Print exec tequilashot selection-clipboard
bindsym $mod+Shift+r exec tequilashot toggle-record -a movie-screen -w 2

-- Hyprland, hyprland.lua
hl.bind("SUPER + R", hl.dsp.exec_cmd("tequilashot"))
hl.bind("Print", hl.dsp.exec_cmd("tequilashot selection-clipboard"))

Waybar

"custom/recording": {
  "exec": "tequilashot waybar-status --follow",
  "on-click": "tequilashot toggle-record -a movie-current-window",
  "return-type": "json"
}

Completion for Bash, Zsh and Fish comes from tequilashot completion <shell>. The README covers preferences, environment variables, replay modules and the virtual camera setup.

Chmouel Boudjnah

Made by Chmouel

I write tequilashot and keep it free and open source. If it earns a place in your desktop, you can follow the work on GitHub or sponsor it. Issues, patches and key bindings from your own Sway or Hyprland setup are welcome.