XWINMOSAIC(1)
β¨ xwinmosaic β¨
okay so bestie, you're reading the General Commands Manual entry for xwinmosaic, and honestly? it's a whole vibe. buckle up π
π NAME π
xwinmosaic β show X11 windows as a colourful mosaic π¦
β SYNOPSYS β
(no bestie, that's not a typo of mine, that's just how the page spells it, we respect it π )
xwinmosaic [options]...
π DESCRIPTION π
xwinmosaic is an X11 window switcher that draws your windows list as a colour mosaic. it's inspired by XMonad.Actions.GridSelect, but it's written in C + GTK+2, it uses nice-looking colours, and it comes with a set of genuinely helpful features. it's giving grid but make it fashion π¨β¨
it can also be used as a dmenu-style thing β to select an item from a newline-separated list piped in from stdin and print it to stdout. lowkey iconic.
for using xwinmosaic as a window switcher, you should run it in a WM that supports the EWMH (Extended Window Manager Hints) specification. however! that's not necessary for read_stdin mode, so no pressure there π«Ά
π₯ OPTIONS π₯
-r,--read-stdinβ read items from stdin and print the selected item to stdout.-p,--permissiveβ lets the search entry text be used as an individual item (i.e. when no item is matched, whatever's in the search entry gets printed to stdout). can be used only with-r.-t,--formatβ read items from stdin in this next format (comma separated):
<desktop_num>, <box_color>, <icon>, <label>, <opt_name>
any option except <label> can be skipped (the comma is still necessary though, don't ghost it π). <icon> should be a path to a png file or an icon name from your theme. any positive value of <desktop_num> is allowed. can be used only with -r.
-V,--vim-modeβ turn on vim-like navigation (hjkl, search on/) π§-C,--no-colorsβ turn off box colorizing.-I,--no-iconsβ turn off showing icons.-D,--no-desktopsβ turn off showing desktop number.-T,--no-titlesβ turn off showing titles.-S,--screenshotβ get a screenshot and set it as the background (for WMs that do not supportXShape).-P,--at-pointerβ place the center of the mosaic at the pointer position.-W <int>,--box-width=<int>β width of the boxes (default:200).-H <int>,--box-height=<int>β height of the boxes (default:40).-i <int>,--icon-size=<int>β size of window icons (default:16).-f 'font [size]',--font='font [size]'β which font to use for displaying widgets (default:'Sans 10').-o <int>,--hue-offset=<int>β set the color hue offset (from0to255).-F /path/to/file,--color-file=/path/to/fileβ pick colors from a file. the file format is described in the USAGE section, keep scrolling π
πΈ USAGE πΈ
π Keybindings π
use arrow keys or your mouse to navigate through windows. start typing to search for the required window. use Return or mouse button 1 to confirm selection (switch to the selected window, or print the selected item to stdout). the following hotkeys are available too:
Default (Emacs) mode:
- C-n β move down.
- C-p β move up.
- C-f β move right.
- C-b β move left.
- C-h β delete character backward.
- C-w β delete word backward.
- C-m β confirm selection.
Vim mode:
- h β move left.
- j β move down.
- k β move up.
- l β move right.
- / β activate search.
βοΈ Configuration βοΈ
the config file gets created automatically on the first program run and lives at ~/.config/xwinmosaic/config π
it has the following entries:
vim_modeβ should the program run in vim mode.box_widthβ width of the boxes.box_heightβ height of the boxes.colorizeβ should the program colorize boxes or not?color_offsetβ set hue offset for the default colorizing method (safe values are between0and255).show_iconsβ should the program show icons?show_desktopβ should the program show the desktop number?show_titlesβ should the program show titles?icon_sizeβ size of the icons in boxes.fontβ which font to use in all program widgets.screenshotβ set screenshot as a background. useful for WMs that don't work properly with shaped windows.screenshot_offset_xβ screenshot offset by x coordinate. can be useful if your WM does not support the_NET_WM_STRUTand/or_NET_WM_STRUT_PARTIALproperty.screenshot_offset_yβ screenshot offset by y coordinate. as above.at_pointerβ if true, the center of the mosaic is placed at the current pointer position.color_fileβ path to the file with colors thatxwinmoasicshould use (yep, that's literally how it's spelled in the page, we stan a consistent typo π). colors can be set for each window class individually, or taken from a fallback list (note: each color is separated by a semicolon).
Color file format:
[colors]
# Use xprop to determine window class
WindowClass1 = #112233
WindowClass2 = #445566
# For other windows to use. You can omit that line and it will
# use standard colorizing scheme.
fallback = #778899; #AABBCC; #DDEEFF
π BUGS π
if you found some bug in xwinmosaic, please report it at https://github.com/soulthreads/xwinmosaic/issues β do it, the maintainers will love you for it π«Ά
π AUTHOR π
xwinmosaic and this manual page is written by Anton Lobashev <soulthreads@yandex.ru> π
and that's the whole page, bestie β no cap π§β¨ this was the xwinmosaic page from the General Commands Manual, dated June 12, 2013, and you read all of it. slay ππ
π¦ where this page comes from
- nixos 26.05: xwinmosaic 0.4.2
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms