pre fix
This commit is contained in:
@@ -1,12 +1,9 @@
|
||||
import re
|
||||
from libqtile.lazy import lazy
|
||||
from libqtile.config import Group, EzKey as Key, Match, DropDown, ScratchPad
|
||||
from modules.keys import keys
|
||||
|
||||
mod = "mod4"
|
||||
from modules.keys import keybinds
|
||||
|
||||
group_screen_map = {
|
||||
"0": 1,
|
||||
"1": 1,
|
||||
"2": 1,
|
||||
"3": 1,
|
||||
@@ -66,7 +63,9 @@ groups = [
|
||||
name="f4",
|
||||
label=" ",
|
||||
matches=[
|
||||
Match(wm_class=re.compile(r"^(com.github.th_ch.youtube_music)$")),
|
||||
Match(
|
||||
wm_class=re.compile(r"^(com.github.th_ch.youtube_music)$"),
|
||||
),
|
||||
],
|
||||
),
|
||||
Group(
|
||||
@@ -92,6 +91,10 @@ groups = [
|
||||
]
|
||||
|
||||
|
||||
def create_group_keys(groups, go_to_group, go_to_group_and_move_window):
|
||||
additional_keys = []
|
||||
|
||||
|
||||
def go_to_group(name: str):
|
||||
def _inner(qtile):
|
||||
screen = group_screen_map.get(name, 0)
|
||||
@@ -131,8 +134,8 @@ for i in groups:
|
||||
)
|
||||
|
||||
for i in range(1, 12):
|
||||
group_name = f"f{i}"
|
||||
key = f"F{i}"
|
||||
group_name = f"<f{i}>"
|
||||
key = f"<f{i}>"
|
||||
keys.append
|
||||
|
||||
groups.append(
|
||||
@@ -162,4 +165,3 @@ groups.append(
|
||||
],
|
||||
)
|
||||
)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user