From 6cabddd647c877e25b9c3f341117e516f89ff781 Mon Sep 17 00:00:00 2001 From: Tom Willemse Date: Fri, 5 Aug 2016 01:47:50 +0200 Subject: [PATCH] Allow other configurations to hook into hlwm --- herbstluftwm/.config/herbstluftwm/autostart | 13 +++++++++++++ 1 file changed, 13 insertions(+) diff --git a/herbstluftwm/.config/herbstluftwm/autostart b/herbstluftwm/.config/herbstluftwm/autostart index 99de8fd..dd1ee58 100755 --- a/herbstluftwm/.config/herbstluftwm/autostart +++ b/herbstluftwm/.config/herbstluftwm/autostart @@ -207,3 +207,16 @@ herbstclient set tree_style '╾│ ├└╼─┐' ## Monitors # I have two monitors, each with a resolution of 1920x1080. hc set_monitors 1920x1080+0+0 1920x1080+1920+0 + +## Other configurations + +# Load any other configuration files in +# $HOME/.config/herbstluftwm/autostart.d so other programs can +# configure parts of herbstluftwm to their needs (such as keybindings +# for Rofi). +if [ -d "${HOME}/.config/herbstluftwm/autostart.d" ]; then + for f in ${HOME}/.config/herbstluftwm/autostart.d/?*.sh; do + [ -x "$f" ] && source "$f" + done + unset f +fi