diff options
| author | Craig Jennings <c@cjennings.net> | 2024-04-25 17:05:06 -0500 |
|---|---|---|
| committer | Craig Jennings <c@cjennings.net> | 2024-04-25 17:05:06 -0500 |
| commit | 692b44d648472fdf52048f6040d223ea7befe755 (patch) | |
| tree | 8ec08f4463640a720476c2901cd9e1cbee418b1f /modules/games-config.el | |
| parent | a5555afaf09be4c023f49661d48de803b2586927 (diff) | |
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
Diffstat (limited to 'modules/games-config.el')
| -rw-r--r-- | modules/games-config.el | 5 |
1 files changed, 3 insertions, 2 deletions
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) |
