petits-scripts-persos/emails

6 lines
183 B
Bash
Executable File

#!/bin/sh
# We setup xauthority file to display stuff
xauthority="$(cat ~/.Xauthority)"
exec sudo -u emails sh -c "echo \"$xauthority\" > ~/.Xauthority && . ~/.bashrc && exec aerc"