Remove agenda and hook from dashboard, update rsync-local-config files list

This commit is contained in:
Evie Litherland-Smith 2023-11-06 14:10:13 +00:00
parent c6bc43d1cc
commit b8bdbd1675
3 changed files with 5 additions and 13 deletions

View file

@ -216,7 +216,7 @@
} }
rsync-local-config () { rsync-local-config () {
HOST=$1 HOST=$1
for TARGET in bat git emacs/init.el emacs/config.org emacs/snippets starship.toml; do for TARGET in bat git emacs/init.el starship.toml; do
SOURCE="${config.xdg.configHome}/$TARGET" SOURCE="${config.xdg.configHome}/$TARGET"
TMP_TARGET=/tmp/rsync-local-config TMP_TARGET=/tmp/rsync-local-config
TMP_SOURCE=$TMP_TARGET TMP_SOURCE=$TMP_TARGET

View file

@ -175,10 +175,7 @@
dashboard-projects-switch-function 'project-switch-project dashboard-projects-switch-function 'project-switch-project
dashboard-projects-show-base t dashboard-projects-show-base t
dashboard-recentf-show-base 'align dashboard-recentf-show-base 'align
dashboard-items '((recents . 5) dashboard-items '()
(agenda . 15))
dashboard-heading-icons '((recents . "nf-oct-history")
(agenda . "nf-oct-calendar"))
dashboard-banner-ascii (concat " .000000. \n" dashboard-banner-ascii (concat " .000000. \n"
" .0. .0. \n" " .0. .0. \n"
" .00. .00. \n" " .00. .00. \n"
@ -194,8 +191,7 @@
" HHH HHHHHH \n" " HHH HHHHHH \n"
" HHHHH HH \n")) " HHHHH HH \n"))
(when (require 'dashboard nil :noerror) (when (require 'dashboard nil :noerror)
(keymap-global-set "C-c d" #'dashboard-open) (keymap-global-set "C-c d" #'dashboard-open))
(add-hook 'dashboard-mode-hook #'khalel-import-events))
;; Extra minor-modes ;; Extra minor-modes
(when (require 'git-gutter nil :noerror) (when (require 'git-gutter nil :noerror)

View file

@ -216,10 +216,7 @@ Will reorganise into separate sections later
dashboard-projects-switch-function 'project-switch-project dashboard-projects-switch-function 'project-switch-project
dashboard-projects-show-base t dashboard-projects-show-base t
dashboard-recentf-show-base 'align dashboard-recentf-show-base 'align
dashboard-items '((recents . 5) dashboard-items '()
(agenda . 15))
dashboard-heading-icons '((recents . "nf-oct-history")
(agenda . "nf-oct-calendar"))
dashboard-banner-ascii (concat " .000000. \n" dashboard-banner-ascii (concat " .000000. \n"
" .0. .0. \n" " .0. .0. \n"
" .00. .00. \n" " .00. .00. \n"
@ -235,8 +232,7 @@ Will reorganise into separate sections later
" HHH HHHHHH \n" " HHH HHHHHH \n"
" HHHHH HH \n")) " HHHHH HH \n"))
(when (require 'dashboard nil :noerror) (when (require 'dashboard nil :noerror)
(keymap-global-set "C-c d" #'dashboard-open) (keymap-global-set "C-c d" #'dashboard-open))
(add-hook 'dashboard-mode-hook #'khalel-import-events))
;; Extra minor-modes ;; Extra minor-modes
(when (require 'git-gutter nil :noerror) (when (require 'git-gutter nil :noerror)