20 lines
802 B
Python
20 lines
802 B
Python
from libqtile.config import Group
|
|
|
|
# Create labels for groups and assign them a default layout.
|
|
groups = []
|
|
|
|
group_names = ["1", "2", "3", "4", "5", "6", "7", "8", "9", "0", "minus", "equal", "y", "u"]
|
|
|
|
group_labels = ["", "", "", "", "", "", "", "", "", "", "", "", "", ""]
|
|
|
|
group_layouts = ["monadtall", "monadtall", "spiral", "monadtall", "monadwide", "monadtall", "monadtall", "monadtall", "monadtall", "monadtall", "monadtall", "monadtall", "monadtall", "monadtall", "monadtall", "monadtall"]
|
|
|
|
# Add group names, labels, and default layouts to the groups object.
|
|
for i in range(len(group_names)):
|
|
groups.append(
|
|
Group(
|
|
name=group_names[i],
|
|
layout=group_layouts[i].lower(),
|
|
label=group_labels[i],
|
|
))
|