51 lines
1.2 KiB
Python
51 lines
1.2 KiB
Python
|
|
from modules.screens import screens, widget_defaults
|
||
|
|
from modules.keys import keys, mouse
|
||
|
|
from modules.layouts import layouts, floating_layout
|
||
|
|
from modules.groups import groups
|
||
|
|
from modules.hooks import *
|
||
|
|
|
||
|
|
from libqtile import qtile
|
||
|
|
from libqtile.backend.wayland.inputs import InputConfig
|
||
|
|
|
||
|
|
# fixing the import warning
|
||
|
|
widget_defaults = widget_defaults
|
||
|
|
screens = screens
|
||
|
|
keys = keys
|
||
|
|
mouse = mouse
|
||
|
|
layouts = layouts
|
||
|
|
floating_layout = floating_layout
|
||
|
|
groups = groups
|
||
|
|
|
||
|
|
# General Setup
|
||
|
|
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 configuration
|
||
|
|
if qtile.core.name == "X11":
|
||
|
|
term = "urvx"
|
||
|
|
elif qtile.core.name == "wayland":
|
||
|
|
term = "foot"
|
||
|
|
|
||
|
|
wl_input_rules = {
|
||
|
|
"type:keyboard": InputConfig(
|
||
|
|
kb_repeat_delay=200,
|
||
|
|
kb_repeat_rate=60,
|
||
|
|
kb_layout="de",
|
||
|
|
kb_options="nodeadkeys",
|
||
|
|
),
|
||
|
|
}
|
||
|
|
# xcursor theme (string or None) and size (integer) for Wayland backend
|
||
|
|
wl_xcursor_theme = None
|
||
|
|
wl_xcursor_size = 18
|