XOSD-XFT(1)
π XOSD-XFT(1) π
okay so welcome to the XOSD-XFT General Commands page, bestie! This is the whole vibe for showing info in an OSD window, and yes it's giving very main character energy. π
πΈ NAME πΈ
osd-echo,osd-cat,osd-demoβ show information in a OSD window. π
β¨ SYNOPSIS β¨
osd-echo [options] message
osd-cat [options] [file]
osdβdemo [options]
π DESCRIPTION π
osd-echo shows a message in a translucent window on the screen. It can understand unicode escape sequences in the message, and it can also understand glyph names from Nerd fonts. slay β¨
osd-cat shows a given file in a OSD window. If a file is not given, osd-cat reads from the standard input. π«Ά
osd-demo is a small program that shows the capabilities of xosd-xft library. It's the little demo bestie that shows off what the library can do. π¦
Both osd-echo and osd-cat provides various options to control the colors, font and geometry used to display the information. So yes, you get to customize the whole look. π
π₯ OPTIONS π₯
-gGEOMETRY,--geometry=GEOMETRYβ specify the geometry for the window. The geometry contains the size, offset and alignment specifications. this is the layout blueprint, bestie π
geometry: <size><offset>*<alignment>
size: <width>x<height>
The `width` is specified as an integer. It can optionally succeed
by either `%` or `c`. `%` is used to specify the width as a percentage
of the screen width. `c` is used to specify the width as number of
characters
offset: [+-]<xoffset>[+-]<yoffset>
The `xoffset` and `yoffset` follows the standard X geometry definition
when alignment is not provided. When alignment is provided the offsets
are used to adjust the alignmennt positions
alignment: <valign>/<halign>
The `valign` can be any one of `top`, `middle`, or `bottom`. The `halign` can
be one of `left`, `center` or `right`.
-tALIGN,--text-align=ALIGNβ text alignment within the OSD window. get that text sitting exactly where you want it π
alignment: <halign>/<valign>
halign: one of left,center,right or none
valign: one of top,middle,bottom or none
-fFONT,--font=*FONTβ font for display.FONTis Xft font name. π₯-cCOLOR,--color=COLORβ foreground color for text.COLORis a X11 color name. π-pPADDING,--padding=PADDINGβ padding for the content. personal space, but for your OSD π
padding: top right bottom left
All as integers. When later values are absent, the previous values are used
as in CSS specification.
-bCOLOR,--bg-color=COLORβ color for background (default: black). π€-aALPHA,--bg-alpha=ALPHAβ background transparency. translucent era β¨
ALPHA value should be between 0-100
--no-xineramaβ turn off xinerama support. π«--no-xrandrβ turn off xrandr support. π«-mMONITOR,--monitor=MONITORβ monitor to display message. choose your screen, bestie π₯οΈ
MONITOR is either a number of the monitor (the numbering starts with 1). You can
specify either `active` or `primary` to choose either of the active or primary
monitors.
Besides the above options, osd-cat accepts the following options:
-nNUMBER,--number-of-lines=NUMBERβ number of lines to display. π
The osd-echo command accepts the following additional options:
-eCOMMAND,--exec=COMMANDβ executes the command usingsystem(3)before displaying the window. β‘-l[SEARCH],--list[=SEARCH]β list the glyph names known to the command. If aSEARCHis give, lists glyph names that contains the search pattern. π
π EXAMPLES π
To display /etc/passwd:
osd-cat /etc/passwd
π AUTHORS π
Dakshinamurthy Karra. π
π That's the XOSD-XFT(1) manual, dated Jun 28 2021 β mwah, bestie! π«Ά
π¦ where this page comes from
- nixos 26.05: xosd-xft 1.1.0
- nixpkgs unstable: xosd-xft 1.1.0
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms