I showed you my source code, pls respond
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

59 lines
1.6 KiB

  1. (defvar dotfiles/font "Fira Code")
  2. (defvar dotfiles/font-size 96)
  3. (set-face-attribute 'default nil :font dotfiles/font :height dotfiles/font-size)
  4. (set-face-attribute 'fixed-pitch nil :font dotfiles/font :height dotfiles/font-size)
  5. (set-face-attribute 'variable-pitch nil :font dotfiles/font :height dotfiles/font-size)
  6. (defhydra hydra-text-scale (:timeout 4)
  7. "Scale"
  8. ("j" text-scale-increase "Increase")
  9. ("k" text-scale-decrease "Decrease")
  10. ("f" nil "Finished" :exit t))
  11. (dotfiles/leader
  12. "tf" '(hydra-text-scale/body :which-key "Font"))
  13. (use-package linum-relative
  14. :init (setq linum-relative-backend
  15. 'display-line-numbers-mode)
  16. :config (linum-relative-global-mode))
  17. (use-package rainbow-delimiters
  18. :hook (prog-mode . rainbow-delimiters-mode))
  19. (use-package doom-themes
  20. :init (load-theme 'doom-moonlight t))
  21. (use-package doom-modeline
  22. :init (doom-modeline-mode 1)
  23. :custom ((doom-modeline-height 16)))
  24. (dotfiles/leader
  25. "tt" '(load-theme t t :which-key "Theme"))
  26. (setenv "BROWSER" "flatpak run org.mozilla.firefox")
  27. ;; (use-package fira-code-mode
  28. ;; :config
  29. ;; (global-fira-code-mode))
  30. ;; (use-package fira-code-mode
  31. ;; :hook prog-mode)
  32. (use-package dashboard
  33. :config
  34. (setq dashboard-center-content t
  35. dashboard-set-init-info t
  36. dashboard-set-file-icons t
  37. dashboard-set-heading-icons t
  38. dashboard-startup-banner 'logo
  39. dashboard-projects-backend 'projectile
  40. dashboard-items '((projects . 5)
  41. (recents . 5)
  42. (agenda . 5 )))
  43. (dashboard-setup-startup-hook))
  44. (setq initial-buffer-choice
  45. (lambda ()
  46. (get-buffer "*dashboard*")))