update docker-gimp (host is broken)

This commit is contained in:
Simon Bruder 2018-08-17 13:05:23 +00:00
parent 62ada90286
commit e848cd1126
No known key found for this signature in database
GPG key ID: 6F03E0000CC5B62F

View file

@ -15,20 +15,18 @@ function docker-imagecheck() {
fi
}
# gimp on host is very broken, so this is my (temporary) workaround
function docker-gimp() {
for file in $@; do
files="${files}/home/gui/data/${file} "
done
docker run --rm -d \
-v /tmp/.X11-unix:/tmp/.X11-unix \
-v $PWD:/home/gui/data/ \
-v /tmp/:/home/gui/tmp/ \
-e DISPLAY \
-e LANG \
-e uid=$UID \
-e gid=$UID \
--device /dev/dri \
r.jalr.de/sbruder/docker-gimp $files
docker run --rm -it \
-e DISPLAY \
-e HOME=/home/gimp \
-u $(id -u) \
-v /tmp/.X11-unix:/tmp/.X11-unix \
-v $PWD:/home/gimp/data/ \
-v /tmp/:/home/gimp/tmp/ \
-v ~/.local/share/gegl-0.4:/home/gimp/.local/share/gegl-0.4 \
-v ~/.config/GIMP/:/home/gimp/.config/GIMP/ \
jess/gimp $@
}
function vobsub2srt() {