From 229ff68261ef7de9cab42b6601d8aa25233bde14 Mon Sep 17 00:00:00 2001
From: Joel Grunbaum <joelgrun@gmail.com>
Date: Thu, 23 Dec 2021 11:18:10 +0000
Subject: [PATCH] Shift all configs to new install

---
 rtv/rtv.cfg                                            |    0 
 .gitmodules                                            |    4 ++--
 bash/bashrc                                            |    0 
 termux/termux-url-opener                               |    0 
 zsh/antigen                                            |    0 
 libinput-gestures/DICT                                 |    2 ++
 all-shells/DICT                                        |    2 ++
 bash/DICT                                              |    3 +++
 ncmpcpp/config                                         |    0 
 mpd/DICT                                               |    2 ++
 aspell/DICT                                            |    2 ++
 reddit-wallpaper-fetcher/DICT                          |    2 ++
 libinput-gestures/libinput-gestures.conf               |    0 
 paru/DICT                                              |    2 ++
 utils/DICT                                             |    1 +
 mpd/mpd.conf                                           |    0 
 fun/DICT                                               |    1 +
 rtv/DICT                                               |    2 ++
 termux/ytdl-config                                     |    0 
 reddit-wallpaper-fetcher/reddit-wallpaper-fetcher.conf |    0 
 zsh/DICT                                               |    6 ++++++
 mailcap/mailcap                                        |    0 
 zsh/p10k.zsh                                           |    0 
 termux/DICT                                            |    2 ++
 aspell/aspell.en.prepl                                 |    0 
 arch/DICT                                              |    1 +
 temp/DICT                                              |    8 ++++++++
 mailcap/DICT                                           |    2 ++
 ncmpcpp/DICT                                           |    2 ++
 shells/DICT                                            |    1 +
 emacs/emacs.d                                          |    0 
 zsh/zshrc                                              |    0 
 git/gitconfig                                          |    0 
 emacs/emacsclient.desktop                              |    0 
 paru/paru.conf                                         |    0 
 emacs/emacs.service                                    |    0 
 termux/termux.properties                               |    0 
 emacs/DICT                                             |    5 +++++
 git/DICT                                               |    2 ++
 aspell/aspell.en.pws                                   |    4 +++-
 all-shells/commonshell                                 |    0 
 41 files changed, 53 insertions(+), 3 deletions(-)

diff --git a/.gitmodules b/.gitmodules
index 94e2751..025450e 100644
--- a/.gitmodules
+++ b/.gitmodules
@@ -1,6 +1,6 @@
 [submodule "emacs/.emacs.d"]
-	path = emacs/.emacs.d
+	path = emacs/emacs.d
 	url = https://github.com/Chizi123/.emacs.d.git
 [submodule "zsh/.zsh/antigen"]
-	path = zsh/.zsh/antigen
+	path = zsh/antigen
 	url = https://github.com/zsh-users/antigen.git
diff --git a/all-shells/DICT b/all-shells/DICT
new file mode 100644
index 0000000..13ef19d
--- /dev/null
+++ b/all-shells/DICT
@@ -0,0 +1,2 @@
+FILES="commonshell"
+LOCATIONS="${HOME}/.commonshell"
diff --git a/all-shells/.commonshell b/all-shells/commonshell
similarity index 100%
rename from all-shells/.commonshell
rename to all-shells/commonshell
diff --git a/arch/DICT b/arch/DICT
new file mode 100644
index 0000000..4de5a18
--- /dev/null
+++ b/arch/DICT
@@ -0,0 +1 @@
+DEPS="paru"
diff --git a/aspell/DICT b/aspell/DICT
new file mode 100644
index 0000000..b6d5378
--- /dev/null
+++ b/aspell/DICT
@@ -0,0 +1,2 @@
+FILES="aspell.en.prepl aspell.en.pws"
+LOCATIONS=".aspell.en.prepl .aspell.en.pws"
\ No newline at end of file
diff --git a/aspell/.aspell.en.prepl b/aspell/aspell.en.prepl
similarity index 100%
rename from aspell/.aspell.en.prepl
rename to aspell/aspell.en.prepl
diff --git a/aspell/.aspell.en.pws b/aspell/aspell.en.pws
similarity index 92%
rename from aspell/.aspell.en.pws
rename to aspell/aspell.en.pws
index 89802eb..358a743 100644
--- a/aspell/.aspell.en.pws
+++ b/aspell/aspell.en.pws
@@ -1,4 +1,4 @@
-personal_ws-1.1 en 52 
+personal_ws-1.1 en 54 
 Adapter
 DNS
 FPGA
@@ -11,6 +11,8 @@
 adapter
 adapters
 additivity
