Skip to content

MeasureOneCodeTwice/screenshot-utils

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

19 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

screenshot-utils is a set of screenshot scripts that are meant to be used as keybinds to take screenshots

Requirements

  • Be using wayland
  • wl-clipboard
  • Bash
  • grim
  • slurp

Installation

  1. clone this repo and navigate inside the folder.
  2. run ./init.sh
  3. profit

Usage

screenshot-utils has three scripts: screenshot, selective_screenshot and window_screenshot.

screenshot takes a snapshot of your whole screen selective_screenshot lets you select an area of your screen to take a snapshot of window_screenshot takes a snapshot of the currently focused window. This feature is only useful if you bind it to a hotkey.

Configuration

screenshot-utils uses two configuration files both located at $HOME/.config/screenshot-utils.

The first file is copy-path and by default contains FALSE. If set to TRUE it will load the path of the file into the clipboard before it takes the screenshot. If set to AFTER it will save the path to the clipboard after the screenshot.

The second file is screenshot-path, it determines the path where the screenshots are saved. The default is $HOME/Pictures/Screenshots.

About

A set of simple screenshot scripts for Wayland

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages