updates to openbox config

This commit is contained in:
Tobias Schmidl 2018-10-08 06:41:25 +02:00
parent 674a890ad1
commit e9b93f0b8c
3 changed files with 16 additions and 2 deletions

View file

@ -8,4 +8,3 @@ pcmanfm --desktop &
xfce4-power-manager &
plank &
chrome --no-startup-window &
# pasystray &

3
.config/openbox/environment Executable file
View file

@ -0,0 +1,3 @@
#! /bin/sh
. $HOME/.config/user-dirs.dirs
export XDG_DESKTOP_DIR XDG_DOWNLOAD_DIR XDG_TEMPLATES_DIR XDG_PUBLICSHARE_DIR XDG_DOCUMENTS_DIR XDG_MUSIC_DIR XDG_PICTURES_DIR XDG_VIDEOS_DIR

View file

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