(use-package ivy :diminish :config (ivy-mode 1)) (use-package counsel :after ivy :custom (counsel-linux-app-format-function #'counsel-linux-app-format-function-name-only) :config (counsel-mode 1)) (dotfiles/leader "," '(counsel-switch-buffer :which-key "Buffers")) (use-package ivy-rich :after counsel :init (ivy-rich-mode 1)) (set-face-attribute 'default nil :font dotfiles/font :height dotfiles/font-size) (set-face-attribute 'fixed-pitch nil :font dotfiles/font :height dotfiles/font-size) (set-face-attribute 'variable-pitch nil :font dotfiles/font :height dotfiles/font-size) (defhydra hydra-text-scale (:timeout 4) "Scale" ("j" text-scale-increase "Increase") ("k" text-scale-decrease "Decrease") ("f" nil "Finished" :exit t)) (dotfiles/leader "tf" '(hydra-text-scale/body :which-key "Font")) (use-package linum-relative :custom (linum-relative-backend 'display-line-numbers-mode) :config (linum-relative-global-mode)) (dotfiles/leader "tl" '(linum-relative-global-mode :which-key "Lines")) (use-package rainbow-delimiters :hook (prog-mode . rainbow-delimiters-mode)) (use-package doom-themes :init (load-theme 'doom-moonlight t)) (use-package doom-modeline :custom (doom-modeline-height 16) :config (doom-modeline-mode 1)) (dotfiles/leader "tt" '(counsel-load-theme t t :which-key "Theme")) (when (display-graphic-p) (use-package fira-code-mode :hook (prog-mode org-mode))) (dotfiles/leader "tg" '(global-fira-code-mode :which-key "Ligatures")) (use-package dashboard :custom (dashboard-center-content t) (dashboard-set-init-info t) (dashboard-set-file-icons t) (dashboard-set-heading-icons t) (dashboard-set-navigator t) (dashboard-startup-banner 'logo) (dashboard-projects-backend 'projectile) (dashboard-items '((projects . 5) (recents . 5) (agenda . 10))) (dashboard-navigator-buttons `(((,(all-the-icons-fileicon "brain" :height 1.1 :v-adjust 0.0) "Brain" "Knowledge base" (lambda (&rest _) (browse-url "http://localhost:8080")))) ((,(all-the-icons-material "public" :height 1.1 :v-adjust 0.0) "Homepage" "Personal website" (lambda (&rest _) (browse-url "https://chrishayward.xyz")))) ((,(all-the-icons-faicon "university" :height 1.1 :v-adjust 0.0) "Athabasca" "Univeristy login" (lambda (&rest _) (browse-url "https://login.athabascau.ca/cas/login")))) ((,(all-the-icons-faicon "book" :height 1.1 :v-adjust 0.0) "Bookshelf" "Vitalsource bookshelf" (lambda (&rest _) (browse-url "https://online.vitalsource.com")))))) :config (dashboard-setup-startup-hook)) (setq initial-buffer-choice (lambda () (get-buffer "*dashboard*")))