added screens

This commit is contained in:
2025-08-17 12:52:21 +02:00
parent e79c21974c
commit 0e103467a1

View File

@@ -1,10 +1,12 @@
# Qtile configuration by cerberus
from libqtile import qtile
from libqtile import qtile, bar
from libqtile.backend.wayland.inputs import InputConfig
from libqtile.config import Screen
from modules.keys import keys, mouse
from modules.groups import groups
from modules.widgets import widgets
# Application definitions
apps = {
@@ -14,11 +16,48 @@ apps = {
"cli-filebrowser": "yazi",
"editor": "nvim",
}
# Screens
screens = [
# Left screen
Screen(
top=bar.Bar(
widgets,
background="#000000",
opacity=0.75,
size=32,
margin=[3, 3, 0, 3],
),
),
# Center screen
Screen(
top=bar.Bar(
widgets,
background="#000000",
opacity=0.75,
size=32,
margin=[3, 3, 0, 3],
),
),
# Right screen
Screen(
top=bar.Bar(
widgets,
background="#000000",
opacity=0.75,
size=32,
margin=[3, 3, 0, 3],
)
),
]
# Default definitions
layout_defaults = dict(
margin=3,
border_width=0,
grow_amount=2,
)
# Essentials
keys = keys
mouse = mouse