]> git.sur5r.net Git - i3/i3/commit
Introduce the i3-sensible-{pager,editor,terminal} scripts
authorMichael Stapelberg <michael@stapelberg.de>
Sun, 25 Sep 2011 17:45:51 +0000 (18:45 +0100)
committerMichael Stapelberg <michael@stapelberg.de>
Sun, 25 Sep 2011 17:46:37 +0000 (18:46 +0100)
commit6420b2b102bab214ad0bf1fa0f5e190f02984e82
tree6666f4518093150a2e81551a5a6abb621290756e
parent1675499f1506e86e7b7339e1cc113af81c96db6b
Introduce the i3-sensible-{pager,editor,terminal} scripts

The former two provide fallbacks in case $PAGER or $EDITOR is not set (which
might be more common than you think, because they have to be set in
~/.xsession, not in the shell configuration!) while the latter tries to launch
a terminal emulator. The scripts are most prominently used in i3-nagbar, which
alerts the user when the configuration is broken for some reason. Also,
i3-sensible-terminal is used in the default configuration.

This commit does not rely on the shell supporting ${PAGER:-less} anymore, which
is not the case for 'fish'.
Makefile
PACKAGE-MAINTAINER
common.mk
i3-sensible-editor [new file with mode: 0755]
i3-sensible-pager [new file with mode: 0755]
i3-sensible-terminal [new file with mode: 0755]
i3.config
i3.config.keycodes
src/cfgparse.y