diff options
author | Joe <bousset.rudy@gmail.com> | 2022-05-20 21:33:22 +0200 |
---|---|---|
committer | Joe <bousset.rudy@gmail.com> | 2022-05-20 21:33:22 +0200 |
commit | b7c9bbbc2fd3453707f3748e19cf8710178397e1 (patch) | |
tree | 81989c9bdf5c0adda077d5fd7c846640ff812004 /.local | |
parent | Cleaner I guess (diff) | |
download | dotfiles-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
Diffstat (limited to '.local')
-rwxr-xr-x | .local/bin/fathddmnt | 1 | ||||
-rwxr-xr-x | .local/bin/idea | 16 | ||||
-rwxr-xr-x | .local/bin/sdmnt | 4 | ||||
-rwxr-xr-x | .local/bin/sdumnt | 4 |
4 files changed, 17 insertions, 8 deletions
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 |