aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/weltschmerz.1
diff options
context:
space:
mode:
authorWolfgang Müller2019-07-20 21:58:18 +0200
committerWolfgang Müller2019-07-20 21:58:18 +0200
commit9703e09fb5cd151217ad17dbafd25338585b7ed7 (patch)
treec74f4f7697d4a7de5c92e06c5cb82cf55e945049 /weltschmerz.1
downloadweltschmerz-1.0.0.tar.gz (sig)
Initial public release1.0.0
Diffstat (limited to 'weltschmerz.1')
-rw-r--r--weltschmerz.1203
1 files changed, 203 insertions, 0 deletions
diff --git a/weltschmerz.1 b/weltschmerz.1
new file mode 100644
index 0000000..c66bbad
--- /dev/null
+++ b/weltschmerz.1
@@ -0,0 +1,203 @@
+.Dd January 17, 2019
+.Dt WELTSCHMERZ 1
+.Os
+.Sh NAME
+.Nm weltschmerz
+.Nd a small VTE-based terminal emulator
+.Sh SYNOPSIS
+.Nm
+.Oo
+.Ar command
+.Op Ar argument...
+.Oc
+.Sh DESCRIPTION
+.Nm
+is a terminal emulator using the VTE widget.
+It supports clickable URLs, contains basic search functionality, and can
+reload its configuration whilst running.
+.Pp
+.Nm
+executes the given command, or the program specified in the
+.Em SHELL
+environment variable if no command was given.
+.Pp
+The clipboard can be copied to and pasted from with
+.Sy CTRL + Shift + C
+and
+.Sy CTRL + Shift + V ,
+respectively.
+.Sh SEARCH OVERLAY
+The search overlay can be opened by pressing
+.Sy CTRL + Shift + F .
+The search will be updated automatically as the user types in the search bar.
+.Pp
+The key bindings for the overlay are as follows:
+.Bl -tag -width Ds
+.It Sy Enter , CTRL + G
+Go to next search result.
+.It Sy Shift + Enter , CTRL + Shift + G
+Go to previous search result.
+.It Sy Escape
+Close search overlay.
+.El
+.Sh CONFIGURATION
+Configuration is done using a configuration file.
+.Nm
+will reread that file when receiving the hangup signal (SIGHUP), or
+when the user presses
+.Sy CTRL + Shift + R .
+.Pp
+.Nm
+uses GLib's key-value file parser.
+The file format consists of key-value pairs collected in groups:
+.Bd -literal -offset indent
+[misc]
+font = Iosevka Light 16
+
+[colours]
+foreground = #000000
+background = #ffffff
+.Ed
+.Pp
+Refer to the GLib documentation for detailed information on this format.
+.Pp
+The options for the
+.Em misc
+group are as follows:
+.Bl -tag -width Ds
+.It Sy autohide-mouse
+When set to
+.Sy true ,
+the mouse cursor will be hidden once the user presses a key, and shown
+once the user moves the mouse.
+When set to
+.Sy false ,
+the mouse cursor will always be shown.
+The default is
+.Sy false .
+.It Sy cursor-shape
+Specifies the shape of the terminal cursor.
+Possible values are
+.Sy beam ,
+.Sy block ,
+and
+.Sy underline .
+The default is
+.Sy block .
+.It Sy font
+Specifies the font used to draw text, in the form of a Pango font
+description.
+Consists of one or more font families, zero or more style options, and
+the size in points (or in pixels if given a suffix of
+.Dq px ) :
+.Bd -literal -offset indent
+Monospace 12
+Iosevka, DejaVu Sans Mono bold italic 16
+Gohu GohuFont 11px
+.Ed
+.Pp
+Refer to the Pango documentation for detailed information.
+.Pp
+The default is
+.Sy Monospace 12 .
+.It Sy scrollback
+Specifies how many lines of scrollback to keep.
+A value of -1 means infinite scrollback.
+The default is
+.Sy 10000 .
+.It Sy scrollbar
+When set to
+.Sy true ,
+.Nm
+will draw a scrollbar at the right side of the terminal window.
+When set to
+.Sy false ,
+no scrollbar is drawn.
+The default is
+.Sy true .
+.El
+.Pp
+The
+.Em colours
+group contains the palette and colour overrides.
+All keys in this group take a colour representation as their value:
+.Bd -filled -offset indent
+.TS
+tab(/);
+l |l
+lb |l.
+Representation/Example value
+=
+Hexadecimal/#00ffff
+RGB/rgb(0, 255, 255)
+RGBA/rgba(0, 255, 255, 1)
+X11 colour/cyan
+.TE
+.Ed
+.Pp
+The palette defines the 16 base colours available to the terminal.
+Keys for the palette are in the form of:
+.Bd -literal -offset indent
+<colour type>.<colour name>
+.Ed
+.Pp
+The colour type is either
+.Dq normal
+or
+.Dq bright ,
+and the possible colour names along with their default representations
+are as follows:
+.Bd -filled -offset indent
+.TS
+tab(/);
+l |l |l
+lb |l |l.
+Colour name/Default (normal)/Default (bright)
+=
+black/black/grey50
+red/red3/red
+green/green3/green
+yellow/yellow3/yellow
+blue/blue2/#5c5cff
+magenta/magenta3/magenta
+cyan/cyan3/cyan
+white/grey90/white
+.TE
+.Ed
+.Pp
+The colour overrides specify which colour to use for certain parts of
+the terminal.
+The following table contains all possible keys for the colour overrides,
+along with the default behaviour if the override is not set:
+.Bd -filled -offset indent
+.TS
+tab(/);
+l |l
+lb |il.
+Key/Default
+=
+foreground/normal.white
+background/normal.black
+cursor.foreground/reverse video
+cursor.background/reverse video
+selection.foreground/reverse video
+selection.background/reverse video
+bold/inherit colour
+.TE
+.Ed
+.Sh FILES
+.Bl -tag -width Ds
+.It Em $XDG_CONFIG_HOME/weltschmerz/config
+The configuration file for
+.Nm .
+.El
+.Pp
+.Nm
+adheres to the XDG Base Directory Specification.
+If $XDG_CONFIG_HOME is unset or empty, it will default to
+.Em ~/.config
+.Sh AUTHORS
+.An -nosplit
+.Nm
+was written by
+.An Wolfgang Müller Aq Mt vehk@vehk.de