summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJoe <bousset.rudy@gmail.com>2022-05-20 21:33:22 +0200
committerJoe <bousset.rudy@gmail.com>2022-05-20 21:33:22 +0200
commitb7c9bbbc2fd3453707f3748e19cf8710178397e1 (patch)
tree81989c9bdf5c0adda077d5fd7c846640ff812004
parentCleaner I guess (diff)
downloaddotfiles-bsd-b7c9bbbc2fd3453707f3748e19cf8710178397e1.tar.gz
dotfiles-bsd-b7c9bbbc2fd3453707f3748e19cf8710178397e1.tar.bz2
dotfiles-bsd-b7c9bbbc2fd3453707f3748e19cf8710178397e1.tar.xz
dotfiles-bsd-b7c9bbbc2fd3453707f3748e19cf8710178397e1.tar.zst
dotfiles-bsd-b7c9bbbc2fd3453707f3748e19cf8710178397e1.zip
updates and new script cool
-rw-r--r--.config/env1
-rw-r--r--.config/mutt/accounts/1-bousset.rudy@gmail.com.muttrc2
-rw-r--r--.config/mutt/accounts/2-olsen.oyvind.nor@gmail.com.muttrc2
-rw-r--r--.config/mutt/accounts/3-towerofsilence777@gmail.com.muttrc2
-rw-r--r--.config/mutt/accounts/5-rbousset@secuserve.com.muttrc2
-rwxr-xr-x.local/bin/fathddmnt1
-rwxr-xr-x.local/bin/idea16
-rwxr-xr-x.local/bin/sdmnt4
-rwxr-xr-x.local/bin/sdumnt4
9 files changed, 22 insertions, 12 deletions
diff --git a/.config/env b/.config/env
index 6ecba92..107412b 100644
--- a/.config/env
+++ b/.config/env
@@ -49,6 +49,7 @@ export CCACHE_DIR="$XDG_CACHE_HOME"/ccache
export DOCKER_CONFIG="$XDG_CONFIG_HOME"/docker
export DVDCSS_CACHE="$XDG_DATA_HOME"/dvdcss
export GNUPGHOME="$XDG_DATA_HOME"/gnupg
+export GPG_TUI_CONFIG="$XDG_CONFIG_HOME"/gpg-tui/gpg-tui.toml
export GOPATH="$XDG_DATA_HOME"/go
export GOBIN="$GOPATH"/bin
export FOSSGIT="$XDG_DATA_HOME"/fossil/git_exports
diff --git a/.config/mutt/accounts/1-bousset.rudy@gmail.com.muttrc b/.config/mutt/accounts/1-bousset.rudy@gmail.com.muttrc
index 88d82d9..a77f4b3 100644
--- a/.config/mutt/accounts/1-bousset.rudy@gmail.com.muttrc
+++ b/.config/mutt/accounts/1-bousset.rudy@gmail.com.muttrc
@@ -14,7 +14,7 @@ bind index,pager g noop
bind index,pager M noop
bind index,pager C noop
bind index gg first-entry
-macro index o "<shell-escape>mbsync -c /usr/home/jozan/.config/mbsync/mbsyncrc -a<enter>" "run mbsync to sync bousset.rudy@gmail.com"
+macro index o "<shell-escape>mbsync -c /usr/home/jozan/.config/mbsync/mbsyncrc bousset.rudy@gmail.com<enter>" "run mbsync to sync bousset.rudy@gmail.com"
unmailboxes *
mailboxes "=INBOX" "=[Gmail].Sent\ Mail" "=[Gmail].Drafts" "=[Gmail].Spam" "=[Gmail].Trash"
diff --git a/.config/mutt/accounts/2-olsen.oyvind.nor@gmail.com.muttrc b/.config/mutt/accounts/2-olsen.oyvind.nor@gmail.com.muttrc
index 76701ee..ca12a3b 100644
--- a/.config/mutt/accounts/2-olsen.oyvind.nor@gmail.com.muttrc
+++ b/.config/mutt/accounts/2-olsen.oyvind.nor@gmail.com.muttrc
@@ -14,7 +14,7 @@ bind index,pager g noop
bind index,pager M noop
bind index,pager C noop
bind index gg first-entry
-macro index o "<shell-escape>mbsync -c /usr/home/jozan/.config/mbsync/mbsyncrc -a<enter>" "run mbsync to sync olsen.oyvind.nor@gmail.com"
+macro index o "<shell-escape>mbsync -c /usr/home/jozan/.config/mbsync/mbsyncrc olsen.oyvind.nor@gmail.com<enter>" "run mbsync to sync olsen.oyvind.nor@gmail.com"
unmailboxes *
mailboxes "=INBOX" "=[Gmail].Sent\ Mail" "=[Gmail].Drafts" "=[Gmail].Spam" "=[Gmail].Trash"
diff --git a/.config/mutt/accounts/3-towerofsilence777@gmail.com.muttrc b/.config/mutt/accounts/3-towerofsilence777@gmail.com.muttrc
index af07fbb..a8c2046 100644
--- a/.config/mutt/accounts/3-towerofsilence777@gmail.com.muttrc
+++ b/.config/mutt/accounts/3-towerofsilence777@gmail.com.muttrc
@@ -14,7 +14,7 @@ bind index,pager g noop
bind index,pager M noop
bind index,pager C noop
bind index gg first-entry
-macro index o "<shell-escape>mbsync -c /usr/home/jozan/.config/mbsync/mbsyncrc -a<enter>" "run mbsync to sync towerofsilence777@gmail.com"
+macro index o "<shell-escape>mbsync -c /usr/home/jozan/.config/mbsync/mbsyncrc twoerofsilence777@gmail.com<enter>" "run mbsync to sync towerofsilence777@gmail.com"
unmailboxes *
mailboxes "=INBOX" "=[Gmail].Messages envoy&AOk-s" "=[Gmail].Brouillons" "=[Gmail].Spam" "=[Gmail].Corbeille" "=[Gmail].Important" "=[Gmail].Suivis"
diff --git a/.config/mutt/accounts/5-rbousset@secuserve.com.muttrc b/.config/mutt/accounts/5-rbousset@secuserve.com.muttrc
index e2aaa25..7e59d00 100644
--- a/.config/mutt/accounts/5-rbousset@secuserve.com.muttrc
+++ b/.config/mutt/accounts/5-rbousset@secuserve.com.muttrc
@@ -14,7 +14,7 @@ bind index,pager g noop
bind index,pager M noop
bind index,pager C noop
bind index gg first-entry
-macro index o "<shell-escape>mbsync -c /usr/home/jozan/.config/mbsync/mbsyncrc -a<enter>" "run mbsync to sync rbousset@secuserve.com"
+macro index o "<shell-escape>mbsync -c /usr/home/jozan/.config/mbsync/mbsyncrc rbousset@secuserve.com<enter>" "run mbsync to sync rbousset@secuserve.com"
unmailboxes *
mailboxes "=INBOX" "=Sent" "=Drafts" "=Trash" "=NEWS"
diff --git a/.local/bin/fathddmnt b/.local/bin/fathddmnt
index 758be1f..27278d9 100755
--- a/.local/bin/fathddmnt
+++ b/.local/bin/fathddmnt
@@ -5,4 +5,5 @@ tmp=$(mktemp)
dmenu -p "Enter password: " -nb '#1d2021' -nf '#1d2021' <&- >"$tmp"
geli attach -k /root/geli_keys/fathdd_ext.key -j "$tmp" /dev/da0p1
mkdir -p "$HOME"/hdd
+rm "$tmp"
mount /dev/da0p1.eli "$HOME"/hdd
diff --git a/.local/bin/idea b/.local/bin/idea
index a8acfae..d093fc7 100755
--- a/.local/bin/idea
+++ b/.local/bin/idea
@@ -21,15 +21,15 @@ gmi_fmt='\
'"${thought}"
sed -i '' -e '/<!-- thoughts here -->$/{n;s/^/'"${html_fmt}"'/;}' \
- "$HOME"/dev/web/jozanofastora.xyz/thoughts.html
-git -C "$HOME"/dev/web/jozanofastora-www add -u
-git -C "$HOME"/dev/web/jozanofastora-www commit -m "Thought: ${date}"
-git -C "$HOME"/dev/web/jozanofastora-www push
+ "$HOME"/dev/web/joe-www/thoughts.html
+git -C "$HOME"/dev/web/joe-www add -u
+git -C "$HOME"/dev/web/joe-www commit -m "Thought: ${date}"
+git -C "$HOME"/dev/web/joe-www push
sed -i '' -e '15i '"${gmi_fmt}" \
- "$HOME"/dev/web/jozan_gemini/thoughts.gmi
-git -C "$HOME"/dev/web/jozanofastora-gemini add -u
-git -C "$HOME"/dev/web/jozanofastora-gemini commit -m "Thought: ${date}"
-git -C "$HOME"/dev/web/jozanofastora-gemini push
+ "$HOME"/dev/web/joe-gemini/thoughts.gmi
+git -C "$HOME"/dev/web/joe-gemini add -u
+git -C "$HOME"/dev/web/joe-gemini commit -m "Thought: ${date}"
+git -C "$HOME"/dev/web/joe-gemini push
vps
diff --git a/.local/bin/sdmnt b/.local/bin/sdmnt
new file mode 100755
index 0000000..4e25494
--- /dev/null
+++ b/.local/bin/sdmnt
@@ -0,0 +1,4 @@
+#!/bin/sh -e
+
+mkdir -p "$HOME"/sd
+mount -t msdos /dev/mmcsd0s1 "$HOME"/sd
diff --git a/.local/bin/sdumnt b/.local/bin/sdumnt
new file mode 100755
index 0000000..2609413
--- /dev/null
+++ b/.local/bin/sdumnt
@@ -0,0 +1,4 @@
+#!/bin/sh -e
+
+umount "$HOME"/sd
+rmdir "$HOME"/sd