diff --git a/config/discord/settings.org b/.config/discord/settings.org similarity index 100% rename from config/discord/settings.org rename to .config/discord/settings.org diff --git a/config/emacs/feed.org b/.config/emacs/feed.org similarity index 100% rename from config/emacs/feed.org rename to .config/emacs/feed.org diff --git a/config/emacs/force-custom-file.org b/.config/emacs/force-custom-file.org similarity index 100% rename from config/emacs/force-custom-file.org rename to .config/emacs/force-custom-file.org diff --git a/config/emacs/init.org b/.config/emacs/init.org similarity index 100% rename from config/emacs/init.org rename to .config/emacs/init.org diff --git a/config/emacs/languages.org b/.config/emacs/languages.org similarity index 100% rename from config/emacs/languages.org rename to .config/emacs/languages.org diff --git a/config/emacs/package-setup.org b/.config/emacs/package-setup.org similarity index 100% rename from config/emacs/package-setup.org rename to .config/emacs/package-setup.org diff --git a/config/emacs/tools.org b/.config/emacs/tools.org similarity index 100% rename from config/emacs/tools.org rename to .config/emacs/tools.org diff --git a/config/emacs/user-interface.org b/.config/emacs/user-interface.org similarity index 100% rename from config/emacs/user-interface.org rename to .config/emacs/user-interface.org diff --git a/config/fastfetch/config.org b/.config/fastfetch/config.org similarity index 100% rename from config/fastfetch/config.org rename to .config/fastfetch/config.org diff --git a/config/foot/foot.org b/.config/foot/foot.org similarity index 100% rename from config/foot/foot.org rename to .config/foot/foot.org diff --git a/config/fuzzel/fuzzel.org b/.config/fuzzel/fuzzel.org similarity index 100% rename from config/fuzzel/fuzzel.org rename to .config/fuzzel/fuzzel.org diff --git a/config/mpd/mpd.org b/.config/mpd/mpd.org similarity index 100% rename from config/mpd/mpd.org rename to .config/mpd/mpd.org diff --git a/config/ncmpcpp/bindings.org b/.config/ncmpcpp/bindings.org similarity index 100% rename from config/ncmpcpp/bindings.org rename to .config/ncmpcpp/bindings.org diff --git a/config/ncmpcpp/config.org b/.config/ncmpcpp/config.org similarity index 100% rename from config/ncmpcpp/config.org rename to .config/ncmpcpp/config.org diff --git a/config/nvim/init.org b/.config/nvim/init.org similarity index 100% rename from config/nvim/init.org rename to .config/nvim/init.org diff --git a/config/nvim/lua/appearance.org b/.config/nvim/lua/appearance.org similarity index 100% rename from config/nvim/lua/appearance.org rename to .config/nvim/lua/appearance.org diff --git a/config/nvim/lua/behaviour.org b/.config/nvim/lua/behaviour.org similarity index 100% rename from config/nvim/lua/behaviour.org rename to .config/nvim/lua/behaviour.org diff --git a/config/nvim/lua/plugins.org b/.config/nvim/lua/plugins.org similarity index 100% rename from config/nvim/lua/plugins.org rename to .config/nvim/lua/plugins.org diff --git a/config/sway/config.org b/.config/sway/config.org similarity index 100% rename from config/sway/config.org rename to .config/sway/config.org diff --git a/config/sway/poweraction.org b/.config/sway/poweraction.org similarity index 100% rename from config/sway/poweraction.org rename to .config/sway/poweraction.org diff --git a/config/sway/powerprompt.org b/.config/sway/powerprompt.org similarity index 100% rename from config/sway/powerprompt.org rename to .config/sway/powerprompt.org diff --git a/config/waybar/config.org b/.config/waybar/config.org similarity index 100% rename from config/waybar/config.org rename to .config/waybar/config.org diff --git a/config/waybar/style.org b/.config/waybar/style.org similarity index 100% rename from config/waybar/style.org rename to .config/waybar/style.org diff --git a/local/share/applications/emacs.org b/.local/share/applications/emacs.org similarity index 100% rename from local/share/applications/emacs.org rename to .local/share/applications/emacs.org diff --git a/local/share/applications/steam.org b/.local/share/applications/steam.org similarity index 100% rename from local/share/applications/steam.org rename to .local/share/applications/steam.org diff --git a/local/share/fonts/ComputerModern.tar.gz b/.local/share/fonts/ComputerModern.tar.gz similarity index 100% rename from local/share/fonts/ComputerModern.tar.gz rename to .local/share/fonts/ComputerModern.tar.gz diff --git a/local/share/fonts/NFM.tar.gz b/.local/share/fonts/NFM.tar.gz similarity index 100% rename from local/share/fonts/NFM.tar.gz rename to .local/share/fonts/NFM.tar.gz diff --git a/local/share/fonts/SauceCodePro.tar.gz b/.local/share/fonts/SauceCodePro.tar.gz similarity index 100% rename from local/share/fonts/SauceCodePro.tar.gz rename to .local/share/fonts/SauceCodePro.tar.gz diff --git a/ssh/config.org b/.ssh/config.org similarity index 100% rename from ssh/config.org rename to .ssh/config.org diff --git a/index.org b/index.org index 8c2c940..a8ebf17 100644 --- a/index.org +++ b/index.org @@ -3,9 +3,9 @@ This page is the home of my dotfiles. They are written using literate programming in Emacs Org-Mode. The =install= script installs the dotfiles in their correct places and installs itself as an executable called =update-home= on the path to allow myself to run the script without having the repository downloaded on my system. * Directories -- [[./config/index.org][.config/]] -- [[./local/index.org][.local/]] -- [[./ssh/index.org][.ssh/]] +- [[./config/][.config/]] +- [[./local/][.local/]] +- [[./ssh/][.ssh/]] * Files - [[./clang-format.org][.clang-format]] @@ -62,7 +62,7 @@ If the =update-home= executable has changed, replace it and bootstrap into the n Extract each configuration file from its literate =.org= file into its correct location by running =org-babel-tangle= on each =.org= file. #+begin_src sh :tangle ~/.dotfiles/install :mkdirp yes echo Installing configuration files... - find -- * -type f -name "*.org" | while read -r file; do + find -- . -type f -name "*.org" | while read -r file; do emacs --batch "${file}" -f package-initialize --eval '(org-babel-tangle)' >> ~/.update-home.log done #+end_src diff --git a/install b/install index af20bdc..192f070 100644 --- a/install +++ b/install @@ -25,7 +25,7 @@ if ! diff ~/.dotfiles/install ~/.local/bin/update-home >> ~/.update-home.log; th fi echo Installing configuration files... -find -- * -type f -name "*.org" | while read -r file; do +find -- . -type f -name "*.org" | while read -r file; do emacs --batch "${file}" -f package-initialize --eval '(org-babel-tangle)' >> ~/.update-home.log done