Hello there! You are currently visiting gopherspace through a
proxy. To learn more about gopher and how to browse it, read this.


# Lets the user select a region of the screen and uploads the
# screenshot using sharenix.
# Requires https://github.com/Francesco149/sharenix

# not sleeping can cause glitchyness
sleep 0.2s

# take a screenshot using gnome-screenshot
sharenixtmp=$(mktemp /tmp/nicememe.XXXXXXXXXXXXXXXXXXX.png)
gnome-screenshot -a -f $sharenixtmp

# check file size (0b means that gnome-screenshot was cancelled)
sharenixtmpsize=$(wc -c <"$sharenixtmp")
if [ $sharenixtmpsize != 0 ]; then
sharenix -n $sharenixtmp