Add function to resize frame

This commit is contained in:
Marcus Kammer 2024-09-22 14:38:38 +02:00
parent deea71abf9
commit 75ad2ea91b
Signed by: marcuskammer
GPG key ID: C374817BE285268F

View file

@ -520,5 +520,12 @@ an ALIAS and SERVICE as arguments and call
(global-set-key (kbd "<f12>") 'mk/toggle-frame-decorations) (global-set-key (kbd "<f12>") 'mk/toggle-frame-decorations)
(defun mk/set-frame-size-85x50 ()
"Set the current frame's size to 85 columns by 50 rows."
(interactive)
(set-frame-size (selected-frame) 85 50))
(global-set-key (kbd "C-<f12>") #'mk/set-frame-size-85x50)
(provide 'bundle-mk) (provide 'bundle-mk)
;;; bundle-mk.el ends here ;;; bundle-mk.el ends here