chiark / gitweb /
xinitrc and friends: Embed prompt-and-run functionality in xinitrc.
authorMark Wooding <mdw@distorted.org.uk>
Sun, 14 Dec 2008 18:42:25 +0000 (18:42 +0000)
committerMark Wooding <mdw@distorted.org.uk>
Sun, 14 Dec 2008 19:02:09 +0000 (19:02 +0000)
commit3bdada4962d3362d915917eaf3675aeff509c3c5
tree3739cd5ac1e610b49a95d30debb28983131995f4
parentf444229a67edd550bc091e376c92f203f5c1faae
xinitrc and friends: Embed prompt-and-run functionality in xinitrc.

The prompt-and-run functionality used to be in xrun.  Unfortunately,
that runs programs from the context of the window manager (assuming you
started it from M5-F9 or whatever).  We can do better, and start the
program from the context of the xinitrc script, which we can change more
readily.  It seems easiest to simply scrap xrun and embed the
functionality directly into the xinitrc.

As a bonus, I've also added (and bound to M5-F10) a popup for submitting
commands to the xinitrc itself, and provided a script xinitcmd for doing
the same from the command line (though this is less useful).
e16-bindings
setup
xinitcmd [new file with mode: 0755]
xinitrc
xrun [deleted file]