   ;; global minor modes. To that end, Clipetty has a function called
   ;; clipetty-kill-ring-save which I like to bind to M-w like so:
   ;; :bind ("M-w" . clipetty-kill-ring-save))
-  :hook (after-init . global-clipetty-mode))
+  :config (global-clipetty-mode))
 
 (require 'cc-mode)
 (setq c-default-style '((java-mode . "java")

;; -*- lexical-binding: t; -*-

(setq debug-on-error t)

(put 'narrow-to-region 'disabled nil)

(setq enable-recursive-minibuffers t)
(setq inhibit-startup-message t)
(setq mouse-yank-at-point nil)
(setq ring-bell-function #'ignore)
(setq sentence-end-double-space nil)
(setq vc-follow-symlinks t)
(setq use-dialog-box nil)
(setq truncate-lines t)

(customize-set-variable 'kill-ring-max 30000)


      straight-check-for-modifications nil
      straight-disable-native-compile t)

(setq warning-suppress-log-types '((comp) (use-package)))

;;; PACKAGES

(use-package gcmh
  :demand t
  :straight (:type built-in)
  :custom (gcmh-verbose t)
  :config
  (gcmh-mode))

(use-package desktop
  :demand t
