(use-package fringe :custom (left-fringe-width 5) (right-fringe-width 5)) (use-package scroll-bar :config (scroll-bar-mode -1)) (use-package tool-bar :config (tool-bar-mode -1)) (use-package menu-bar :config (menu-bar-mode -1)) (use-package diminish :ensure t) (use-package modus-themes :ensure t :init (setq modus-themes-italic-constructs t modus-themes-bold-constructs t modus-themes-lang-checkers '(text-also background) modus-themes-mode-line '(accented) modus-themes-diffs '(desaturated) modus-themes-intense-hl-line t modus-themes-paren-match '(intense) modus-themes-syntax '(yellow-comments green-strings faint) modus-themes-hl-line '(accented intense underline) modus-themes-prompts '(italic) modus-themes-region '(bg-only no-extend) modus-themes-org-blocks '(tinted-background) modus-themes-org-agenda '((header-block . (variable-pitch scale-title)) (header-date . (bold-today scale-heading )) (event . (accented italic)) (scheduled . uniform) (habit . traffic-light-deuteranopia)) modus-themes-headings ; this is an alist: read the manual or its doc string '((1 . (background)) (2 . (rainbow)) (3 . (rainbow no-bold))) modus-themes-variable-pitch-ui nil modus-themes-variable-pitch-headings nil modus-themes-scale-headings nil) ;; Load the theme files before enabling a theme (else you get an error). (modus-themes-load-themes) :config (modus-themes-load-operandi)) (use-package frame :config (blink-cursor-mode -1) (setq frame-title-format "%b") (set-background-color "#FFFFEA") (when (memq window-system '(mac ns)) (set-frame-font "Source Code Pro-14") (add-to-list 'default-frame-alist '(fullscreen . maximized)) (add-to-list 'default-frame-alist '(ns-appearance . nil)) (add-to-list 'default-frame-alist '(ns-transparent-titlebar . nil)) (when (boundp 'ns-use-native-fullscreen) (setq ns-use-native-fullscreen nil)) (when (boundp 'mac-allow-anti-aliasing) (setq mac-allow-anti-aliasing t))) (when (memq window-system '(x)) (set-frame-font "Source Code Pro-10") ;; this is a fall back in the case we have unicode characeters. ;; For example, with this settings, the following source is ;; rendered correctly 😇 😀 and 🤢 (set-fontset-font "fontset-default" nil (font-spec :name "Noto Color Emoji")))) (use-package hl-line :hook ((prog-mode text-mode conf-mode special-mode) . hl-line-mode) :custom ;; Not having to render the hl-line overlay in multiple buffers offers a tiny ;; performance boost. I also don't need to see it in other buffers. (hl-line-sticky-flag nil) (global-hl-line-sticky-flag nil)) (use-package uniquify :defer 5 :config ;; don't muck with special buffers (setq uniquify-ignore-buffers-re "^\\*") (setq uniquify-buffer-name-style 'forward) (setq uniquify-separator "/")) ;; required for dap-mode and dap-ui-mode (use-package posframe :ensure t) (provide 'fcuny-ui)