Skip to content
herlev edited this page Aug 14, 2023 · 7 revisions

Module groups allow stacking modules in the direction orthogonal to the bar direction. When the bar is positioned on the top or bottom of the screen, modules in a group are stacked vertically. Likewise, when positioned on the left or right, modules in a group are stacked horizontally.

Config

Adressed by group/<name>

option typeof default description
orientation string "orthogonal" Sets the orientation of the group. Valid options are: "horizontal", "vertical", "inherit", and "orthogonal".
modules array List of modules to include in the group.

Example

{
	"modules-right": ["group/hardware", "clock"],

	"group/hardware": {
		"orientation": "vertical",
		"modules": [
			"cpu",
			"memory",
			"battery"
		]
	},

	...
}

Clone this wiki locally