Skip to content

Instantly share code, notes, and snippets.

View Dechrissen's full-sized avatar

Derek Andersen Dechrissen

View GitHub Profile
@Dechrissen
Dechrissen / i3wm-screenshot
Last active June 10, 2025 14:17
i3wm keybind for taking a screenshot and saving it to the clipboard as well as a directory
# ----------------------------------------------------------------------------------------------------------------
# Add this to your i3 config to take a screenshot (selection) and save it to the clipboard just by pressing PrtSc!
# The resulting file will have this format: screenshot_02-Dec-2021_13-24-21.png
#
# NOTE: This assumes you have a directory ~/screenshots and you have installed:
# - maim
# - xclip
# ----------------------------------------------------------------------------------------------------------------
# screenshot (saves to clipboard and a file in ~/screenshots)