aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rwxr-xr-xherbstluftwm/.config/herbstluftwm/autostart13
1 files changed, 13 insertions, 0 deletions
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