Add bind to make a hy3 ephemeral tab
This commit is contained in:
		
							parent
							
								
									f68b4904a8
								
							
						
					
					
						commit
						e5fd4455d8
					
				
					 1 changed files with 8 additions and 1 deletions
				
			
		
							
								
								
									
										9
									
								
								init.el
									
										
									
									
									
								
							
							
						
						
									
										9
									
								
								init.el
									
										
									
									
									
								
							| 
						 | 
					@ -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")))
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue