aboutsummaryrefslogtreecommitdiffstats
path: root/herbstluftwm
diff options
context:
space:
mode:
authorGravatar Tom Willemse2017-06-06 21:27:57 -0700
committerGravatar Tom Willemse2017-06-06 21:27:57 -0700
commit0ac73d412f3ef1eef7b25ae1117e121030fc698b (patch)
tree1c6b952a1c2731086307d3c8b30d98aa280ed0e0 /herbstluftwm
parentc9c8f7149836181d4fd2851193a952ebeaa7ce4d (diff)
downloadnew-dotfiles-0ac73d412f3ef1eef7b25ae1117e121030fc698b.tar.gz
new-dotfiles-0ac73d412f3ef1eef7b25ae1117e121030fc698b.zip
Add keybinding to make screenshots
Diffstat (limited to 'herbstluftwm')
-rwxr-xr-xherbstluftwm/.config/herbstluftwm/autostart4
1 files changed, 4 insertions, 0 deletions
diff --git a/herbstluftwm/.config/herbstluftwm/autostart b/herbstluftwm/.config/herbstluftwm/autostart
index 41433e6..b40e39a 100755
--- a/herbstluftwm/.config/herbstluftwm/autostart
+++ b/herbstluftwm/.config/herbstluftwm/autostart
@@ -139,6 +139,10 @@ hc keybind XF86AudioPlay spawn mpc toggle
hc keybind XF86AudioNext spawn mpc next
hc keybind XF86AudioPrev spawn mpc prev
+# Add a screenshot button.
+hc keybind Print spawn scrot \
+ "${HOME}/pictures/screenshots/desktop/%Y%m%d_\$wx\$h_scrot.png"
+
if which lumeus >/dev/null 2>&1; then
hc keybind XF86MonBrightnessUp spawn lumeus +10%
hc keybind XF86MonBrightnessDown spawn lumeus -10%