Update 2023-01-07 15:07 OpenBSD/amd64

This commit is contained in:
c0dev0id 2023-01-07 15:07:46 +01:00
parent 6a461712ba
commit b7bb393834
6 changed files with 67 additions and 16 deletions

View File

@ -21,12 +21,14 @@ test -f "${HISTFILE}" \
PICKLIST="paste_from_clipboard
pick_from_history
edit_history_file
-----------------
$(cat "${HISTFILE}" \
| sort -t\| -k 2 -u \
| sort -r \
| cut -b 23- \
| egrep -v ' |^[^a-zA-Z0-9]' \
| grep '\...'\
| grep '..\...'\
)
http://localhost"
@ -45,6 +47,10 @@ read_input() {
S=$(sort -r "${HISTFILE}" \
| ${DMENU_CMD} -p "History:" \
|cut -b23-) ;;
edit_history_file)
texec "vim +\$ ${HISTFILE}"
dexec_browser
exit 0 ;;
esac
[ -z "${S}" ] && exit 0
@ -79,7 +85,8 @@ InternetMovieDataBase (IMDB)
OpenStreetMap (OSM)
Grep.app
Google Maps
Youtube"
Youtube
DELETE"
local C="$(printf '%s' "${INPUT}" \
| head -n 1)"

View File

@ -90,6 +90,16 @@ case "$imagedescr" in
[yY]) edit_template "${gallerydir}/${_name}.txt"; ;;
esac
cd "${HOME}/website/photos"
git pull
find . -type f \
-not -name "*.html" \
-not -path "*/mid/*" \
-not -path "*/thm/*" \
-exec git add {} +
git commit -m "Adding ${_name} to ${gallerydir}"
git push
echo -n "Regenerate Website? [y/N]: "
read -r regen

View File

@ -1,13 +1,13 @@
asterisk= "*";
min_password_length = 24
prompt = "GnuPG"
font = "FuraCodeNerdFont-13";
bottom = false;
asterisk = "*";
prompt = "";
font = "FuraCodeNerdFont-13";
bottom = false;
prompt_fg = "#FFFFFF";
prompt_bg = "#771818";
normal_fg = "#FFFFFF";
normal_bg = "#771818";
select_fg = "#FFFFFF";
select_bg = "#181818";
desc_fg = "#CCCCCC";
desc_bg = "#771818";
desc_fg = "#CCCCCC";
desc_bg = "#771818";

16
.kshrc
View File

@ -147,6 +147,18 @@ bookmarks-clean() {
&& mv /tmp/browser_history ~/.browser_history
}
alias webtorrent="~/node_modules/.bin/webtorrent"
rem-sync() {
ssh vorstand.uugrn.org "cat /home/vorstand/private/Kalender/uugrn.rem" > ~/.reminders/uugrn.rem
}
rem-edit-uug() {
vim sftp://vorstand@vorstand.uugrn.org/private/Kalender/uugrn.rem \
&& ssh -q sdk@vorstand.uugrn.org /home/sdk/.bin/make_calendar.sh
}
alias rem="remind -s ~/.reminders"
alias rem-edit-birthdays="vim ~/.reminders/birthdays.rem"
alias rem-edit-personal="vim ~/.reminders/personal.rem"
# vim-snippets
alias snip_sh="vim ~/.vim/bundle/vim-snipmate/snippets/sh.snippets"
alias snip_c="vim ~/.vim/bundle/vim-snipmate/snippets/c.snippets"
@ -155,6 +167,8 @@ alias snip__="vim ~/.vim/bundle/vim-snipmate/snippets/_.snippets"
alias toot-sh="toot activate sh@bsd.network && toot tui"
alias toot-uug="toot activate uugrn@chaos.social && toot tui"
mpi() { curl -s "$(xclip -o)" | imv -; }
# system
alias sudo="doas"
alias su="doas su"
@ -278,7 +292,7 @@ alias terminal_bbs="telnet gopher.su 1234"
alias terminal_unix50="ssh unix50@unix50.org"
# bookmarks
alias uug-mastodon="firefox https://chaos.social/u/uugrn"
alias uug-mastodon="firefox https://chaos.social/@uugrn"
alias uug-twitter="firefox https://twitter.com/@uugrn"
alias discord-me="firefox https://discord.com/channels/@me"
alias discord-immortals="firefox https://discord.com/channels/991041843871502366/1000826654974812160"

View File

@ -1,14 +1,32 @@
# Hier sind Einzeltermine und Ausnahmen hinterlegt
# Mit OMIT, kann einen Termin aus der unten definierten Serie raus nehmen
# Mir REM kann man neue Termine anlegen. Wenn ein Serientermin ersetzt
# werden soll, dann gibt es jeweils einen OMIT für das zu Löschende
# Datum und einen REM Eintrag für den Ersatztermin.
# 2022
OMIT 4 Nov 2022 # Dezernat 16 nicht verfügbar
REM 11 Nov 2022 AT 19:00 DURATION 4:30 MSG UUGRN Fixme (statt 4.Nov)
REM 11 Nov 2022 AT 19:00 DURATION 4:30 MSG UUGRN Fixme (statt 4.Nov) \
|Dezernat16, Emil-Maier-Str. 16, 69115 Heidelberg
# 2023
OMIT 6 Jan 2023 # Dezernat 16 nicht verfügbar + Feiertag
REM 13 Jan 2023 AT 19:00 DURATION 4:30 MSG UUGRN Fixme (statt 6.Jan)
REM 13 Jan 2023 AT 19:00 DURATION 4:30 MSG UUGRN Fixme (statt 6.Jan) \
|Dezernat16, Emil-Maier-Str. 16, 69115 Heidelberg
OMIT 7 Apr 2023 # Dezernat 16 nicht verfügbar
REM 14 Apr 2023 AT 19:00 DURATION 4:30 MSG UUGRN Fixme (statt 7.Apr)
REM 14 Apr 2023 AT 19:00 DURATION 4:30 MSG UUGRN Fixme (statt 7.Apr) \
|Dezernat16, Emil-Maier-Str. 16, 69115 Heidelberg
# GENERAL RULE
REM Third Monday AT 18:00 DURATION 4:00 SKIP MSG UUGRN Stammtisch
REM First Friday AT 19:00 DURATION 4:30 SKIP MSG UUGRN FIXME
# Hier sind die Serien hinterlegt. Die müssen ganz unten stehen, weil
# sonst die darüber definierten OMIT Regeln nicht ziehen.
# Serientermine
REM Third Monday AT 18:00 DURATION 4:00 SKIP MSG UUGRN Stammtisch \
|METROPOLIS Lounge Walldorf, Impexstr. 1, 69190 Walldorf
REM First Friday AT 19:00 DURATION 4:30 SKIP MSG UUGRN FIXME \
|Dezernat16, Emil-Maier-Str. 16, 69115 Heidelberg
# Es ist möglich eine Location mit anzugeben. Dazu am Text eine Pipe
# anfügen und direkt (ohne Leerzeichen) die Location angeben. Beispiel:
# "UUGRN Stammtisch |Metropolis Walldorf"

View File

@ -190,6 +190,8 @@ let g:netrw_browse_split = 3
let g:netrw_liststyle = 3
let g:netrw_ctags = "ectags"
let g:netrw_silent = 1
let g:netrw_sftp_cmd = "sftp -q"
let g:netrw_scp_cmd = "scp -q"
" STATUSLINE, AIRLINE/POWERLINE IS FOR NOOBS
set statusline=%#VisualNOS#