Update
This commit is contained in:
parent
39bf1697f3
commit
297319c17d
|
@ -86,7 +86,7 @@ keys = [
|
||||||
Key([mod, "control"], "l", lazy.layout.grow_right(), desc="Grow window to the right"),
|
Key([mod, "control"], "l", lazy.layout.grow_right(), desc="Grow window to the right"),
|
||||||
Key([mod, "control"], "j", lazy.layout.grow_down(), desc="Grow window down"),
|
Key([mod, "control"], "j", lazy.layout.grow_down(), desc="Grow window down"),
|
||||||
Key([mod, "control"], "k", lazy.layout.grow_up(), desc="Grow window up"),
|
Key([mod, "control"], "k", lazy.layout.grow_up(), desc="Grow window up"),
|
||||||
Key([mod], "n", lazy.layout.normalize(), desc="Reset all window sizes"),
|
Key([mod], "s", lazy.layout.normalize(), desc="Reset all window sizes"),
|
||||||
# Toggle between split and unsplit sides of stack.
|
# Toggle between split and unsplit sides of stack.
|
||||||
# Split = all windows displayed
|
# Split = all windows displayed
|
||||||
# Unsplit = 1 window displayed, like Max layout, but still with
|
# Unsplit = 1 window displayed, like Max layout, but still with
|
||||||
|
@ -98,6 +98,7 @@ keys = [
|
||||||
#desc="Toggle between split and unsplit sides of stack",
|
#desc="Toggle between split and unsplit sides of stack",
|
||||||
#),
|
#),
|
||||||
Key([mod], "Return", lazy.spawn(terminal), desc="Launch terminal"),
|
Key([mod], "Return", lazy.spawn(terminal), desc="Launch terminal"),
|
||||||
|
|
||||||
# Toggle between different layouts as defined below
|
# Toggle between different layouts as defined below
|
||||||
Key([mod], "Tab", lazy.next_layout(), desc="Toggle between layouts"),
|
Key([mod], "Tab", lazy.next_layout(), desc="Toggle between layouts"),
|
||||||
Key([mod], "w", lazy.window.kill(), desc="Kill focused window"),
|
Key([mod], "w", lazy.window.kill(), desc="Kill focused window"),
|
||||||
|
@ -105,6 +106,8 @@ keys = [
|
||||||
Key([mod, "control"], "q", lazy.shutdown(), desc="Shutdown Qtile"),
|
Key([mod, "control"], "q", lazy.shutdown(), desc="Shutdown Qtile"),
|
||||||
Key([mod], "r", lazy.spawn(rofi), desc="Launch rofi"),
|
Key([mod], "r", lazy.spawn(rofi), desc="Launch rofi"),
|
||||||
Key([mod], "z", lazy.run_extension(extension.WindowList()), desc="Launch window list"),
|
Key([mod], "z", lazy.run_extension(extension.WindowList()), desc="Launch window list"),
|
||||||
|
Key([mod, "shift"], "u", lazy.spawn(hotkeys), desc="Show Hotkeys"),
|
||||||
|
|
||||||
# LAUNCH chord
|
# LAUNCH chord
|
||||||
KeyChord([mod], "e", [
|
KeyChord([mod], "e", [
|
||||||
Key([], "e", lazy.group['scratchpad'].dropdown_toggle('term'), desc="Launch Scratchpad Terminal"),
|
Key([], "e", lazy.group['scratchpad'].dropdown_toggle('term'), desc="Launch Scratchpad Terminal"),
|
||||||
|
@ -118,10 +121,10 @@ keys = [
|
||||||
# FLAMESHOT chord
|
# FLAMESHOT chord
|
||||||
KeyChord([], "f", [
|
KeyChord([], "f", [
|
||||||
Key([], "f", lazy.spawn('flameshot'), desc="Launch flameshot"),
|
Key([], "f", lazy.spawn('flameshot'), desc="Launch flameshot"),
|
||||||
Key([], "s", lazy.spawn('flameshot gui'), desc="Take screenshot"),
|
Key([], "s", lazy.spawn('flameshot gui'), desc="Launch gui with option to select region"),
|
||||||
Key([], "a", lazy.spawn('flameshot full'), desc="Take screenshot"),
|
Key([], "a", lazy.spawn('flameshot full'), desc="Screenshot all monitors"),
|
||||||
Key([], "c", lazy.spawn('flameshot full --clipboard'), desc="Take screenshot"),
|
Key([], "c", lazy.spawn('flameshot full --clipboard'), desc="Save capture to clipboard"),
|
||||||
Key([], "l", lazy.spawn('flameshot launcher'), desc="Take screenshot"),
|
Key([], "l", lazy.spawn('flameshot launcher'), desc="Launch launcher"),
|
||||||
],
|
],
|
||||||
name='flameshot',
|
name='flameshot',
|
||||||
)
|
)
|
||||||
|
@ -157,9 +160,13 @@ keys = [
|
||||||
],
|
],
|
||||||
name="media",
|
name="media",
|
||||||
),
|
),
|
||||||
Key([mod, "shift"], "u", lazy.spawn(hotkeys), desc="Show Hotkeys"),
|
|
||||||
]
|
]
|
||||||
|
|
||||||
|
keys.extend([
|
||||||
|
Key([mod], "n", lazy.screen.next_group(skip_empty=True), desc="Switch to next group"),
|
||||||
|
Key([mod, "shift"], "n", lazy.screen.prev_group(skip_empty=True), desc="Switch to previous group"),
|
||||||
|
])
|
||||||
|
|
||||||
# Groups
|
# Groups
|
||||||
groups = [Group(i) for i in "123456"]
|
groups = [Group(i) for i in "123456"]
|
||||||
|
|
||||||
|
@ -194,6 +201,7 @@ for i in groups:
|
||||||
]
|
]
|
||||||
)
|
)
|
||||||
|
|
||||||
|
|
||||||
def get_hot_keys():
|
def get_hot_keys():
|
||||||
mod_keys = {
|
mod_keys = {
|
||||||
'mod4':'Super',
|
'mod4':'Super',
|
||||||
|
|
Loading…
Reference in New Issue