aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/%HOME%
diff options
context:
space:
mode:
authorEgor Tensin <Egor.Tensin@gmail.com>2018-06-04 01:16:14 +0000
committerEgor Tensin <Egor.Tensin@gmail.com>2018-06-04 01:16:14 +0000
commitf4c755333916f55b9125e66d1a79e979190357e6 (patch)
tree1bfba9da81ce95084d9850e7c62a01057757881c /%HOME%
parentspawn_ssh_agent: add a comment (diff)
downloadlinux-home-f4c755333916f55b9125e66d1a79e979190357e6.tar.gz
linux-home-f4c755333916f55b9125e66d1a79e979190357e6.zip
.xsessionrc: use ~/.dbus.sh instead of ~/.dbus/Xdbus
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"