qtile:Add defold window rules
This commit is contained in:
parent
ba998e252c
commit
0a0f6dc2de
@ -7,6 +7,7 @@ SETUVAR EDITOR:hx
|
|||||||
SETUVAR --export LC_COLLATE:C
|
SETUVAR --export LC_COLLATE:C
|
||||||
SETUVAR --export --path LD_LIBRARY_PATH:/usr/local/lib
|
SETUVAR --export --path LD_LIBRARY_PATH:/usr/local/lib
|
||||||
SETUVAR --export NDK_HOME:/home/joe/Android/Sdk/ndk/29\x2e0\x2e13599879/
|
SETUVAR --export NDK_HOME:/home/joe/Android/Sdk/ndk/29\x2e0\x2e13599879/
|
||||||
|
SETUVAR --export PYENV_ROOT:/home/joe/\x2epyenv
|
||||||
SETUVAR --export PYTHONSTARTUP:/etc/python/pythonrc
|
SETUVAR --export PYTHONSTARTUP:/etc/python/pythonrc
|
||||||
SETUVAR --export RUSTUP_HOME:/home/joe/\x2elocal/share/rustup/
|
SETUVAR --export RUSTUP_HOME:/home/joe/\x2elocal/share/rustup/
|
||||||
SETUVAR SSH_AUTH_SOCK:/run/user/1000/ssh\x2dagent\x2esocket
|
SETUVAR SSH_AUTH_SOCK:/run/user/1000/ssh\x2dagent\x2esocket
|
||||||
@ -47,4 +48,4 @@ SETUVAR fish_pager_color_description:B3A06D\x1eyellow
|
|||||||
SETUVAR fish_pager_color_prefix:normal\x1e\x2d\x2dbold\x1e\x2d\x2dunderline
|
SETUVAR fish_pager_color_prefix:normal\x1e\x2d\x2dbold\x1e\x2d\x2dunderline
|
||||||
SETUVAR fish_pager_color_progress:brwhite\x1e\x2d\x2dbackground\x3dcyan
|
SETUVAR fish_pager_color_progress:brwhite\x1e\x2d\x2dbackground\x3dcyan
|
||||||
SETUVAR fish_pager_color_selected_background:\x2dr
|
SETUVAR fish_pager_color_selected_background:\x2dr
|
||||||
SETUVAR --export fish_user_paths:/home/joe/Android/Sdk/build\x2dtools\x1e/home/joe/Android/Sdk/emulator\x1e/home/joe/Android/Sdk/cmdline\x2dtools/latest/bin\x1e/home/joe/\x2elocal/android\x2dstudio/bin\x1e/home/joe/\x2edotnet/tools\x1e/home/joe/Repositories/emsdk\x1e/home/joe/Repositories/emsdk/node/18\x2e20\x2e3_64bit/bin\x1e/home/joe/Repositories/emsdk/upstream/emscripten\x1e/home/joe/\x2elocal/bin/odin\x1e/home/joe/\x2elocal/scripts\x1e/home/joe/\x2elocal/opt/JetBrains\x20Rider\x2d2024\x2e1\x2e4/bin\x1e/home/joe/\x2elocal/share/bin/fasm\x1e/home/joe/\x2elocal/share/bin/zig\x1e/home/joe/\x2elocal/share/bin/cargo/bin\x1e/home/joe/\x2elocal/bin\x1e/home/joe/\x2enimble/bin
|
SETUVAR --export fish_user_paths:/opt/Defold\x1e/home/joe/\x2edotnet\x1e/home/joe/\x2elocal/share/qlot/bin\x1e/home/joe/\x2elocal/bin/elm\x1e/home/joe/\x2epyenv/bin\x1e/home/joe/Android/Sdk/build\x2dtools\x1e/home/joe/Android/Sdk/emulator\x1e/home/joe/Android/Sdk/cmdline\x2dtools/latest/bin\x1e/home/joe/\x2elocal/android\x2dstudio/bin\x1e/home/joe/\x2edotnet/tools\x1e/home/joe/Repositories/emsdk\x1e/home/joe/Repositories/emsdk/node/18\x2e20\x2e3_64bit/bin\x1e/home/joe/Repositories/emsdk/upstream/emscripten\x1e/home/joe/\x2elocal/bin/odin\x1e/home/joe/\x2elocal/scripts\x1e/home/joe/\x2elocal/opt/JetBrains\x20Rider\x2d2024\x2e1\x2e4/bin\x1e/home/joe/\x2elocal/share/bin/fasm\x1e/home/joe/\x2elocal/share/bin/zig\x1e/home/joe/\x2elocal/share/bin/cargo/bin\x1e/home/joe/\x2elocal/bin\x1e/home/joe/\x2enimble/bin
|
||||||
|
|||||||
@ -131,7 +131,6 @@ keys = [
|
|||||||
Key([mod], "w", lazy.next_layout(), desc="Toggle between layouts"),
|
Key([mod], "w", lazy.next_layout(), desc="Toggle between layouts"),
|
||||||
Key([mod, "control"], "w", lazy.function(get_current_window_info), desc="Get window info"),
|
Key([mod, "control"], "w", lazy.function(get_current_window_info), desc="Get window info"),
|
||||||
Key([mod], "s", lazy.spawn("flameshot gui"), desc="Flameshot screenshot"),
|
Key([mod], "s", lazy.spawn("flameshot gui"), desc="Flameshot screenshot"),
|
||||||
Key([mod], "m", lazy.spawn("/home/joe/.local/scripts/trackball.sh", shell=True)),
|
|
||||||
|
|
||||||
# TODO: Figure out another binding for this
|
# TODO: Figure out another binding for this
|
||||||
# Key([mod], "n", lazy.layout.normalize(), desc="Reset all window sizes"),
|
# Key([mod], "n", lazy.layout.normalize(), desc="Reset all window sizes"),
|
||||||
@ -364,6 +363,14 @@ floating_layout = layout.Floating(
|
|||||||
Match(wm_class="maketag"), # gitk
|
Match(wm_class="maketag"), # gitk
|
||||||
Match(wm_class="ssh-askpass"), # ssh-askpass
|
Match(wm_class="ssh-askpass"), # ssh-askpass
|
||||||
Match(title="SimpleScreenRecorder"), # ssh-askpass
|
Match(title="SimpleScreenRecorder"), # ssh-askpass
|
||||||
|
# Defold
|
||||||
|
Match(wm_class="com.defold.editor.Start", func=lambda c: c.is_transient_for()),
|
||||||
|
Match(wm_class="Tinyswords"),
|
||||||
|
Match(func=lambda c:
|
||||||
|
(c.window.get_wm_normal_hints() is not None and
|
||||||
|
c.window.get_wm_normal_hints().get('flags') == {'PWinGravity'}) and
|
||||||
|
(c.window.get_wm_class() is not None and
|
||||||
|
any("defold" in cls.lower() for cls in c.window.get_wm_class()))),
|
||||||
# Godot
|
# Godot
|
||||||
Match(title="Alert!"),
|
Match(title="Alert!"),
|
||||||
Match(title="Please Confirm..."),
|
Match(title="Please Confirm..."),
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user