From 0ac73d412f3ef1eef7b25ae1117e121030fc698b Mon Sep 17 00:00:00 2001 From: Tom Willemse Date: Tue, 6 Jun 2017 21:27:57 -0700 Subject: [PATCH] Add keybinding to make screenshots --- herbstluftwm/.config/herbstluftwm/autostart | 4 ++++ 1 file changed, 4 insertions(+) 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%