qtile: mod + hjkl with emacs, s-mod + s for fullscreen screenshot to clipboard
This commit is contained in:
parent
858d26129b
commit
3c6e2521b0
@ -90,10 +90,10 @@ keys = [
|
||||
# Switch between windows
|
||||
# .when(wm_class != 'kitty')
|
||||
# Key([mod], "h", lazy.function(move_focus, direction='left'), desc="Move focus to left"),
|
||||
# Key([mod], "h", lazy.layout.left().when(focused=Match(wm_class=re.compile('(?![Ee]macs)'))), desc="Move focus to left"),
|
||||
# Key([mod], "j", lazy.layout.down().when(focused=Match(wm_class=re.compile('(?![Ee]macs)'))), desc="Move focus to left"),
|
||||
# Key([mod], "k", lazy.layout.up().when(focused=Match(wm_class=re.compile('(?![Ee]macs)'))), desc="Move focus to left"),
|
||||
# Key([mod], "l", lazy.layout.right().when(focused=Match(wm_class=re.compile('(?![Ee]macs)'))), desc="Move focus to left"),
|
||||
Key([mod], "h", lazy.layout.left().when(focused=Match(wm_class=re.compile('(?![Ee]macs)'))), desc="Move focus to left"),
|
||||
Key([mod], "j", lazy.layout.down().when(focused=Match(wm_class=re.compile('(?![Ee]macs)'))), desc="Move focus to left"),
|
||||
Key([mod], "k", lazy.layout.up().when(focused=Match(wm_class=re.compile('(?![Ee]macs)'))), desc="Move focus to left"),
|
||||
Key([mod], "l", lazy.layout.right().when(focused=Match(wm_class=re.compile('(?![Ee]macs)'))), desc="Move focus to left"),
|
||||
# Key([alt], "tab", lazy.layout.next(), desc="Move window focus to other window"),
|
||||
|
||||
Key([mod], "o", lazy.layout.normalize(), desc="Move window focus to other window"),
|
||||
@ -131,6 +131,7 @@ keys = [
|
||||
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], "s", lazy.spawn("flameshot gui"), desc="Flameshot screenshot"),
|
||||
Key([mod, "shift"], "s", lazy.spawn("flameshot screen -n 0 -c"), desc="Flameshot screenshot screen to clipboard"),
|
||||
|
||||
# TODO: Figure out another binding for this
|
||||
# Key([mod], "n", lazy.layout.normalize(), desc="Reset all window sizes"),
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user