Installation
shotdock is built with native Wayland protocols and GTK4 layer-shell libraries.
Dependencies
Core Requirements
gtk4>k4-layer-shellgrim&slurpimagemagick(ImageMagick 7 for shadow and canvas pipelines)wl-clipboardlibnotify(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)sattyorswappy: Interactive annotation editorrofi: 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 .