dotfiles

commit 8e605a5db0e89ad5e3566e8769df9675f8f7e243

Author: Honza Pokorny <me@honza.ca>

Put screenshots into a subdir

 bin/take-screenshot | 2 +-
 bin/take-screenshot-x11 | 2 +-


diff --git a/bin/take-screenshot b/bin/take-screenshot
index 59296cf6d13851dcf430c9a72a12a105cfd4a718..9b9b3d487f92d6ea9c6261aa6919985d88839e7d 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.jpg')
+grim -g "$(slurp)" $(xdg-user-dir PICTURES)/screenshots/$(date +'%Y-%m-%d-%H%M%S-screenshot.jpg')




diff --git a/bin/take-screenshot-x11 b/bin/take-screenshot-x11
index 65989014528dd3c23d969b25ffb741de9e5e9c31..a8622308a063aeb6877a1eb5c088fe0519608e33 100755
--- a/bin/take-screenshot-x11
+++ b/bin/take-screenshot-x11
@@ -1,3 +1,3 @@
 #!/usr/bin/env bash
 
-maim -s $(xdg-user-dir PICTURES)/$(date +'%Y-%m-%d-%H%M%S-screenshot.jpg')
+maim -s $(xdg-user-dir PICTURES)/screenshots/$(date +'%Y-%m-%d-%H%M%S-screenshot.jpg')