From e5fd4455d8a329593907b39afca0628757642ba0 Mon Sep 17 00:00:00 2001 From: outfoxxed Date: Fri, 17 Nov 2023 04:13:52 -0800 Subject: [PATCH] Add bind to make a hy3 ephemeral tab --- init.el | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/init.el b/init.el index 998ef4e..d6f8bfc 100755 --- a/init.el +++ b/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")))