aboutsummaryrefslogtreecommitdiff
path: root/feh/run
blob: 1ecca1dfcaea23e665e81a3ea4ec9bf84a4a1692 (plain)
1
2
3
4
5
6
7
8
9
#!/bin/bash

docker run -ti --rm --net=host \
    -w `pwd` \
    -e DISPLAY \
    -e XAUTHORITY=$HOME/.Xauthority \
    -v $HOME/.Xauthority:$HOME/.Xauthority:ro \
    -v `pwd`:`pwd`:ro \
    feh "$@"