commit f605191142fcb9a90da896ae9a35ea2adf49857b
parent 6f5d5a1d86644af1ffb566a16fb006086fd8dddf
Author: Mahdi Mirzade <[email protected]>
Date: Mon, 24 Oct 2022 19:20:57 +0330
Change in startx: ~/.Xauthority to /home/mahdi/.local/run/Xauthority
Diffstat:
1 file changed, 3 insertions(+), 0 deletions(-)
diff --git a/Makefile b/Makefile
@@ -24,6 +24,9 @@ copy: ## Force copy dotfiles to $HOME
@for CONFIG_FILE in $(CONFIGS_FILES); do $(CP) $${PWD}/$$CONFIG_FILE $${HOME}/$$CONFIG_FILE; done
$(RUN_PERM) $(MKDIR) /etc/X11/xorg.conf.d
$(RUN_PERM) $(CP) etc/X11/xorg.conf.d/40-libinput.conf /etc/X11/xorg.conf.d/40-libinput.conf
+ sed 's|xserverauthfile=.*|xserverauthfile=${XAUTHORITY:-HOME/.serverauth.$$}|g' "$(which startx)" | $(RUN_PERM) tee "$(which startx)".tmp
+ $(RUN_PERM) mv "$(which startx)".tmp "$(which startx)"
+ $(RUN_PERM) chmod +x "$(which startx)"
arch: ## Install packages for my arch setup
$(INSTALL_ARCH) $(ARCH_PKGS)