1
0
Fork 0
mirror of https://github.com/davatorium/rofi.git synced 2024-11-18 13:54:36 -05:00

[Man] update-rofi-sensible-terminal.1 manpage

* Source from markdown
* Update list.

Fixes: #897 #850
This commit is contained in:
Dave Davenport 2020-09-19 16:49:50 +02:00
parent 4862584ad2
commit b434e3e02e
5 changed files with 116 additions and 141 deletions

View file

@ -184,6 +184,7 @@ EXTRA_DIST += \
doc/rofi-theme.5.markdown \ doc/rofi-theme.5.markdown \
doc/rofi-script.5.markdown \ doc/rofi-script.5.markdown \
doc/rofi-theme-selector.1.markdown \ doc/rofi-theme-selector.1.markdown \
doc/rofi-sensible-terminal.1.markdown \
doc/rofi.1.markdown doc/rofi.1.markdown
@ -260,11 +261,12 @@ EXTRA_DIST+=\
## ##
update-manpage: $(top_srcdir)/doc/rofi-theme-selector.1.markdown $(top_srcdir)/doc/rofi.1.markdown $(top_srcdir)/doc/rofi-theme.5.markdown $(top_srcdir)/doc/rofi-script.5.markdown update-manpage: $(top_srcdir)/doc/rofi-theme-selector.1.markdown $(top_srcdir)/doc/rofi.1.markdown $(top_srcdir)/doc/rofi-theme.5.markdown $(top_srcdir)/doc/rofi-script.5.markdown ${top_srcdir}/doc/rofi-sensible-terminal.1.markdown
go-md2man -in $(top_srcdir)/doc/rofi.1.markdown -out $(top_srcdir)/doc/rofi.1 go-md2man -in $(top_srcdir)/doc/rofi.1.markdown -out $(top_srcdir)/doc/rofi.1
go-md2man -in $(top_srcdir)/doc/rofi-theme-selector.1.markdown -out $(top_srcdir)/doc/rofi-theme-selector.1 go-md2man -in $(top_srcdir)/doc/rofi-theme-selector.1.markdown -out $(top_srcdir)/doc/rofi-theme-selector.1
go-md2man -in $(top_srcdir)/doc/rofi-theme.5.markdown -out $(top_srcdir)/doc/rofi-theme.5 go-md2man -in $(top_srcdir)/doc/rofi-theme.5.markdown -out $(top_srcdir)/doc/rofi-theme.5
go-md2man -in $(top_srcdir)/doc/rofi-script.5.markdown -out $(top_srcdir)/doc/rofi-script.5 go-md2man -in $(top_srcdir)/doc/rofi-script.5.markdown -out $(top_srcdir)/doc/rofi-script.5
go-md2man -in $(top_srcdir)/doc/rofi-sensible-terminal.1.markdown -out $(top_srcdir)/doc/rofi-sensible-terminal.1
## ##
# Rofi test program # Rofi test program

View file

