diff --git a/dotfiles.yml b/dotfiles.yml index 86508b1..23a452b 100644 --- a/dotfiles.yml +++ b/dotfiles.yml @@ -45,7 +45,7 @@ dotfiles: - from: x/Xresources to: .config/Xresources - from: x/xinitrc - to: .xinitrc + to: .config/xinitrc - from: zsh/zprofile to: .config/zsh/.zprofile template: true diff --git a/zsh/zprofile.j2 b/zsh/zprofile.j2 index dda3d4f..76ac956 100644 --- a/zsh/zprofile.j2 +++ b/zsh/zprofile.j2 @@ -58,6 +58,8 @@ export GNUPGHOME="$XDG_STATE_HOME"/gnupg export PYTHON_HISTORY=$XDG_STATE_HOME/python/history export PYTHONPYCACHEPREFIX=$XDG_CACHE_HOME/python +export XINITRC="$XDG_CONFIG_HOME"/xinitrc + umask 0022 {% set env = machine.environment | combine(user.environment) %}