aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--gimp/.config/herbstluftwm/autostart.d/gimp.sh17
1 files changed, 17 insertions, 0 deletions
diff --git a/gimp/.config/herbstluftwm/autostart.d/gimp.sh b/gimp/.config/herbstluftwm/autostart.d/gimp.sh
new file mode 100644
index 0000000..08cffb3
--- /dev/null
+++ b/gimp/.config/herbstluftwm/autostart.d/gimp.sh
@@ -0,0 +1,17 @@
+# GIMP
+# ensure there is a gimp tag
+hc add gimp
+hc load gimp '
+(split horizontal:0.850000:1
+ (split horizontal:0.150000:0
+ (clients vertical:0)
+ (clients grid:0))
+ (clients vertical:0))
+' # load predefined layout
+# center all other gimp windows on gimp tag
+hc rule class=Gimp tag=gimp index=01 pseudotile=on
+hc rule class=Gimp windowrole~'gimp-(image-window|toolbox|dock)' pseudotile=off
+hc rule class=Gimp windowrole=gimp-toolbox-1 focus=off index=00
+hc rule class=Gimp windowrole=gimp-dock-1 focus=off index=1
+hc rule class=Gimp windowrole=gimp-image-window-1 pseudotile=off switchtag=on \
+ focus=on