summaryrefslogtreecommitdiff
path: root/bin/mailsync
diff options
context:
space:
mode:
authorLuke Smith <luke@lukesmith.xyz>2021-09-23 22:18:54 -0400
committerLuke Smith <luke@lukesmith.xyz>2021-09-23 22:18:54 -0400
commitbd0075898ae441bb5e59f83d8b34df68b55aafb3 (patch)
tree10bd450917bfcc02e0a46f8d5e1d8903fb898919 /bin/mailsync
parentb6f0bd44267ea5a5f46ab27d4786ca72ae3511cd (diff)
hardcode mailbox names. don't remake shortcuts.
Diffstat (limited to 'bin/mailsync')
-rwxr-xr-xbin/mailsync2
1 files changed, 1 insertions, 1 deletions
diff --git a/bin/mailsync b/bin/mailsync
index 9490458..36f963b 100755
--- a/bin/mailsync
+++ b/bin/mailsync
@@ -36,7 +36,7 @@ case "$(uname)" in
;;
*)
case "$(readlink -f /sbin/init)" in
- *systemd*) export DBUS_SESSION_BUS_ADDRESS=unix:path=/run/user/$(id -u)/bus ;;
+ *systemd*|*openrc*) export DBUS_SESSION_BUS_ADDRESS=unix:path=/run/user/$(id -u)/bus ;;
esac
# remember if a display server is running since `ps` doesn't always contain a display
pgrepoutput="$(pgrep -a X\(org\|wayland\))"