summaryrefslogtreecommitdiff
path: root/lisp
diff options
context:
space:
mode:
authormattkae <mattkae@protonmail.com>2023-07-09 19:37:21 -0400
committermattkae <mattkae@protonmail.com>2023-07-09 19:37:21 -0400
commit97f97a6f529bc4d6ebe5e6a94c9ec1944d5e1986 (patch)
tree713224d3eedcd69ea58e1015a07f27dc1a92c587 /lisp
parent2d8f8f885f8652c2b61a78467538b0903435f796 (diff)
Various teeny tiny improvements
Diffstat (limited to 'lisp')
-rw-r--r--lisp/general.el20
-rw-r--r--lisp/org-custom.el26
2 files changed, 26 insertions, 20 deletions
diff --git a/lisp/general.el b/lisp/general.el
index a639b0d..6a7a3a7 100644
--- a/lisp/general.el
+++ b/lisp/general.el
@@ -1,11 +1,18 @@
;;; Code:
+;; Initialization screen
+(setq fancy-splash-image "~/.emacs.d/images/true.png")
+(setq inhibit-startup-screen t
+ initial-scratch-message nil
+ sentence-end-double-space nil
+ ring-bell-function 'ignore
+ frame-resize-pixelwise t)
+
;; Backup files
-(setq backup-directory-alist
- `((".*" . ,temporary-file-directory)))
-(setq auto-save-file-name-transforms
- `((".*" ,temporary-file-directory t)))
-(setq backup-by-copying t)
+(setq make-backup-files nil
+ auto-save-default nil
+ create-lockfiles nil)
+
(setq delete-old-versions t
kept-new-versions 6
kept-old-versions 2
@@ -83,9 +90,6 @@
(setq-default left-fringe-width 20)
(setq-default right-fringe-width 20)
-;; Initialization screen
-(setq fancy-splash-image "~/.emacs.d/images/true.png")
-
;; Highlight todos
(use-package hl-todo
:ensure t
diff --git a/lisp/org-custom.el b/lisp/org-custom.el
index 0131f1c..3c3eeb0 100644
--- a/lisp/org-custom.el
+++ b/lisp/org-custom.el
@@ -50,17 +50,14 @@
(setq org-src-fontify-natively t)
-(use-package org-super-agenda
- :ensure t)
-
-;; (use-package org-alert
-;; :ensure t
-;; :config
-;; (org-alert-enable)
-;; (setq org-alert-interval 3600 ; Once per hour!
-;; org-alert-notify-cutoff 30
-;; org-alert-notify-after-event-cutoff 30
-;; alert-default-style 'libnotify))
+(use-package org-alert
+ :ensure t
+ :config
+ (org-alert-enable)
+ (setq org-alert-interval 3600 ; Once per hour!
+ org-alert-notify-cutoff 30
+ org-alert-notify-after-event-cutoff 30
+ alert-default-style 'libnotify))
(use-package org-roam
:ensure t
@@ -75,7 +72,12 @@
("C-c n a" . org-roam-alias-add)
("C-c n c" . org-capture))
:config
- (setq org-roam-node-display-template (concat "${title:*} " (propertize "${tags:10}" 'face 'org-tag)))
+ (setq org-roam-node-display-template (concat "${title:*} " (propertize "${tags}" 'face 'org-tag)))
+ (setq org-roam-dailies-capture-templates
+ '(("d" "default" entry
+ "* %?"
+ :target (file+head "%<%Y-%m-%d>.org"
+ "#+title: %<%Y-%m-%d>\n#+filetags: :dailies:\n\n* Timeline\n\n* Notes\n\n* Questions\n\n"))))
(org-roam-setup)
)