added nvim
This commit is contained in:
@@ -1,10 +1,11 @@
|
||||
from libqtile.lazy import lazy
|
||||
from libqtile.config import EzKey as Key
|
||||
from libqtile.config import EzClick as Click, EzDrag as Drag
|
||||
from modules.groups import groups
|
||||
|
||||
|
||||
def keybinds():
|
||||
from config import APPS
|
||||
# from ..config import APPS
|
||||
|
||||
keys = (
|
||||
[
|
||||
@@ -51,8 +52,8 @@ def keybinds():
|
||||
lazy.window.toggle_fullscreen(),
|
||||
desc="Toggles wiondow between tiled/floating and fullscreen",
|
||||
),
|
||||
Key("<M-Tab>", lazy.next_layout(), desc="Switches between layouts"),
|
||||
Key("<M-C-r>", lazy.reload_config(), desc="Reload config"),
|
||||
Key("M-<Tab>", lazy.next_layout(), desc="Switches between layouts"),
|
||||
Key("M-C-r", lazy.reload_config(), desc="Reload config"),
|
||||
# Audio and media control
|
||||
Key("<F86AudioMute>", lazy.spawn("pamixer -t"), desc="Mutes Audio"),
|
||||
Key(
|
||||
@@ -112,6 +113,22 @@ def keybinds():
|
||||
Key("M-<Return>", lazy.spawn(APPS["terminal"])),
|
||||
],
|
||||
)
|
||||
|
||||
for group in groups:
|
||||
# Hier wird der Name der Gruppe als Key verwendet, außer bei Scratchpads
|
||||
if group.name != "scratchpad":
|
||||
# Normale Gruppen wechseln
|
||||
keys.append(
|
||||
Key(f"M-{group.name}", lazy.function(go_to_group(group.name))),
|
||||
)
|
||||
|
||||
# Fenster in Gruppe verschieben
|
||||
keys.append(
|
||||
Key(
|
||||
f"M-S-{group.name}",
|
||||
lazy.function(go_to_group_and_move_window(group.name)),
|
||||
),
|
||||
)
|
||||
return keys
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user