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
1 changed files with 8 additions and 1 deletions

View File

@ -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")))