summaryrefslogtreecommitdiffstats
path: root/herbstluftwm
diff options
context:
space:
mode:
authorGravatar Tom Willemse2015-06-17 10:58:01 +0200
committerGravatar Tom Willemse2015-06-17 10:58:01 +0200
commit6cb0641a18963ce52a1202467387aad0031727b2 (patch)
treee38d9932f33da26f9093503e61fbe881288c6ca6 /herbstluftwm
parent811b1720d39be64d8dc614fb96f0816fe7fc8a6e (diff)
downloaddotfiles-6cb0641a18963ce52a1202467387aad0031727b2.tar.gz
dotfiles-6cb0641a18963ce52a1202467387aad0031727b2.zip
Set-up monitors
Diffstat (limited to 'herbstluftwm')
-rwxr-xr-xherbstluftwm/.config/herbstluftwm/autostart19
1 files changed, 15 insertions, 4 deletions
diff --git a/herbstluftwm/.config/herbstluftwm/autostart b/herbstluftwm/.config/herbstluftwm/autostart
index 8eb996f..457a65d 100755
--- a/herbstluftwm/.config/herbstluftwm/autostart
+++ b/herbstluftwm/.config/herbstluftwm/autostart
@@ -123,10 +123,21 @@ hc unlock
herbstclient set tree_style '╾│ ├└╼─┐'
-# do multi monitor setup here, e.g.:
-# hc set_monitors 1280x1024+0+0 1280x1024+1280+0
-# or simply:
-# hc detect_monitors
+hc lock
+
+# do multi monitor setup
+hc set_monitors \
+ 1920x1080+0+0 \
+ 1920x1080+1920+0
+
+# Pad the first monitor 16 pixels on the bottom.
+hc pad 0 0 0 31
+
+hc load 1 '(split horizontal:0.610000:1 (clients max:0) (clients vertical:0))'
+hc load 2 '(clients max:0)'
+hc focus_edge left
+
+hc unlock
# find the panel
panel=~/.config/herbstluftwm/panel.sh