configurations: update

This commit is contained in:
2023-11-08 10:46:45 +01:00
parent a6c581ee04
commit c0cd2a0f19
4 changed files with 32 additions and 22 deletions
+11 -8
View File
@@ -1,17 +1,20 @@
;Graphical
;(when (display-graphic-p)
;
;)
(tool-bar-mode -1)
(when (display-graphic-p)
(set-frame-font "FiraCode Nerd Font" nil t)
(tool-bar-mode -1)
)
(load-theme 'moe-dark)
(setq-default cursor-type '(bar . 1))
(set-frame-font "FiraCode Nerd Font" nil t)
(pixel-scroll-precision-mode 1)
(setq pixel-scroll-precision-large-scroll-height 10.0)
(setq mouse-wheel-follow-mouse 't)
(setq mouse-wheel-follow-mouse 't)
(setq scroll-step 1)
(setq mouse-drag-and-drop-region t)
(telephone-line-mode 1)
(minions-mode 1)
;Hide startup screen if started with file
(defun startup-screen-advice (orig-fun &rest args)
@@ -26,7 +29,7 @@
;Enable dashboard
(dashboard-setup-startup-hook)
(when (daemonp)
(setq initial-buffer-choice (lambda () (get-buffer "*dashboard*"))) ; Show dashboard when emacs is running as daemon
(setq initial-buffer-choice (lambda () (get-buffer "*dashboard*"))) ; Show dashboard when emacs is running as daemon
)