Skip to content

WinTitle Floating Module

Bakkeby edited this page Aug 10, 2024 · 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.jpg

Configuration

The module is controlled 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.

Clicks

Refer to the clicks section of the FlexWinTitle module.

Weights

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

Also refer to the weights section of the FlexWinTitle module.

Indicators

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

	[IndicatorFloating] = 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