dotfiles

My collection of dotfiles
git clone git://git.noxz.tech/dotfiles
Log | Files | Refs

commit d2d5f9defc66bfba6cf7e5ee2c088d6f3542f0ae
parent 39da6881a8d27f282673ee4e67c9b97df4969913
Author: Chris Noxz <chris@noxz.tech>
Date:   Mon, 27 Apr 2020 20:41:37 +0200

[ksh] prevent desktop applications from creating $HOME/Desktop

Diffstat:
Mksh/.profile | 3+++
1 file changed, 3 insertions(+), 0 deletions(-)

diff --git a/ksh/.profile b/ksh/.profile @@ -6,6 +6,9 @@ test -z "$XDG_CONFIG_DIRS" && export XDG_CONFIG_DIRS="/etc/xdg" test -z "$XDG_CACHE_HOME" && export XDG_CACHE_HOME="$HOME/.cache" test -z "$XDG_RUNTIME_DIR" && export XDG_RUNTIME_DIR="/tmp/$(id -u)-runtime-dir" +# this is a window manager, not a desktop environment +export XDG_DESKTOP_DIR="$HOME" + # create XDG_RUNTIME_DIR if non-existent if ! test -d "${XDG_RUNTIME_DIR}"; then mkdir "${XDG_RUNTIME_DIR}"