;; psuedo-fullscreen (require 'maxframe) (setq mf-max-width 1440) (defun toggle-maxframe () (interactive) (if (eq (mf-max-columns (mf-max-display-pixel-width)) (frame-width)) (restore-frame) (maximize-frame))) (global-set-key (kbd "<s-return>") 'toggle-maxframe)
(defun maximize-frame () (interactive) (set-frame-size (selected-frame) (display-pixel-width) (display-pixel-height)) (set-frame-position (selected-frame) 0 0))