aboutsummaryrefslogtreecommitdiffstats
path: root/herbstluftwm/.config
diff options
context:
space:
mode:
Diffstat (limited to 'herbstluftwm/.config')
-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%