Compare commits
3 Commits
a1f763ab67
...
7b5954997e
Author | SHA1 | Date | |
---|---|---|---|
7b5954997e | |||
e604037100 | |||
bf7565e916 |
2
.config/.gitignore
vendored
2
.config/.gitignore
vendored
@ -1,2 +1,4 @@
|
|||||||
.config
|
.config
|
||||||
|
mimeapps.list
|
||||||
|
pulse/
|
||||||
rbw
|
rbw
|
||||||
|
@ -2,6 +2,10 @@
|
|||||||
|
|
||||||
# paths and stuff
|
# paths and stuff
|
||||||
export PATH="$PATH:$HOME/.local/bin"
|
export PATH="$PATH:$HOME/.local/bin"
|
||||||
|
|
||||||
|
if [ $(hostname) = "localhost" ]; then # this is phone
|
||||||
|
export PATH="$PATH:$HOME/dot_testing/boxes/phone/out-of-tree/git-annex.linux"
|
||||||
|
fi
|
||||||
export MANPATH="$(manpath -q):$HOME/.local/share/man"
|
export MANPATH="$(manpath -q):$HOME/.local/share/man"
|
||||||
export EDITOR="nvim"
|
export EDITOR="nvim"
|
||||||
mkdir -p "$HOME/.local/bin" "$HOME/.share/man"
|
mkdir -p "$HOME/.local/bin" "$HOME/.share/man"
|
||||||
|
21
.config/isync/phone-config
Normal file
21
.config/isync/phone-config
Normal file
@ -0,0 +1,21 @@
|
|||||||
|
IMAPStore main-remote
|
||||||
|
Host mail.beepboop.systems
|
||||||
|
Port 993
|
||||||
|
User ryan@beepboop.systems
|
||||||
|
PassCmd "rbw get mail.beepboop.systems"
|
||||||
|
SSLType IMAPS
|
||||||
|
# termux is weird
|
||||||
|
CertificateFile /data/data/com.termux/files/usr/etc/tls
|
||||||
|
|
||||||
|
MaildirStore main-local
|
||||||
|
Path ~/Mail/main/
|
||||||
|
Inbox ~/Mail/main/INBOX
|
||||||
|
Subfolders Verbatim
|
||||||
|
|
||||||
|
Channel main
|
||||||
|
Far :main-remote:
|
||||||
|
Near :main-local:
|
||||||
|
Create Both
|
||||||
|
Expunge Both
|
||||||
|
Patterns *
|
||||||
|
SyncState *
|
2
boxes/phone/out-of-tree/.gitignore
vendored
Normal file
2
boxes/phone/out-of-tree/.gitignore
vendored
Normal file
@ -0,0 +1,2 @@
|
|||||||
|
git-annex-install
|
||||||
|
git-annex.linux
|
@ -1,4 +1,4 @@
|
|||||||
termux: termux-pkgs termux-dots utils-sh st pip-pkgs
|
termux: termux-pkgs termux-dots utils-sh st pip-pkgs git-annex.linux
|
||||||
|
|
||||||
st:
|
st:
|
||||||
cd ../../../builds/st/ && CFLAGS="-DIS_PHONE" CC=clang make && cp st ~/.local/bin/st
|
cd ../../../builds/st/ && CFLAGS="-DIS_PHONE" CC=clang make && cp st ~/.local/bin/st
|
||||||
@ -40,6 +40,7 @@ termux-pkgs:
|
|||||||
jq \
|
jq \
|
||||||
isync \
|
isync \
|
||||||
neomutt \
|
neomutt \
|
||||||
|
wget \
|
||||||
x11-repo
|
x11-repo
|
||||||
|
|
||||||
termux-dots:
|
termux-dots:
|
||||||
@ -51,3 +52,6 @@ termux-dots:
|
|||||||
cp $(CURDIR)/../../../home/wallpapers/pape.jpg ~/.local/share
|
cp $(CURDIR)/../../../home/wallpapers/pape.jpg ~/.local/share
|
||||||
mkdir -p ~/.shortcuts
|
mkdir -p ~/.shortcuts
|
||||||
cp $(CURDIR)/shortcuts/* ~/.shortcuts
|
cp $(CURDIR)/shortcuts/* ~/.shortcuts
|
||||||
|
|
||||||
|
git-annex.linux:
|
||||||
|
bash install-git-annex.sh
|
||||||
|
7
boxes/phone/out-of-tree/install-git-annex.sh
Executable file
7
boxes/phone/out-of-tree/install-git-annex.sh
Executable file
@ -0,0 +1,7 @@
|
|||||||
|
wget https://git-annex.branchable.com/install/Android/git-annex-install
|
||||||
|
MY_WD=$(pwd)
|
||||||
|
|
||||||
|
source git-annex-install || printf "failed\n"
|
||||||
|
|
||||||
|
cd "$MY_WD"
|
||||||
|
mv ~/git-annex.linux ./
|
@ -1,5 +1,10 @@
|
|||||||
|
if [ "$(hostname)" = "localhost" ]; then
|
||||||
|
mbsync --config=$HOME/.config/isync/phone-config
|
||||||
|
else
|
||||||
is_school && echo "enable the vpn"
|
is_school && echo "enable the vpn"
|
||||||
mbsync --config=$HOME/.config/isync/config main
|
mbsync --config=$HOME/.config/isync/config main
|
||||||
|
fi
|
||||||
|
|
||||||
vdirsyncer sync
|
vdirsyncer sync
|
||||||
rbw sync
|
rbw sync
|
||||||
|
|
Loading…
Reference in New Issue
Block a user