Update Layout

This commit is contained in:
Stephan Raabe 2023-03-06 13:25:18 +01:00
parent c10b40636c
commit a8879e4325
3 changed files with 18 additions and 17 deletions

View File

@ -261,8 +261,7 @@ inactive-dim-fixed = 1.0
opacity-rule = [ opacity-rule = [
"90:class_g = 'Alacritty' && focused", "90:class_g = 'Alacritty' && focused",
"70:class_g = 'Alacritty' && !focused", "70:class_g = 'Alacritty' && !focused",
"70:class_g = 'Rofi'", "70:class_g = 'Rofi'"
"80:class_g = 'Chromium' && !focused"
] ]

View File

@ -145,20 +145,20 @@ keys = [
# Groups # Groups
# -------------------------------------------------------- # --------------------------------------------------------
groups = [Group("1", layout='monadtall'), groups = [
Group("2", layout='monadtall'), Group("1", layout='monadtall'),
Group("3", layout='monadtall'), Group("2", layout='monadtall'),
Group("4", layout='monadtall'), Group("3", layout='monadtall'),
Group("5", layout='monadtall'), Group("4", layout='monadtall'),
Group("5", layout='monadtall'),
# -------------------------------------------------------- # --------------------------------------------------------
# Scratchpads # Scratchpads
# -------------------------------------------------------- # --------------------------------------------------------
ScratchPad("terminal",[DropDown("term", terminal, x=0.05, y=0.02, width=0.90, height=0.6, on_focus_lost_hide=False)]), ScratchPad("terminal",[DropDown("term", terminal, x=0.05, y=0.02, width=0.90, height=0.6, on_focus_lost_hide=False)]),
ScratchPad("calculator",[DropDown("calc", "qalculate-gtk", x=0.3, y=0.1, width=0.40, height=0.4, on_focus_lost_hide=False )]) ScratchPad("calculator",[DropDown("calc", "qalculate-gtk", x=0.3, y=0.1, width=0.40, height=0.4, on_focus_lost_hide=False )])
]
]
dgroups_key_binder = simple_key_binder(mod) dgroups_key_binder = simple_key_binder(mod)
@ -183,11 +183,12 @@ ColorI=(colordict['colors']['color9'])
# Setup Layout Theme # Setup Layout Theme
# -------------------------------------------------------- # --------------------------------------------------------
layout_theme = { "border_width": 2, layout_theme = {
"margin": 15, "border_width": 2,
"border_focus": ColorC, "margin": 20,
"border_normal": ColorG "border_focus": ColorC,
} "border_normal": ColorG
}
# -------------------------------------------------------- # --------------------------------------------------------
# Layouts # Layouts
@ -217,7 +218,7 @@ layouts = [
widget_defaults = dict( widget_defaults = dict(
font="Fira Sans SemiBold", font="Fira Sans SemiBold",
fontsize=14, fontsize=14,
padding=3, padding=3
) )
extension_defaults = widget_defaults.copy() extension_defaults = widget_defaults.copy()
@ -308,6 +309,7 @@ screens = [
24, 24,
opacity=0.7, opacity=0.7,
border_width=[3, 0, 3, 0], border_width=[3, 0, 3, 0],
margin=[5,5,0,5]
), ),
), ),
] ]