 
 ;;; Theme, Fonts, UI
 
-;; Disable menu bar and scroll bar
 (setq inhibit-startup-message t)
-(menu-bar-mode -1)
-(tool-bar-mode -1)
-(toggle-scroll-bar -1)
-(set-fringe-mode 10)
 
 ;;; General UI, taken from https://github.com/susam/emfy/blob/main/.emacs
 

  :diminish
  :config
  (setq olivetti-body-width 0.65
                   	olivetti-minimum-body-width 72
                   	olivetti-recall-visual-line-mode-entry-state t)
  (define-minor-mode icot/olivetti-mode
    "additional olivetti mode parameters"
    :init-value nil

(defun icot/cycle-theme ()
  "Cycle light/dark themes"
  (interactive)
  (if (eq (car custom-enabled-themes) 'modus-operandi)
      (progn
        (disable-theme 'modus-operandi)
        (load-theme 'modus-vivendi))
    (progn
      (disable-theme 'modus-vivendi)
      (load-theme 'modus-operandi))))

(use-package smartparens
  :defer t)
