aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/%HOME%
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--%HOME%/.xsessionrc8
1 files changed, 4 insertions, 4 deletions
diff --git a/%HOME%/.xsessionrc b/%HOME%/.xsessionrc
index ebf62d1..6ee3124 100644
--- a/%HOME%/.xsessionrc
+++ b/%HOME%/.xsessionrc
@@ -2,9 +2,9 @@
# This is a workaround to make notify-send inside cron jobs work.
# Thanks to this dude: https://unix.stackexchange.com/a/111190/60124
-# Then you source ~/.dbus/Xdbus inside your cron job, and voilĂ !
-touch "$HOME/.dbus/Xdbus" \
- && chmod 0600 "$HOME/.dbus/Xdbus" \
+# Then you source ~/.dbus.sh inside your cron job, and voilĂ !
+touch -- "$HOME/.dbus.sh" \
+ && chmod 0600 -- "$HOME/.dbus.sh" \
&& [ -n "${DBUS_SESSION_BUS_ADDRESS+x}" ] \
&& command -v printf > /dev/null 2>&1 \
- && printf -- 'export DBUS_SESSION_BUS_ADDRESS=%q\n' "$DBUS_SESSION_BUS_ADDRESS" > "$HOME/.dbus/Xdbus"
+ && printf -- 'export DBUS_SESSION_BUS_ADDRESS=%q\n' "$DBUS_SESSION_BUS_ADDRESS" > "$HOME/.dbus.sh"