cowiconman(1)
π cowiconman(1) β the CoW Icon Manager, bestie edition π
okay so real talk: cowiconman is the icon manager for cow(1), and it's genuinely one of those little tools that eats. It shows you a clickable list of every window cow knows about, and once you get the config right it's iconic. Let me put you on. π«Ά
β¨ NAME β¨
cowiconman β CoW Icon Manager. That's it, that's the name, no notes. π
π SYNOPSIS π
cowiconman [-c config] [-h]
πΈ DESCRIPTION πΈ
So cowiconman puts up a clickable list of the windows that cow(1) knows about. That's the whole vibe. β¨
If you don't hand it a configuration file, it just makes one icon manager using the built-in defaults β every window in a single column, sorted by title. Simple, clean, no drama.
But here's where it gets good: your configuration can define several named icon managers, and every top-level show iconman line spins up its own separate cowiconman window. One config, many windows, main character energy. π
And the window size? It follows the visible button grid β growing and shrinking as windows enter or leave the list, like it's breathing. It's capped to the usable area of the selected output, so it never gets too big for its lane. π
π OPTIONS π
-cconfig β load config instead of the default configuration file. Your config, your rules.-hβ show usage. The "help me bestie" flag.
π¦ CONFIGURATION π¦
The format is line-oriented. Blank lines and lines starting with # are ignored β comment away, nobody's judging. And if a value has whitespace in it, it must be double quoted. Non-negotiable, fr fr.
By default, cowiconman reads cowiconman.conf from $XDG_CONFIG_HOME/cow/cowiconman.conf or ~/.config/cow/cowiconman.conf.
Top-level settings are the shared defaults. Named iconman blocks override those defaults, but only for the instances that actually select them. Like, only the girlies who asked. For example:
show iconman current
show iconman applications
sort title
button-width 240
iconman current {
output current
desk current
page current
}
iconman applications {
group-by app
icons true
}
Every show iconman line creates one window. And if you put multiple names on the same line, it combines those blocks into one single instance, in the order in which their definitions occur:
show iconman common current-output
The supported commands are all down below, let's go. β¬οΈ
outputVALUE β limits the list to one output. VALUE can be an output name,@N,@current,@next, or@prev. The existingcurrentalias picks cow's current output, whileselfpicks the output that contains thecowiconmanwindow itself (very meta, obsessed). Useallto clear an inherited output filter. Default is to show all outputs.deskVALUE β limits the list to a desk. VALUE can be a desk number orcurrent. Useallto clear an inherited desk filter. Default is to show all desks.pageVALUE β limits the list to a page. VALUE can beX,Yorcurrent. Useallto clear an inherited page filter. Default is to show all pages.sortMODE β sorts rows bytitle,app,id, or just leaves them in cow's order withnone. Default istitle.group-byMODE β groups matching windows into one row. MODE can benone,app,title,output, ordesk. Default isnone.matchFIELD=TEXT β only shows windows whose FIELD contains TEXT. FIELD can betitle,app, orid. Matching is case-insensitive (slay). Repeat the command to stack up more filters. And if you prefix TEXT with!, it excludes matching windows instead.formatFMT β sets the row label format. The supported escapes are%tfor title,%afor app_id,%ifor short window id,%ofor output,%dfor desk, and%%. Default is%t.rowsN β arranges buttons into at most N rows before starting a new column.columnsN β arranges buttons into N columns. The number of rows gets computed from the visible window count.anchornone|top|bottomβ moves thecowiconmanwindow to the top or bottom usable edge of the selected output. Default isnone.button-widthN β sets the preferred button width in pixels. Default is300.button-heightN β overrides the row height that's derived from cow's current titlebar theme.button-reliefauto|raised|sunken|flatβ sets the relief drawn around each row.autoraises normal rows and sinks focused or iconified rows, and it's the default.flatdisables the relief entirely β combine it withstyle borderfor a solid outline. β¨styleelement colour β overrides a palette colour. element is one ofbackground,active.bg,active.fg,inactive.bg,inactive.fg, oriconified.bg, orborder. That optionalbordergets drawn around every row. Colours use CoW's RGB or RGBA syntax. Styles can be shared at top level or set separately inside aniconmanblock β your call, bestie.min-button-widthN β sets the minimum button width used when the preferred grid would exceed the output's usable width. Default is80.iconstrue|falseβ shows each window's application icon before its label.cowiconmanuses the icon resolved by cow. Default isfalse.icon-sizeN β sets the application icon size in pixels. Default is16and the maximum is20.iconified-markertrue|falseβ reserves space before each label and draws a small square there for iconified windows. Default isfalse.show-selftrue|falseβ includescowiconmanwindows in the list. Hidden by default. It's shy. πframe-paddingN β adds a border of N pixels around the window list. Default is4.
π APPEARANCE π
If you don't set any explicit styles, focused and unfocused rows use CoW's active and inactive titlebar colours. The empty background follows the selected output, and an iconified row uses a darkened inactive background. Explicit styles override all these inherited colours, and an unset iconified.bg gets derived from the effective inactive.bg colour. So it always looks intentional, even when you didn't do anything. π
π USAGE π
- Left-click a row to focus the window. If that window is iconified, it gets restored and focused. Two birds, one click.
- Left-click a grouped row to open a selector for the windows in that group. The selector is a native cow menu using the current menu style, and its rows include the short window id, the output, and the desk. Picking a window switches to its output, desk, and page, activates its container member when necessary, restores it when iconified, and focuses it. That's a lot of steps and it does all of them for you, periodt.
Heads up: type-ahead is disabled for these selectors. Number keys, arrows, Enter, and Escape still work though. π«Ά
- Middle-click a row to toggle the window's iconified state.
- Use the pointer wheel to scroll when a fixed row layout has more entries than fit on screen.
- An anchored
rows 1layout behaves like a bar β it spans the selected output's usable width and divides that space evenly between entries. Chef's kiss. π
β EXAMPLES β
Show windows on the current output, desk, and page in a top task bar:
show iconman taskbar
iconman taskbar {
output current
desk current
page current
rows 1
anchor top
icons true
}
Create a separate grouped list for each of two outputs:
show iconman left
show iconman right
group-by app
format "%a (%t)"
iconman left {
output HDMI-A-1
}
iconman right {
output eDP-1
style active.bg 0x458588
style active.fg 0xffffff
style inactive.bg 0x83a598
style inactive.fg 0x000000
}
Show xterm windows but exclude titles containing "logs":
show iconman terminals
iconman terminals {
match app=xterm
match title=!logs
}
Remove cowiconman's own window decors while preserving the active decor theme:
decor -d cowiconman-nodecor border.width 0
decor -d cowiconman-nodecor border.handles false
decor -d cowiconman-nodecor titlebar.enabled false
rule -g -Ton-map -ncowiconman-nodecor -s %cowiconman decor -a cowiconman-nodecor
π FILES π
$XDG_CONFIG_HOME/cow/cowiconman.conf ~/.config/cow/cowiconman.conf
π§ SEE ALSO π§
cow(1), moocow(1), cowbuttons(1), cowpager(1) β the whole friend group. Go say hi. π
π AUTHORS π
Thomas Adam <thomas@xteddy.org>
okay that's the whole page!! This one's version 0.3, dated 2026-09-07 β so if you're reading this, hi from the future, drink some water, and go configure your icon manager bestie. πβ¨π
π¦ where this page comes from
- fedora 44: cow 0.3-1.fc44 Β· ISC
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms