Skip to content

Latest commit

 

History

History
97 lines (73 loc) · 2.37 KB

README.md

File metadata and controls

97 lines (73 loc) · 2.37 KB

MagickShot – ImageMagick Screenshot

Contents

MagickShot is a program to take screenshots using ImageMagick. It is more minimal than using scrot but more convenient than using ImageMagick. It is the perfect balance between the two. It also supports notification sounds.

Usage

`# user` magickshot --selection # take a screenshot of the selection
`# user` magickshot --window # take a screenshot of the specied window (default is focused window)
`# user` magickshot --selection --window # use the cursor to select a window to screenshot
`# user` magickshot --monitor # take a screenshot of the specified monitor (default option) (default is focused monitor, count starts from 0)
`# user` magickshot --display # take a screenshot of the entire display

Dependencies

  1. imagemagick
  2. xdotool
  3. xrandr
  4. printmon

Optional

The following is used for notification sounds:

  1. any media player (set the PLAYER environment variable, the default is mpv)
  2. deepin-sound-theme

Installation

Universal

`# user` git clone https://github.com/amarakon/magickshot
`# user` cd magickshot
`# root` make install

Gentoo

`# root` eselect repository add amarlay git https://github.com/amarakon/amarlay
`# root` emerge --sync amarlay
`# root` emerge media-gfx/magickshot

Uninstallation

Universal

`# user` cd magickshot
`# root` make uninstall

Gentoo

`# root` emerge -c media-gfx/magickshot
# Remove my overlay (optional)
`# root` eselect-repository remove -f amarlay
`# root` emerge --sync

Configuration

You can change the default options for MagickShot via the configuration file. The configuration file is located in the configuration directory, so usually ~/.config/magickshot/magickshot.conf. Here is an example configuration:

output_directory=~/Images/Screenshots
title="%Y-%d_%R:%S"

sound_directory=/usr/share/sounds/deepin/stereo
sound_success=$sound_directory/complete-print.wav
sound_failure=$sound_directory/dialog-error-serious.wav