all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* Change keymap using .xinitrc
@ 2022-03-14  1:03 goncholden via Users list for the GNU Emacs text editor
  0 siblings, 0 replies; only message in thread
From: goncholden via Users list for the GNU Emacs text editor @ 2022-03-14  1:03 UTC (permalink / raw)
  To: goncholden via Users list for the GNU Emacs text editor

I have made a .xinitrc file in my home directory. Want to run the file xinit.rc form directory ${HOME}/bin/inge.

Is the following the way to do things?

File: .xinitrc

#!/bin/bash

source ${HOME}/bin/inge/xinit.rc

--------

File: ${HOME}/bin/inge/xinit.rc

#!/bin/bash

linge_trk="${HOME}/bin/inge"

xmodmap_variant=2
if (( xmodmap_variant == 0 )); then
xmodmap ${linge_trk}/inge-xmodmap
elif (( xmodmap_variant == 1 )); then
xmodmap ${linge_trk}/camswap-xmodmap
else
echo "Not using xmodmap"
fi

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2022-03-14  1:03 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2022-03-14  1:03 Change keymap using .xinitrc goncholden via Users list for the GNU Emacs text editor

Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.