diff --git a/man/Makefile b/man/Makefile index facea287..44b2df6e 100644 --- a/man/Makefile +++ b/man/Makefile @@ -1,6 +1,6 @@ A2M:=a2x -f manpage --asciidoc-opts="-f asciidoc.conf" -all: i3.1 i3-msg.1 i3-input.1 i3-nagbar.1 i3-wsbar.1 i3-config-wizard.1 i3-migrate-config-to-v4.1 +all: i3.1 i3-msg.1 i3-input.1 i3-nagbar.1 i3-wsbar.1 i3-config-wizard.1 i3-migrate-config-to-v4.1 i3-sensible-editor.1 i3-sensible-pager.1 i3-sensible-terminal.1 %.1: %.man asciidoc.conf ${A2M} $< @@ -9,7 +9,7 @@ i3-wsbar.1: ../i3-wsbar pod2man $^ > $@ clean: - for file in $$(echo i3 i3-msg i3-input i3-nagbar i3-wsbar i3-config-wizard i3-migrate-config-to-v4); \ + for file in $$(echo i3 i3-msg i3-input i3-nagbar i3-wsbar i3-config-wizard i3-migrate-config-to-v4 i3-sensible-editor i3-sensible-pager i3-sensible-terminal); \ do \ rm -f $${file}.1 $${file}.html $${file}.xml; \ done diff --git a/man/i3-sensible-editor.man b/man/i3-sensible-editor.man new file mode 100644 index 00000000..86fbf840 --- /dev/null +++ b/man/i3-sensible-editor.man @@ -0,0 +1,36 @@ +i3-sensible-editor(1) +=================== +Michael Stapelberg +v4.1, November 2011 + +== NAME + +i3-sensible-editor - launches $EDITOR with fallbacks + +== SYNOPSIS + +i3-sensible-editor [arguments] + +== DESCRIPTION + +i3-sensible-editor is used by i3-nagbar(1) when you click on the edit button. + +It tries to start one of the following (in that order): + +* $VISUAL +* $EDITOR +* nano +* vim +* vi +* emacs + +Please don’t complain about the order: If the user has any preference, he will +have $VISUAL or $EDITOR set. + +== SEE ALSO + +i3(1) + +== AUTHOR + +Michael Stapelberg and contributors diff --git a/man/i3-sensible-pager.man b/man/i3-sensible-pager.man new file mode 100644 index 00000000..73bd2fda --- /dev/null +++ b/man/i3-sensible-pager.man @@ -0,0 +1,34 @@ +i3-sensible-pager(1) +=================== +Michael Stapelberg +v4.1, November 2011 + +== NAME + +i3-sensible-pager - launches $PAGER with fallbacks + +== SYNOPSIS + +i3-sensible-pager [arguments] + +== DESCRIPTION + +i3-sensible-pager is used by i3-nagbar(1) when you click on the view button. + +It tries to start one of the following (in that order): + +* $PAGER +* most +* less +* i3-sensible-editor(1) + +Please don’t complain about the order: If the user has any preference, he will +have $PAGER set. + +== SEE ALSO + +i3(1) + +== AUTHOR + +Michael Stapelberg and contributors diff --git a/man/i3-sensible-terminal.man b/man/i3-sensible-terminal.man new file mode 100644 index 00000000..140e412b --- /dev/null +++ b/man/i3-sensible-terminal.man @@ -0,0 +1,39 @@ +i3-sensible-terminal(1) +======================= +Michael Stapelberg +v4.1, November 2011 + +== NAME + +i3-sensible-terminal - launches $TERMINAL with fallbacks + +== SYNOPSIS + +i3-sensible-terminal [arguments] + +== DESCRIPTION + +i3-sensible-terminal is invoked in the i3 default config to start a terminal. +This wrapper script is necessary since there is no distribution-independent +terminal launcher (but for example Debian has x-terminal-emulator). +Distribution packagers are responsible for shipping this script in a way which +is appropriate for the distribution. + +It tries to start one of the following (in that order): + +* $TERMINAL (this is a non-standard variable) +* xterm +* urxvt +* rxvt +* roxterm + +Please don’t complain about the order: If the user has any preference, he will +have $TERMINAL set or modified his i3 configuration file. + +== SEE ALSO + +i3(1) + +== AUTHOR + +Michael Stapelberg and contributors