Clean up blurb of graphical-setup function

This commit is contained in:
MitchMarq42 2022-10-04 17:50:38 -08:00
parent c9885702cb
commit def9c7ec96

View File

@ -57,10 +57,9 @@ Made solely to reduce lines in the init-file."
;; (advice-add #'evil-join :override #'+evil-join-a) ;; (advice-add #'evil-join :override #'+evil-join-a)
) )
(defun mitch/graphical-setup () (defun mitch/graphical-setup ()
"A batch of commands to run at the beginning of "Commands to run at the beginning of init when on a graphical display.
the init file when we're on a graphical display. This prevents errors in termux and speeds up init when editing from the
This prevents errors in termux and speeds up init console."
when editing from the console."
;; hide gui scrollbars and menubar etc ;; hide gui scrollbars and menubar etc
(scroll-bar-mode -1) ;; use `yascroll' instead (scroll-bar-mode -1) ;; use `yascroll' instead
(setq scroll-bar-adjust-thumb-portion nil) (setq scroll-bar-adjust-thumb-portion nil)