added screens
This commit is contained in:
@@ -1,10 +1,12 @@
|
|||||||
# Qtile configuration by cerberus
|
# Qtile configuration by cerberus
|
||||||
|
|
||||||
from libqtile import qtile
|
from libqtile import qtile, bar
|
||||||
from libqtile.backend.wayland.inputs import InputConfig
|
from libqtile.backend.wayland.inputs import InputConfig
|
||||||
|
from libqtile.config import Screen
|
||||||
|
|
||||||
from modules.keys import keys, mouse
|
from modules.keys import keys, mouse
|
||||||
from modules.groups import groups
|
from modules.groups import groups
|
||||||
|
from modules.widgets import widgets
|
||||||
|
|
||||||
# Application definitions
|
# Application definitions
|
||||||
apps = {
|
apps = {
|
||||||
@@ -14,11 +16,48 @@ apps = {
|
|||||||
"cli-filebrowser": "yazi",
|
"cli-filebrowser": "yazi",
|
||||||
"editor": "nvim",
|
"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(
|
layout_defaults = dict(
|
||||||
margin=3,
|
margin=3,
|
||||||
border_width=0,
|
border_width=0,
|
||||||
grow_amount=2,
|
grow_amount=2,
|
||||||
)
|
)
|
||||||
|
|
||||||
# Essentials
|
# Essentials
|
||||||
keys = keys
|
keys = keys
|
||||||
mouse = mouse
|
mouse = mouse
|
||||||
|
|||||||
Reference in New Issue
Block a user