xinitrc: rename to xsession

This commit is contained in:
Lucas Gabriel Vuotto 2024-10-26 14:53:17 +00:00
parent 6ad9f693d5
commit 69657b77c3
2 changed files with 4 additions and 4 deletions

View File

@ -1,5 +1,5 @@
# env # env
# Written in 2019,2021,2023 by Lucas # Written in 2019,2021,2023-2024 by Lucas
# CC0 1.0 Universal/Public domain - No rights reserved # CC0 1.0 Universal/Public domain - No rights reserved
# #
# To the extent possible under law, the author(s) have dedicated all # To the extent possible under law, the author(s) have dedicated all
@ -13,7 +13,7 @@
PREFIX= $(HOME) PREFIX= $(HOME)
FILES= Xdefaults gitconfig mg nexrc profile shrc tmux.conf vimrc xinitrc FILES= Xdefaults gitconfig mg nexrc profile shrc tmux.conf vimrc xsession
all: install all: install
@ -24,8 +24,8 @@ diff:
install: install:
for f in $(FILES); do cp -f "$$f" $(PREFIX)/."$$f"; done for f in $(FILES); do cp -f "$$f" $(PREFIX)/."$$f"; done
ln -fs $(PREFIX)/.xinitrc $(PREFIX)/.xsession ln -f $(PREFIX)/.xsession $(PREFIX)/.xinitrc
uninstall: uninstall:
for f in $(FILES); do rm -f $(PREFIX)/."$$f"; done for f in $(FILES); do rm -f $(PREFIX)/."$$f"; done
rm -f $(PREFIX)/.xsession rm -f $(PREFIX)/.xinitrc