+asymptote
+asymptotes
 bandpass
 baseband
 capacitive
diff --git a/bash/DICT b/bash/DICT
new file mode 100644
index 0000000..2355adc
--- /dev/null
+++ b/bash/DICT
@@ -0,0 +1,3 @@
+DEPS="all-shells"
+FILES="bashrc"
+LOCATIONS="${HOME}/.bashrc"
\ No newline at end of file
diff --git a/bash/.bashrc b/bash/bashrc
similarity index 100%
rename from bash/.bashrc
rename to bash/bashrc
diff --git a/emacs/DICT b/emacs/DICT
new file mode 100644
index 0000000..d58f0ad
--- /dev/null
+++ b/emacs/DICT
@@ -0,0 +1,5 @@
+FILES="emacs.d emacs.service emacsclient.desktop"
+LOCATIONS="${HOME}/.emacs.d ${HOME}/.config/systemd/user/emacs.service ${HOME}/.local/share/applications/emacsclient.desktop"
+custom() {
+	 git submodule update --init
+}
\ No newline at end of file
diff --git a/emacs/.emacs.d b/emacs/emacs.d
similarity index 100%
rename from emacs/.emacs.d
rename to emacs/emacs.d
diff --git a/emacs/.config/systemd/user/emacs.service b/emacs/emacs.service
similarity index 100%
rename from emacs/.config/systemd/user/emacs.service
rename to emacs/emacs.service
diff --git a/emacs/.local/share/applications/emacsclient.desktop b/emacs/emacsclient.desktop
similarity index 100%
rename from emacs/.local/share/applications/emacsclient.desktop
rename to emacs/emacsclient.desktop
diff --git a/fun/DICT b/fun/DICT
new file mode 100644
index 0000000..3561c42
--- /dev/null
+++ b/fun/DICT
@@ -0,0 +1 @@
+DEPS="libinput-gestures reddit-wallpaper-fetcher"
diff --git a/git/DICT b/git/DICT
new file mode 100644
index 0000000..a7c755c
--- /dev/null
+++ b/git/DICT
@@ -0,0 +1,2 @@
+FILES="gitconfig"
+LOCATIONS="${HOME}/.gitconfig"
\ No newline at end of file
diff --git a/git/.gitconfig b/git/gitconfig
similarity index 100%
rename from git/.gitconfig
rename to git/gitconfig
diff --git a/libinput-gestures/DICT b/libinput-gestures/DICT
new file mode 100644
index 0000000..c4b998e
--- /dev/null
+++ b/libinput-gestures/DICT
@@ -0,0 +1,2 @@
+FILES="libinput-gestures.conf"
+LOCATIONS="${HOME}/.config/libinput-gestures.conf"
\ No newline at end of file
diff --git a/libinput-gestures/.config/libinput-gestures.conf b/libinput-gestures/libinput-gestures.conf
similarity index 100%
rename from libinput-gestures/.config/libinput-gestures.conf
rename to libinput-gestures/libinput-gestures.conf
diff --git a/mailcap/DICT b/mailcap/DICT
new file mode 100644
index 0000000..b6db065
--- /dev/null
+++ b/mailcap/DICT
@@ -0,0 +1,2 @@
+FILES="mailcap"
+LOCATIONS="${HOME}/.mailcap"
\ No newline at end of file
diff --git a/mailcap/.mailcap b/mailcap/mailcap
similarity index 100%
rename from mailcap/.mailcap
rename to mailcap/mailcap
diff --git a/mpd/DICT b/mpd/DICT
new file mode 100644
index 0000000..f5ba092
--- /dev/null
+++ b/mpd/DICT
@@ -0,0 +1,2 @@
+FILES="mpd.conf"
+LOCATIONS="${HOME}/.config/mpd/mpd.conf"
\ No newline at end of file
diff --git a/mpd/.config/mpd/mpd.conf b/mpd/mpd.conf
similarity index 100%
rename from mpd/.config/mpd/mpd.conf
rename to mpd/mpd.conf
diff --git a/ncmpcpp/DICT b/ncmpcpp/DICT
new file mode 100644
index 0000000..4fea7b5
--- /dev/null
+++ b/ncmpcpp/DICT
@@ -0,0 +1,2 @@
+FILES="config"
+LOCATIONS="${HOME}/.ncmpcpp/config"
\ No newline at end of file
diff --git a/ncmpcpp/.ncmpcpp/config b/ncmpcpp/config
similarity index 100%
rename from ncmpcpp/.ncmpcpp/config
rename to ncmpcpp/config
diff --git a/paru/DICT b/paru/DICT
new file mode 100644
index 0000000..e9e2437
--- /dev/null
+++ b/paru/DICT
@@ -0,0 +1,2 @@
+FILES="paru.conf"
+LOCATIONS="${HOME}/.config/paru/paru.conf"
\ No newline at end of file
diff --git a/paru/.config/paru/paru.conf b/paru/paru.conf
similarity index 100%
rename from paru/.config/paru/paru.conf
rename to paru/paru.conf
diff --git a/reddit-wallpaper-fetcher/DICT b/reddit-wallpaper-fetcher/DICT
new file mode 100644
index 0000000..571ae1a
--- /dev/null
+++ b/reddit-wallpaper-fetcher/DICT
@@ -0,0 +1,2 @@
+FILES="reddit-wallpaper-fetcher.conf"
+LOCATIONS="${HOME}/.config/reddit-wallpaper-fetcher.conf"
\ No newline at end of file
diff --git a/reddit-wallpaper-fetcher/.config/reddit-wallpaper-fetcher.conf b/reddit-wallpaper-fetcher/reddit-wallpaper-fetcher.conf
similarity index 100%
rename from reddit-wallpaper-fetcher/.config/reddit-wallpaper-fetcher.conf
rename to reddit-wallpaper-fetcher/reddit-wallpaper-fetcher.conf
diff --git a/rtv/DICT b/rtv/DICT
new file mode 100644
index 0000000..00444e0
--- /dev/null
+++ b/rtv/DICT
@@ -0,0 +1,2 @@
+DICT="rtv.cfg"
+LOCATIONS="${HOME}/.config/rtv/rtv.cfg"
\ No newline at end of file
diff --git a/rtv/.config/rtv/rtv.cfg b/rtv/rtv.cfg
similarity index 100%
rename from rtv/.config/rtv/rtv.cfg
rename to rtv/rtv.cfg
diff --git a/shells/DICT b/shells/DICT
new file mode 100644
index 0000000..34e3014
--- /dev/null
+++ b/shells/DICT
@@ -0,0 +1 @@
+DEPS="bash zsh all-shells"
diff --git a/temp/DICT b/temp/DICT
new file mode 100644
index 0000000..c673825
--- /dev/null
+++ b/temp/DICT
@@ -0,0 +1,8 @@
+DEPS="t a b c"
+FILES="aaa bbb"
+LOCATIONS="${HOME}/aaa ${HOME}/temp/a/b/c/bbb"
+# SUDO_FILES="ccc ddd"
+# SUDO_LOCATIONS="${HOME}/ccc ${HOME}/ddd"
+custom() {
+	 echo $1
+}
diff --git a/termux/DICT b/termux/DICT
new file mode 100644
index 0000000..6c267d1
--- /dev/null
+++ b/termux/DICT
@@ -0,0 +1,2 @@
+DICT="termux-url-opener ytdl-config"
+LOCATIONS="${HOME}/bin/termux-url-opener ${HOME}/.config/youtube-dl/config ${HOME}/.termux/termux.properties"
\ No newline at end of file
diff --git a/termux/bin/termux-url-opener b/termux/termux-url-opener
similarity index 100%
rename from termux/bin/termux-url-opener
rename to termux/termux-url-opener
diff --git a/termux/.termux/termux.properties b/termux/termux.properties
similarity index 100%
rename from termux/.termux/termux.properties
rename to termux/termux.properties
diff --git a/termux/.config/youtube-dl/config b/termux/ytdl-config
similarity index 100%
rename from termux/.config/youtube-dl/config
rename to termux/ytdl-config
diff --git a/utils/DICT b/utils/DICT
new file mode 100644
index 0000000..b43e142
--- /dev/null
+++ b/utils/DICT
@@ -0,0 +1 @@
+DEPS="emacs git aspell"
diff --git a/zsh/DICT b/zsh/DICT
new file mode 100644
index 0000000..ce2d5ba
--- /dev/null
+++ b/zsh/DICT
@@ -0,0 +1,6 @@
+DEPS="all-shells"
+FILES="zshrc p10k.zsh antigen"
+LOCATIONS="${HOME}/.zshrc ${HOME}/.zsh/p10k.zsh ${HOME}/.zsh/antigen"
+custom() {
+	git submodule update --init
+}
diff --git a/zsh/.zsh/antigen b/zsh/antigen
similarity index 100%
rename from zsh/.zsh/antigen
rename to zsh/antigen
diff --git a/zsh/.zsh/p10k.zsh b/zsh/p10k.zsh
similarity index 100%
rename from zsh/.zsh/p10k.zsh
rename to zsh/p10k.zsh
diff --git a/zsh/.zshrc b/zsh/zshrc
similarity index 100%
rename from zsh/.zshrc
rename to zsh/zshrc

--
Gitblit v1.10.0