Skip to content

faergeek/still

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

79 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

still

Freeze the screen of a Wayland compositor until a provided command exits.

Important

Make sure the command you provide gives you a way to quit in case it takes over the keyboard input. If keyboard input is not taken over and you just run it from the terminal you can still hit Ctrl+C as still just lets all input to be passed through.

Works great with grim and slurp:

still -c 'slurp | grim -g- -'

As well as with swappy if you want to annotate your screenshot right away:

still -c 'slurp | grim -g- -' | swappy -f -

Add -p if you want to include a cursor (or pointer) on a frozen screenshot:

still -p -c 'slurp | grim -g- -' | swappy -f -

Installation

Arch Linux

There's an AUR package.

Building from source

Install dependencies

Dependencies:

  • meson
  • libwayland-client
  • wayland-protocols
  • pixman
Arch Linux
sudo pacman -S meson pixman wayland wayland-protocols
Debian/Ubuntu
sudo apt-get install meson libpixman-1-dev libwayland-dev wayland-protocols

Compile

meson setup --buildtype release build
ninja -C build

A binary will be at ./build/still.