Author: Honza Pokorny <me@honza.ca>
Screenshots
bin/take-screenshot | 2 +- bin/take-screenshot-x11 | 3 +++
diff --git a/bin/take-screenshot b/bin/take-screenshot index 84fb91c7aefa283516063fa3fc62f8039539a8d2..59296cf6d13851dcf430c9a72a12a105cfd4a718 100755 --- a/bin/take-screenshot +++ b/bin/take-screenshot @@ -1,3 +1,3 @@ #!/usr/bin/env bash -grim -g "$(slurp)" $(xdg-user-dir PICTURES)/$(date +'%Y-%m-%d-%H%M%S-screenshot.png') +grim -g "$(slurp)" $(xdg-user-dir PICTURES)/$(date +'%Y-%m-%d-%H%M%S-screenshot.jpg') diff --git a/bin/take-screenshot-x11 b/bin/take-screenshot-x11 new file mode 100755 index 0000000000000000000000000000000000000000..65989014528dd3c23d969b25ffb741de9e5e9c31 --- /dev/null +++ b/bin/take-screenshot-x11 @@ -0,0 +1,3 @@ +#!/usr/bin/env bash + +maim -s $(xdg-user-dir PICTURES)/$(date +'%Y-%m-%d-%H%M%S-screenshot.jpg')