From 692b44d648472fdf52048f6040d223ea7befe755 Mon Sep 17 00:00:00 2001 From: Craig Jennings Date: Thu, 25 Apr 2024 17:05:06 -0500 Subject: removed unnecessary hardcoded paths & fixed a typo - defined constants for all commonly used paths - replaced hardcoded instances throughout the config with the variables - fixed typo in scripts/reset-to-first-launch.sj --- modules/games-config.el | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'modules/games-config.el') diff --git a/modules/games-config.el b/modules/games-config.el index e0439630..eab245e7 100644 --- a/modules/games-config.el +++ b/modules/games-config.el @@ -24,7 +24,7 @@ (use-package malyon :defer 1 :config - (setq malyon-stories-directory "~/sync/org/text.games/")) + (setq malyon-stories-directory (concat sync-dir "text.games/")) ;; ------------------------------------ 2048 ----------------------------------- ;; combine numbered tiles to create the elusive number 2048. @@ -37,7 +37,8 @@ :defer 1 :config (setq chess-default-display 'chess-images) - (setq chess-images-directory (concat user-emacs-directory "assets/chess/pieces/xboard/")) + (setq chess-images-directory + (concat user-emacs-directory "assets/chess/pieces/xboard/")) (setq chess-images-dark-color "#779556") (setq chess-images-light-color "#EBECD0") (setq chess-images-default-size 100) -- cgit v1.2.3