aboutsummaryrefslogtreecommitdiffstats
path: root/gimp
diff options
context:
space:
mode:
authorGravatar Tom Willemse2019-09-09 22:39:53 -0700
committerGravatar Tom Willemse2019-09-09 22:39:53 -0700
commit6b709924b91bc364c67504c85688c13a14985a24 (patch)
treec1386323b69e057020b4ca541966863f926d8a4a /gimp
parentf5f12597373ea266eee0d0946f44a4631b7f1e98 (diff)
downloadnew-dotfiles-6b709924b91bc364c67504c85688c13a14985a24.tar.gz
new-dotfiles-6b709924b91bc364c67504c85688c13a14985a24.zip
Add Gimp configuration in herbstluftwm
Diffstat (limited to 'gimp')
-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