Add bind to make a hy3 ephemeral tab

This commit is contained in:
outfoxxed 2023-11-17 04:13:52 -08:00
parent f68b4904a8
commit e5fd4455d8
Signed by: outfoxxed
GPG key ID: 4C88A185FB89301E

View file

@ -335,6 +335,8 @@
(setq gc-cons-threshold (* 1024 1024 100) (setq gc-cons-threshold (* 1024 1024 100)
read-process-output-max (* 1024 1024)) read-process-output-max (* 1024 1024))
;; Misc keybinds
;; hy3 retardation ;; hy3 retardation
(use-package frames-only-mode (use-package frames-only-mode
:config :config
@ -352,7 +354,12 @@
(hyprctl "hy3:makegroup" "h, ephemeral") (hyprctl "hy3:makegroup" "h, ephemeral")
(make-frame-command))) (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 (advice-add #'evil-window-left :override
(lambda (&optional count file) (hyprctl "hy3:movefocus" "l"))) (lambda (&optional count file) (hyprctl "hy3:movefocus" "l")))