Compare commits

..

No commits in common. "bd622b8f2df0c74d011c4bdbb45d8deebaf3c542" and "105049615ea9b50d354b88c9462a886a6ef40c0c" have entirely different histories.

5 changed files with 1 additions and 68 deletions

View File

@ -27,5 +27,3 @@ set __fish_git_prompt_showupstream auto
set fish_color_param normal
set fish_color_cwd grey
rem.sh show

View File

@ -153,6 +153,6 @@ require'nvim-treesitter.configs'.setup {
EOF
" Code folding
set foldmethod=expr
"set foldmethod=expr
set foldexpr=nvim_treesitter#foldexpr()
"autocmd BufEnter * normal zR

View File

@ -1,60 +0,0 @@
#!/bin/sh
# simple todo utility
# nags me every time i start a shell
set -e
scriptname=$0
subcmd=$1
if [ -z "$REM_FILE" ]; then
REM_FILE="$HOME/.reminder-file"
touch "$REM_FILE"
fi
sub_help() {
echo "usage:"
echo " $scriptname <command> [options]"
echo
echo "commands:"
echo " show show all entries"
echo " add append new entry"
echo ' edit open reminder file in $EDITOR'
echo
echo "Set $REM_FILE"
}
sub_show() {
REMS="$(cat "$REM_FILE" | sed -z 's/^\n$//g')"
if [ ! -z "$REMS" ]; then
printf "reminders:\n\n%s\n\n" "$REMS"
fi
}
sub_add() {
TMP="$(mktemp)"
$EDITOR "$TMP"
cat "$TMP" >> "$REM_FILE"
}
sub_edit() {
$EDITOR "$REM_FILE"
}
sub_congrats() {
notify-send -a "🎉" "congrats"
}
case $subcmd in
"" | "--help" | "-h")
sub_help
;;
*)
shift
sub_${subcmd} "$@"
if [ $? = 127 ]; then
echo "error: unknown command '$subcmd'"
exit 1
fi
;;
esac

View File

@ -43,7 +43,6 @@ find ~/quar \
-name '*.jpg' -o \
-name '*.png' -o \
-name '*.jpeg' -o \
-name '*.webp' -o \
-name '*.gif' \
\) | \
while read -r FILE; do

View File

@ -32,13 +32,9 @@ export GOPATH="$HOME"/.local/go
export npm_config_userconfig=$XDG_CONFIG_HOME/npm/config
export npm_config_cache=$XDG_CACHE_HOME/npm
export npm_config_prefix=$XDG_DATA_HOME/npm
# minrss scripts
export MRSS_DIR="$HOME/dox/rss"
# reminder script
export REM_FILE="$HOME/dox/not/rem"
# Set default programs
export EDITOR="nvim"
export BROWSER="qutebrowser"