mirror of
https://github.com/emacs-exwm/exwm.git
synced 2024-11-23 13:07:59 +01:00
Deprecate xinitrc
The example configuration should not be used directly. Instead copy the relevant settings to your X initialization script. See #57. * xinitrc: Print warning when used.
This commit is contained in:
parent
dad0668fc8
commit
41d1e6c1c3
2 changed files with 11 additions and 5 deletions
|
@ -32,11 +32,11 @@
|
||||||
(defun exwm-config--warn ()
|
(defun exwm-config--warn ()
|
||||||
"Print obsoletion warning."
|
"Print obsoletion warning."
|
||||||
(fset #'exwm-config--warn #'ignore)
|
(fset #'exwm-config--warn #'ignore)
|
||||||
(warn "The `exwm-config' file has been deprecated. We do not recommend
|
(warn "The `exwm-config' file has been deprecated. We do not recommend requiring
|
||||||
requiring `exwm-config' directly in your Emacs configuration. Instead
|
`exwm-config' directly in your Emacs configuration. Instead copy the relevant
|
||||||
copy and modify the relevant settings to your configuration. The code
|
settings to your configuration and modify them as needed. The code from here
|
||||||
from here will be moved out of the source repository to the manual after
|
will be moved out of the source repository to the manual after the next
|
||||||
the next release. See https://github.com/emacs-exwm/exwm/issues/57."))
|
release. See https://github.com/emacs-exwm/exwm/issues/57."))
|
||||||
|
|
||||||
(defun exwm-config-example ()
|
(defun exwm-config-example ()
|
||||||
"Default configuration of EXWM."
|
"Default configuration of EXWM."
|
||||||
|
|
6
xinitrc
6
xinitrc
|
@ -1,3 +1,9 @@
|
||||||
|
echo "The xinitrc file has been deprecated. We do not recommend using
|
||||||
|
xinitrc directly as is. Instead copy the relevant settings to your
|
||||||
|
xsession or xinitrc file and modify them as needed. The code from here
|
||||||
|
will be moved out of the source repository to the manual after the
|
||||||
|
next release. See https://github.com/emacs-exwm/exwm/issues/57."
|
||||||
|
|
||||||
# Disable access control for the current user.
|
# Disable access control for the current user.
|
||||||
xhost +SI:localuser:$USER
|
xhost +SI:localuser:$USER
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue