Skip to content

Instantly share code, notes, and snippets.

@jadia
Created July 27, 2019 09:53
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save jadia/fd53029f15b64be768d56757f4de74b8 to your computer and use it in GitHub Desktop.
Save jadia/fd53029f15b64be768d56757f4de74b8 to your computer and use it in GitHub Desktop.
i3 KDE Debian screenshot utility

Enable screenshot using in i3wm Debian KDE

mkdir -p ~/Pictures/Screenshots

Add the following lines in your i3 config:

# Printscreen controls (KDE)
bindsym Print exec spectacle -bn -o ~/Pictures/Screenshots/$(date +%F-%H-%M-%S-%N)
bindsym Shift+Print exec spectacle -brn -o ~/Pictures/Screenshots/$(date +%F-%H-%M-%S-%N)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment