You are not logged in.
Hyprshot is a specialized screenshot utility designed specifically for the Hyprland Wayland compositor. It functions as a shell script that serves as a wrapper around core tools like grim (for capturing), slurp (for region selection), and wl-clipboard (for copying to clipboard).
Navigate to the Hyprshot GitHub repository for the source files and installation instructions. This guide is based on that repository, customized for Devuan.
Install the dependencies mentioned in the Hyprshot repository, alongside the dunst notification daemon.
ℹ️IMPORTANT
On Devuan, libnotify-bin by itself is not enough for Hyprshot to operate.
$ su -
# apt install jq grim slurp wl-clipboard libnotify-bin dunst
# exitFor a manual installation (downloading the script directly), place it in a directory that is in your user's $PATH. The most common and recommended location is ~/.local/bin.
$ mkdir -p ~/.local/binIf this directory does not exist or is not in your PATH, you will need to create it and add it to your shell's configuration file (e.g., ~/.bashrc or ~/.zshrc).
💡TIP
Devuan, by default, should have the ~/.local/bin directory added by default via /etc/bash.bashrc.
$ git clone https://github.com/Gustash/hyprshot.git ~/.local/bin/HyprshotCreate a symbolic link to make the script executable from anywhere.
$ cd ~/.local/bin
$ ln -s $(pwd)/Hyprshot/hyprshot $HOME/.local/bin
$ chmod +x Hyprshot/hyprshotAfter completing the installation, restart your system to ensure all changes, environment variables, and the PATH are properly loaded.
$ su -
# rebootTo test Hyprshot, log in, open a terminal and run a command to capture a specific element, such as:
$ hyprshot -m windowThis command will change your cursor, allowing you to click on any window to take a screenshot. If successful, the screenshot will be saved to your XDG_PICTURES_DIR (typically ~/Pictures) and copied to the clipboard. You can test other modes like -m region for a custom area or -m output for a full monitor.
wolfchar
"An idiot admires complexity, a genius admires simplicity." - Terry A. Davis
Online