This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/sh | |
# Version 1.2 | |
# shoutout to https://gist.github.com/Cephian/f849e326e3522be9a4386b60b85f2f23 for the original script, | |
# https://github.com/xythh/ added the ankiConnect functionality | |
# toggle record computer audio (run once to start, run again to stop) | |
# dependencies: ffmpeg, pulseaudio, curl | |
# where recording gets saved, gets deleted after being imported to anki | |
DIRECTORY="$HOME/.cache/" |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/sh | |
# Version 1.2 | |
# click and drag to screenshot dragged portion | |
# click on specific window to screenshot window area | |
# dependencies: imagemagick, xclip,curl maybe xdotool (see comment below) | |
# shoutout to https://gist.github.com/Cephian/f849e326e3522be9a4386b60b85f2f23 for the original script, | |
# https://github.com/xythh/ added the ankiConnect functionality | |
# if anki is running the image is added to your latest note as a jpg, if anki is not running it's added to your clipboard as a png |