browser: copy sndiod cookie
This commit is contained in:
parent
8de76cf8b1
commit
7580a2b588
@ -22,6 +22,10 @@ tor-browser)
|
|||||||
esac
|
esac
|
||||||
|
|
||||||
dpy=${DISPLAY:-:0}
|
dpy=${DISPLAY:-:0}
|
||||||
xauth extract - "$dpy" |
|
{
|
||||||
ssh -l "$user" localhost -- \
|
dd if=~/.sndio/cookie bs=1 count=16
|
||||||
xauth merge - '&&' env DISPLAY="$dpy" "$browser" "$@"
|
xauth extract - "$dpy"
|
||||||
|
} | ssh -l "$user" localhost -- \
|
||||||
|
dd of=.sndio/cookie bs=1 count=16 '&&' \
|
||||||
|
xauth merge - '&&' \
|
||||||
|
env DISPLAY="$dpy" "$browser" "$@"
|
||||||
|
Loading…
Reference in New Issue
Block a user