Skip to content

Instantly share code, notes, and snippets.

View Andrew-Pynch's full-sized avatar
🎯
Focusing

Andrew Pynch Andrew-Pynch

🎯
Focusing
View GitHub Profile
#!/bin/bash
# make sure to install dependencies
# sudo apt-get install maim xclip
# if you want to make this action hotkeyable add the following lines to your
# .zshrc or .bashrc file
# alias segmented_screenshot='~/Linux-Setup-Scripts/scripts/take_segmented_screenshot.sh'
# bindkey -s '^x' 'segmented_screenshot\n' # this will bind segmented screenshot to ctrl + x