Add bind to make a hy3 ephemeral tab
This commit is contained in:
parent
f68b4904a8
commit
e5fd4455d8
9
init.el
9
init.el
|
@ -335,6 +335,8 @@
|
|||
(setq gc-cons-threshold (* 1024 1024 100)
|
||||
read-process-output-max (* 1024 1024))
|
||||
|
||||
;; Misc keybinds
|
||||
|
||||
;; hy3 retardation
|
||||
(use-package frames-only-mode
|
||||
:config
|
||||
|
@ -352,7 +354,12 @@
|
|||
(hyprctl "hy3:makegroup" "h, ephemeral")
|
||||
(make-frame-command)))
|
||||
|
||||
(define-key evil-normal-state-map (kbd "C-w a") #'make-frame-command)
|
||||
(define-key evil-normal-state-map (kbd "C-w a")
|
||||
(lambda () (interactive)
|
||||
(hyprctl "hy3:makegroup" "tab, ephemeral")
|
||||
(make-frame-command)))
|
||||
|
||||
(define-key evil-normal-state-map (kbd "C-w r") #'make-frame-command)
|
||||
|
||||
(advice-add #'evil-window-left :override
|
||||
(lambda (&optional count file) (hyprctl "hy3:movefocus" "l")))
|
||||
|
|
Loading…
Reference in a new issue