added more keybinds
This commit is contained in:
@@ -56,4 +56,73 @@ keys = [
|
|||||||
lazy.layout.grow(),
|
lazy.layout.grow(),
|
||||||
desc="Decrease window size",
|
desc="Decrease window size",
|
||||||
),
|
),
|
||||||
|
Key(
|
||||||
|
"M-n",
|
||||||
|
lazy.layout.normalize(),
|
||||||
|
desc="Normalize all window sizes",
|
||||||
|
),
|
||||||
|
Key(
|
||||||
|
"M-S-n",
|
||||||
|
lazy.layout.reset(),
|
||||||
|
desc="Resets all window sizes",
|
||||||
|
),
|
||||||
|
Key(
|
||||||
|
"M-t",
|
||||||
|
lazy.window.toggle_floating(),
|
||||||
|
desc="Toggles between floating and tiled state of a window",
|
||||||
|
),
|
||||||
|
Key(
|
||||||
|
"M-o", lazy.layout.maximize(), desc="Maximizes the window in the current layot"
|
||||||
|
),
|
||||||
|
Key(
|
||||||
|
"M-f",
|
||||||
|
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",
|
||||||
|
lazy.window.kill(),
|
||||||
|
desc="Closes window",
|
||||||
|
),
|
||||||
|
Key(
|
||||||
|
"M-C-r",
|
||||||
|
lazy.reload_config(),
|
||||||
|
desc="Reload config",
|
||||||
|
),
|
||||||
|
# Audio and media control
|
||||||
|
Key(
|
||||||
|
"XF86AudioMute",
|
||||||
|
lazy.spawn("pamixer -t"),
|
||||||
|
desc="Mutes Audio",
|
||||||
|
),
|
||||||
|
Key(
|
||||||
|
"XF86AudioLowerVolume",
|
||||||
|
lazy.spawn("pamixer -d 2"),
|
||||||
|
desc="Lower Audio Volume",
|
||||||
|
),
|
||||||
|
Key(
|
||||||
|
"XF86AudioRaiseVolume",
|
||||||
|
lazy.spawn("pamixer -i 2"),
|
||||||
|
desc="Raise Audio Volume",
|
||||||
|
),
|
||||||
|
Key(
|
||||||
|
"XF86AudioPrev",
|
||||||
|
lazy.spawn("playerctl previous"),
|
||||||
|
desc="Play Previous Media",
|
||||||
|
),
|
||||||
|
Key(
|
||||||
|
"XF86AudioNext",
|
||||||
|
lazy.spawn("playerctl next"),
|
||||||
|
desc="Play Next Media",
|
||||||
|
),
|
||||||
|
Key(
|
||||||
|
"XF86AudioPlay",
|
||||||
|
lazy.spawn("playerctl play-pause"),
|
||||||
|
desc="Toggle Play/Pause",
|
||||||
|
),
|
||||||
]
|
]
|
||||||
|
|||||||
Reference in New Issue
Block a user