@ -1,148 +1,66 @@
.TH "ROFI\-SENSIBLE\-TERMIN" "1" .TH rofi\-sensible\-terminal 1 rofi\-sensible\-terminal
.ie \n(.g .ds Aq \(aq .SH NAME
.el .ds Aq ' .PP
.nh \fBrofi\-sensible\-terminal\fP \- launches $TERMINAL with fallbacks
.ad l
.SH "NAME" .SH SYNOPSIS
rofi-sensible-terminal \- launches $TERMINAL with fallbacks .PP
.SH "SYNOPSIS"
.sp
rofi\-sensible\-terminal [arguments] rofi\-sensible\-terminal [arguments]
.SH "DESCRIPTION"
.sp .SH DESCRIPTION
rofi\-sensible\-terminal is invoked in the rofi 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\&. .PP
.sp rofi\-sensible\-terminal is invoked in the rofi 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.
.PP
It tries to start one of the following (in that order): It tries to start one of the following (in that order):
.sp .IP \(bu 2
.RS 4 \fB\fC$TERMINAL\fR (this is a non\-standard variable)
.ie n \{\ .IP \(bu 2
\h'-04'\(bu\h'+03'\c
.\}
.el \{\
.sp -1
.IP \(bu 2.3
.\}
$TERMINAL (this is a non\-standard variable)
.RE
.sp
.RS 4
.ie n \{\
\h'-04'\(bu\h'+03'\c
.\}
.el \{\
.sp -1
.IP \(bu 2.3
.\}
x\-terminal\-emulator x\-terminal\-emulator
.RE .IP \(bu 2
.sp
.RS 4
.ie n \{\
\h'-04'\(bu\h'+03'\c
.\}
.el \{\
.sp -1
.IP \(bu 2.3
.\}
termite
.RE
.sp
.RS 4
.ie n \{\
\h'-04'\(bu\h'+03'\c
.\}
.el \{\
.sp -1
.IP \(bu 2.3
.\}
urxvt urxvt
.RE .IP \(bu 2
.sp
.RS 4
.ie n \{\
\h'-04'\(bu\h'+03'\c
.\}
.el \{\
.sp -1
.IP \(bu 2.3
.\}
rxvt rxvt
.RE .IP \(bu 2
.sp st
.RS 4 .IP \(bu 2
.ie n \{\ terminology
\h'-04'\(bu\h'+03'\c .IP \(bu 2
.\} qterminal
.el \{\ .IP \(bu 2
.sp -1
.IP \(bu 2.3
.\}
terminator
.RE
.sp
.RS 4
.ie n \{\
\h'-04'\(bu\h'+03'\c
.\}
.el \{\
.sp -1
.IP \(bu 2.3
.\}
Eterm Eterm
.RE .IP \(bu 2
.sp
.RS 4
.ie n \{\
\h'-04'\(bu\h'+03'\c
.\}
.el \{\
.sp -1
.IP \(bu 2.3
.\}
aterm aterm
.RE .IP \(bu 2
.sp uxterm
.RS 4 .IP \(bu 2
.ie n \{\
\h'-04'\(bu\h'+03'\c
.\}
.el \{\
.sp -1
.IP \(bu 2.3
.\}
xterm xterm
.RE .IP \(bu 2
.sp
.RS 4
.ie n \{\
\h'-04'\(bu\h'+03'\c
.\}
.el \{\
.sp -1
.IP \(bu 2.3
.\}
roxterm roxterm
.RE .IP \(bu 2
.sp xfce4\-terminal.wrapper
.RS 4 .IP \(bu 2
.ie n \{\ mate\-terminal
\h'-04'\(bu\h'+03'\c .IP \(bu 2
.\} lxterminal
.el \{\ .IP \(bu 2
.sp -1 konsole
.IP \(bu 2.3 .IP \(bu 2
.\} alacritty
xfce4\-terminal .IP \(bu 2
.RE kitty
.sp
Please don\(cqt complain about the order: If the user has any preference, she will have $TERMINAL set or modified her rofi configuration file\&. .SH SEE ALSO
.SH "SEE ALSO" .PP
.sp
rofi(1) rofi(1)
.SH "AUTHOR"
.sp .SH AUTHORS
.PP
Dave Davenport and contributors Dave Davenport and contributors
.sp
.PP
Copied script from i3: Copied script from i3:
.br
Michael Stapelberg and contributors Michael Stapelberg and contributors

View file

@ -0,0 +1,50 @@
# rofi-sensible-terminal 1 rofi-sensible-terminal
## NAME
**rofi-sensible-terminal** - launches $TERMINAL with fallbacks
## SYNOPSIS
rofi-sensible-terminal [arguments]
## DESCRIPTION
rofi-sensible-terminal is invoked in the rofi 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)
* x-terminal-emulator
* urxvt
* rxvt
* st
* terminology
* qterminal
* Eterm
* aterm
* uxterm
* xterm
* roxterm
* xfce4-terminal.wrapper
* mate-terminal
* lxterminal
* konsole
* alacritty
* kitty
## SEE ALSO
rofi(1)
## AUTHORS
Dave Davenport and contributors
Copied script from i3:
Michael Stapelberg and contributors

View file

@ -531,15 +531,19 @@ width: calc( 100% \- 37px );
.PP .PP
It supports the following operations: It supports the following operations:
.IP \(bu 2 .IP \(bu 2
\fB\fC+\fR: Add \fB\fC+\fR : Add
.IP \(bu 2 .IP \(bu 2
\fB\fC\-\fR: Subtract \fB\fC\-\fR : Subtract
.IP \(bu 2 .IP \(bu 2
\fB\fC/\fR: Divide \fB\fC/\fR : Divide
.IP \(bu 2 .IP \(bu 2
\fB\fC*\fR: Multiply \fB\fC*\fR : Multiply
.IP \(bu 2 .IP \(bu 2
\fB\fC%\fR: Multiply \fB\fC%\fR : Multiply
.IP \(bu 2
\fB\fCmin\fR : Minimum of l or rvalue;
.IP \(bu 2
\fB\fCmax\fR : Maximum of l or rvalue;
.PP .PP
It uses the C precedence ordering. It uses the C precedence ordering.

View file

@ -226,6 +226,7 @@ install_man(
'doc/rofi.1', 'doc/rofi.1',
'doc/rofi-theme-selector.1', 'doc/rofi-theme-selector.1',
'doc/rofi-sensible-terminal.1', 'doc/rofi-sensible-terminal.1',
'doc/rofi-script.5',
'doc/rofi-theme.5', 'doc/rofi-theme.5',
) )