Use locally installed dotdrop instead of submodule
This commit is contained in:
parent
b5c1a1399b
commit
617f59dbd5
3
.gitmodules
vendored
3
.gitmodules
vendored
|
@ -1,3 +0,0 @@
|
||||||
[submodule "dotdrop"]
|
|
||||||
path = dotdrop
|
|
||||||
url = https://github.com/deadc0de6/dotdrop.git
|
|
1
dotdrop
1
dotdrop
|
@ -1 +0,0 @@
|
||||||
Subproject commit d2a785fd2fbcedf063b97795c284c2932ff8aa6a
|
|
|
@ -165,10 +165,17 @@ alias i='iwctl station wlan0'
|
||||||
cpufreq() { watch -n 1 eval "cat /proc/cpuinfo | grep MHz" }
|
cpufreq() { watch -n 1 eval "cat /proc/cpuinfo | grep MHz" }
|
||||||
|
|
||||||
# dotdrop
|
# dotdrop
|
||||||
dotdrop() { source $DOTREPO/secrets/secrets && UID=$(id -u) $DOTREPO/dotdrop/dotdrop.sh --cfg=$DOTREPO/config.toml {%@@ if profile == "Isengard" @@%} -p Isengard{%@@ endif @@%} $@ }
|
alias dotdrop="source $DOTREPO/secrets/secrets && UID=$(id -u) dotdrop --cfg=$DOTREPO/config.toml {%@@ if profile == "Isengard" @@%} -p Isengard{%@@ endif @@%}"
|
||||||
sdotdrop() { source $DOTREPO/secrets/secrets && sudo -E $DOTREPO/dotdrop/dotdrop.sh --cfg=$DOTREPO/config-root.toml $@ }
|
|
||||||
updatesecrets() { bash $DOTREPO/secrets/secrets.sh; chmod 600 $DOTREPO/secrets/secrets }
|
|
||||||
|
alias sdotdrop="source $DOTREPO/secrets/secrets && sudo -E dotdrop --cfg=$DOTREPO/config-root.toml"
|
||||||
compdef _dotdrop-completion.zsh sdotdrop
|
compdef _dotdrop-completion.zsh sdotdrop
|
||||||
|
|
||||||
|
updatesecrets() {
|
||||||
|
bash $DOTREPO/secrets/secrets.sh
|
||||||
|
chmod 600 $DOTREPO/secrets/secrets
|
||||||
|
}
|
||||||
|
|
||||||
alias dotgit='git -C $DOTREPO'
|
alias dotgit='git -C $DOTREPO'
|
||||||
dotsync() { cd $DOTREPO && gac && gpull && gpush && cd $OLDPWD }
|
dotsync() { cd $DOTREPO && gac && gpull && gpush && cd $OLDPWD }
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue