diff options
author | Egor Tensin <Egor.Tensin@gmail.com> | 2023-08-15 01:12:37 +0200 |
---|---|---|
committer | Egor Tensin <Egor.Tensin@gmail.com> | 2023-08-15 01:12:39 +0200 |
commit | 457fcce71759614db46db18dda51036b94270ae8 (patch) | |
tree | bfe6634089042e6a81fcced4d9ba3dfafc0e06e7 /%HOME% | |
parent | remove htop settings (diff) | |
download | linux-home-457fcce71759614db46db18dda51036b94270ae8.tar.gz linux-home-457fcce71759614db46db18dda51036b94270ae8.zip |
remove .xsessionrc
It's been deprecated and unused for a long time.
Diffstat (limited to '%HOME%')
-rw-r--r-- | %HOME%/.xsessionrc | 21 |
1 files changed, 0 insertions, 21 deletions
diff --git a/%HOME%/.xsessionrc b/%HOME%/.xsessionrc deleted file mode 100644 index 23d73cc..0000000 --- a/%HOME%/.xsessionrc +++ /dev/null @@ -1,21 +0,0 @@ -# .xsessionrc might only be read on Debian and its derivatives like Ubuntu. - -# 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.sh inside your cron job, and voilĂ ! -export_dbus_variables() { - local output_path="$HOME/.dbus.sh" - local printf_path - rm -f -- "$output_path" - # dash's built-in printf (as opposed to bash's) doesn't support %q. - touch -- "$output_path" \ - && chmod 0600 -- "$output_path" \ - && [ -n "${DBUS_SESSION_BUS_ADDRESS+x}" ] \ - && printf_path="$( which printf )" \ - && "$printf_path" -- 'export DBUS_SESSION_BUS_ADDRESS=%q\n' "$DBUS_SESSION_BUS_ADDRESS" > "$output_path" -} - -# This is semi-deprecated, since systemd timers can replace cron jobs -# completely, and they work with various DISPLAY/XAUTHORITY/DBUS* variables. -# TODO: remove? -export_dbus_variables |