Keyboard shortcuts

Press or to navigate between chapters

Press S or / to search in the book

Press ? to show this help

Press Esc to hide this help

Installation

shotdock is built with native Wayland protocols and GTK4 layer-shell libraries.


Dependencies

Core Requirements

  • gtk4 & gtk4-layer-shell
  • grim & slurp
  • imagemagick (ImageMagick 7 for shadow and canvas pipelines)
  • wl-clipboard
  • libnotify (notify-send)

Optional Tools

  • hyprpicker: Freezes screen animations during area snips (--freeze / -z)
  • tesseract & tesseract-data-eng: Optical Character Recognition (-t)
  • wf-recorder: Video screen recording (-r, --record-area)
  • satty or swappy: Interactive annotation editor
  • rofi: Interactive recording target selection menu

Package Manager Installation

Arch Linux (AUR)

# Using yay
yay -S shotdock

# Using paru
paru -S shotdock

Install recommended optional dependencies on Arch:

sudo pacman -S hyprpicker tesseract tesseract-data-eng wf-recorder swappy rofi

Pre-compiled Binary (Generic Linux x86_64)

Download the standalone tarball from GitHub Releases:

tar -xzf shotdock-v0.1.4-x86_64-linux.tar.gz
sudo install -Dm755 shotdock /usr/local/bin/shotdock

Fedora

sudo dnf install gtk4-devel gtk4-layer-shell-devel grim slurp ImageMagick wl-clipboard libnotify tesseract wf-recorder swappy rofi

Building from Source

Ensure Rust stable is installed:

git clone https://github.com/sirrryasir/shotdock.git
cd shotdock
cargo build --release
sudo install -Dm755 target/release/shotdock /usr/local/bin/shotdock

Cargo Install

Install directly into Cargo’s binary directory:

cargo install --path .