fix vscode
This commit is contained in:
parent
0db4f9bef8
commit
79c9f90e53
13 changed files with 711 additions and 42 deletions
|
@ -8,6 +8,7 @@ import sys
|
|||
import os
|
||||
from typing import List
|
||||
|
||||
from libqtile.log_utils import logger
|
||||
from libqtile import bar, hook, layout, qtile, utils, widget
|
||||
from libqtile.backend import base
|
||||
from libqtile.lazy import lazy
|
||||
|
@ -24,7 +25,7 @@ from libqtile.backend.wayland import InputConfig
|
|||
|
||||
wl_input_rules = {
|
||||
"type:keyboard": InputConfig(kb_options="caps:escape"),
|
||||
"*": InputConfig(accel_profile="flat", pointer_accel="0.0"),
|
||||
"*": InputConfig(accel_profile="flat", pointer_accel=0.0),
|
||||
}
|
||||
mod = "mod4"
|
||||
|
||||
|
@ -182,6 +183,7 @@ bring_front_click = False
|
|||
cursor_warp = True
|
||||
focus_on_window_activation = "smart"
|
||||
auto_fullscreen = True
|
||||
floats_kept_above = True
|
||||
|
||||
floating_layout = layout.Floating(float_rules=[
|
||||
*layout.Floating.default_float_rules,
|
||||
|
@ -197,7 +199,8 @@ def autostart():
|
|||
|
||||
@hook.subscribe.client_new
|
||||
def float_firefox(client):
|
||||
if "firefox" in client.get_wm_class() and client.name == "Library":
|
||||
wm_class = client.get_wm_class()
|
||||
if wm_class and "firefox" in wm_class and client.name == "Library":
|
||||
client.enable_floating()
|
||||
|
||||
@hook.subscribe.client_new
|
||||
|
@ -205,3 +208,11 @@ def fullscreen_wlogout(client):
|
|||
if client.name == "wlogout":
|
||||
client.enable_fullscreen()
|
||||
|
||||
# @hook.subscribe.client_new
|
||||
# def round_and_transparent(client):
|
||||
# logger.warning(client)
|
||||
# logger.warning(type(client))
|
||||
# logger.warning(client.rounding)
|
||||
# logger.warning(client.opacity)
|
||||
# client.rounding = 8
|
||||
# client.opacity = 0.85
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue