added default widget styling
This commit is contained in:
@@ -4,42 +4,27 @@ from libqtile import qtile
|
|||||||
from libqtile.backend.wayland.inputs import InputConfig
|
from libqtile.backend.wayland.inputs import InputConfig
|
||||||
|
|
||||||
from modules.keys import keys, mouse
|
from modules.keys import keys, mouse
|
||||||
|
from modules.groups import groups
|
||||||
|
|
||||||
|
# Application definitions
|
||||||
apps = {
|
apps = {
|
||||||
"terminal": "kitty",
|
"terminal": "kitty",
|
||||||
"browser": "firefox",
|
"browser": "firefox",
|
||||||
"filebrowser": "nemo",
|
"filebrowser": "nemo",
|
||||||
|
"cli-filebrowser": "yazi",
|
||||||
|
"editor": "nvim",
|
||||||
}
|
}
|
||||||
|
STYLE_DEFAULTS = dict(
|
||||||
|
margin=3,
|
||||||
|
border_width=0,
|
||||||
|
grow_amount=2,
|
||||||
|
)
|
||||||
|
# Essentials
|
||||||
|
keys = keys
|
||||||
|
mouse = mouse
|
||||||
|
groups = groups
|
||||||
|
|
||||||
|
# Wayland specific configuration
|
||||||
modifier_keys = {
|
|
||||||
"M": "mod4",
|
|
||||||
"A": "mod1",
|
|
||||||
"S": "shift",
|
|
||||||
"C": "control",
|
|
||||||
}
|
|
||||||
|
|
||||||
|
|
||||||
"""
|
|
||||||
General Qtile configuration
|
|
||||||
"""
|
|
||||||
|
|
||||||
dgroups_key_binder = None
|
|
||||||
dgroups_app_rules = [] # type: list
|
|
||||||
follow_mouse_focus = True
|
|
||||||
bring_front_click = True
|
|
||||||
floats_kept_above = True
|
|
||||||
cursor_warp = True
|
|
||||||
auto_fullscreen = True
|
|
||||||
focus_on_window_activation = "smart"
|
|
||||||
reconfigure_screens = True
|
|
||||||
auto_minimize = True
|
|
||||||
|
|
||||||
wmname = "Qtile"
|
|
||||||
|
|
||||||
"""
|
|
||||||
Wayland specific configuration
|
|
||||||
"""
|
|
||||||
if qtile.core.name == "X11":
|
if qtile.core.name == "X11":
|
||||||
term = "urvx"
|
term = "urvx"
|
||||||
elif qtile.core.name == "wayland":
|
elif qtile.core.name == "wayland":
|
||||||
@@ -56,3 +41,15 @@ wl_input_rules = {
|
|||||||
|
|
||||||
wl_xcursor_theme = None
|
wl_xcursor_theme = None
|
||||||
wl_xcursor_size = 18
|
wl_xcursor_size = 18
|
||||||
|
# General Qtile configuration
|
||||||
|
dgroups_key_binder = None
|
||||||
|
dgroups_app_rules = [] # type: list
|
||||||
|
follow_mouse_focus = True
|
||||||
|
bring_front_click = True
|
||||||
|
floats_kept_above = True
|
||||||
|
cursor_warp = True
|
||||||
|
auto_fullscreen = True
|
||||||
|
focus_on_window_activation = "smart"
|
||||||
|
reconfigure_screens = True
|
||||||
|
auto_minimize = True
|
||||||
|
wmname = "Qtile"
|
||||||
|
|||||||
Reference in New Issue
Block a user