Skip to content

WinTitle Floating Module

bakkeby edited this page Aug 2, 2021 · 8 revisions

The WinTitle Floating module shows window titles for floating windows in the bar.

By default window titles for floating windows show up on a secondary bar at the bottom of the screen.

wintitle_floating

Configuration

The module is controled by this entry in the barrules array in config.h.

{ -1, 1, 0, 0, 0, 0, BAR_ALIGN_LEFT, size_wintitle_floating, draw_wintitle_floating, click_wintitle_floating, "wintitle_floating" },

The above can be removed if not required. Refer to the Bar Rules page for general information on rules configuration.

Floating windows can also be shown in the top bar along with other (tiled) windows by setting the weight of floating windows to a positive value.

static int flexwintitle_floatweight = 0;  // floating window title weight, set to 0 to not show floating windows

The indicator for floating windows can be controlled by the floatindicatortype setting in config.h

static int floatindicatortype = INDICATOR_TOP_LEFT_LARGER_SQUARE;

Refer to the Bar Indicators page for options.

Colours

The module piggy-backs on the FlexWinTitle module hence it uses the Flex colour schemes for floating windows.

Colour Scheme Description
SchemeFlexActFloat Floating window is on the active workspace area
SchemeFlexInaFloat Floating window is on an inactive workspace area
SchemeFlexSelFloat The floating window is selected

Also refer to the Xresources page.


Back to Bar > Bar Modules.

Clone this wiki locally