diff options
author | Tom Willemse | 2017-06-06 21:27:57 -0700 |
---|---|---|
committer | Tom Willemse | 2017-06-06 21:27:57 -0700 |
commit | 0ac73d412f3ef1eef7b25ae1117e121030fc698b (patch) | |
tree | 1c6b952a1c2731086307d3c8b30d98aa280ed0e0 | |
parent | c9c8f7149836181d4fd2851193a952ebeaa7ce4d (diff) | |
download | new-dotfiles-0ac73d412f3ef1eef7b25ae1117e121030fc698b.tar.gz new-dotfiles-0ac73d412f3ef1eef7b25ae1117e121030fc698b.zip |
Add keybinding to make screenshots
-rwxr-xr-x | herbstluftwm/.config/herbstluftwm/autostart | 4 |
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% |