# HG changeset patch # User Steve Losh # Date 1577995998 18000 # Node ID b9806066f2a95fcae3a025b536d899ec6d943a81 # Parent 1790650ca7326a5bccd9cf8f88138c6a808c84cc Everything is broken all the time diff -r 1790650ca732 -r b9806066f2a9 bin/fucked-screenshot --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/bin/fucked-screenshot Thu Jan 02 15:13:18 2020 -0500 @@ -0,0 +1,5 @@ +#!/usr/bin/env bash + +set -euo pipefail + +ls -1 ~/screenshots/*.png | sort -nr | head -1 | xargs cp -t ~/Dropbox/fucked-screenshots/ diff -r 1790650ca732 -r b9806066f2a9 stumpwmrc --- a/stumpwmrc Fri Dec 27 10:34:00 2019 -0500 +++ b/stumpwmrc Thu Jan 02 15:13:18 2020 -0500 @@ -231,6 +231,9 @@ (defcommand screenshot () () (run-shell-command "screenshot")) +(defcommand save-fucked-screenshot () () + (run-shell-command "fucked-screenshot")) + ;;;; Brightness --------------------------------------------------------------- (defparameter *brightness-values* #(0 1 5 10 25 50 75 100)) @@ -479,6 +482,7 @@ ("H-o" "spotify") ("H-q" "exec lock-screen") ("H-y" "screenshot") + ("H-f" "save-fucked-screenshot") ("H-r" "loadrc") ("H-V" "vlime"))