working version of emails
This commit is contained in:
parent
90d2373ee2
commit
ba7347ade1
4
emails
4
emails
@ -1,5 +1,5 @@
|
||||
#!/bin/sh
|
||||
|
||||
# We setup xauthority file to display stuff
|
||||
xauthority="$(cat ~/.Xauthority)"
|
||||
exec sudo -u emails sh -c "echo \"$xauthority\" > ~/.Xauthority && . ~/.bashrc && exec aerc"
|
||||
auth="$(xauth extract - "$DISPLAY" | base64)"
|
||||
exec sudo -u emails sh -c "echo -n '$auth' | base64 -d > ~/.Xauthority && . ~/.bashrc && cd ~/attachements && exec aerc"
|
||||
|
Loading…
Reference in New Issue
Block a user