optimized scrot for openbox

This commit is contained in:
Tobias Schmidl 2018-10-02 16:08:23 +02:00
parent 6e0a2ae0f2
commit 3e9868c475
2 changed files with 3 additions and 1 deletions

View file

@ -267,7 +267,7 @@
<!-- Take a screenshot of the current window with scrot when Alt+Print are pressed --> <!-- Take a screenshot of the current window with scrot when Alt+Print are pressed -->
<keybind key="A-Print"> <keybind key="A-Print">
<action name="Execute"> <action name="Execute">
<command>scrot -s</command> <command>scrot -s "$XDG_PICTURES_DIR/scrot-%Y%m%dT%H%M%S.jpg"</command>
</action> </action>
</keybind> </keybind>
<!-- Keybindings for window switching --> <!-- Keybindings for window switching -->

2
.xsession Executable file
View file

@ -0,0 +1,2 @@
#! /bin/sh
. $HOME/.config/user-dirs.dirs