| cowiconman(1) | cowiconman - cow window icon manager | cowiconman(1) |
NAME
cowiconman - CoW Icon Manager
SYNOPSIS
cowiconman [-c config] [-h]
DESCRIPTION
cowiconman displays a clickable list of windows known to cow(1).
Without a configuration file, one icon manager is created using built-in defaults. It shows every window in a single column, sorted by title.
Its configuration can define several named icon managers. Each top-level show iconman line creates a separate cowiconman window.
The window size follows the visible button grid, growing or shrinking as windows enter or leave the list. It is capped to the selected output's usable area.
OPTIONS
-c config
-h
CONFIGURATION
The format is line-oriented. Blank lines and lines starting with # are ignored. Values containing whitespace must be double quoted.
By default, cowiconman reads cowiconman.conf from $XDG_CONFIG_HOME/cow/cowiconman.conf or ~/.config/cow/cowiconman.conf.
Top-level settings are shared defaults. Named iconman blocks override those defaults for the instances which select them. 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
}
Each show iconman line creates one window. Multiple names on the same line combine those blocks into one instance, in the order in which their definitions occur:
show iconman common current-output
Supported commands are described below.
output VALUE
desk VALUE
page VALUE
sort MODE
group-by MODE
match FIELD=TEXT
format FMT
rows N
columns N
anchor none|top|bottom
button-width N
button-height N
style element colour
min-button-width N
icons true|false
icon-size N
iconified-marker true|false
show-self true|false
frame-padding N
APPEARANCE
Without explicit style settings, 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 these inherited colours; an unset iconified.bg is derived from the effective inactive.bg colour.
USAGE
Left-click a row to focus the window. If the window is iconified, it is restored and focused.
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. Its rows include the short window id, output, and desk. Selecting a window switches to its output, desk, and page, activates its container member when necessary, restores it when iconified, and focuses it. Type-ahead is disabled for these selectors; number keys, arrows, Enter, and Escape remain available.
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 1 layout behaves like a bar: it spans the selected output's usable width and divides that space evenly between entries.
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)
AUTHORS
Thomas Adam <thomas@xteddy.org>
| 2026-08-28 | 0.2-34-ge7151ab |