summaryrefslogtreecommitdiff
path: root/home
diff options
context:
space:
mode:
authorxyz <gky44px1999@gmail.com>2022-01-26 02:23:51 -0800
committerxyz <gky44px1999@gmail.com>2022-01-26 02:23:51 -0800
commit095a2255f66798fa1b73b7f85aac550834b5e701 (patch)
tree9bb754c85d930131158cba86874184ae0285ec7b /home
parentfa1e450823d0c91f0f6b7e144b7660242444a680 (diff)
use remind instead of calcurse, integrate remind to scripts
Diffstat (limited to 'home')
-rw-r--r--home/xyz/.bashrc2
-rwxr-xr-xhome/xyz/.local/bin/news3
-rw-r--r--home/xyz/.profile1
-rw-r--r--home/xyz/.xinitrc2
4 files changed, 7 insertions, 1 deletions
diff --git a/home/xyz/.bashrc b/home/xyz/.bashrc
index 9c61b17b..6005f780 100644
--- a/home/xyz/.bashrc
+++ b/home/xyz/.bashrc
@@ -51,6 +51,7 @@ alias grep='grep --color=auto'
#alias info='info --vi-keys'
alias ls='ls --color=auto'
alias radeontop='radeontop -c'
+alias rem='rem -c+2'
alias rm='rm -I'
alias sdcv='sdcv --color'
alias shellcheck='shellcheck -x'
@@ -77,6 +78,7 @@ alias tp='sudo tio /dev/ttyACM0'
alias v='$EDITOR'
alias vc='$EDITOR "$XDG_DOCUMENTS_DIR/notes/computer/cli_notes.md"'
alias vq='$EDITOR "$XDG_DOCUMENTS_DIR/notes/others/questions_ideas_tips.md"'
+alias vr='$EDITOR "$DOTREMINDERS"'
alias vvrc='$EDITOR +e\ \$MYVIMRC'
alias za='zoxide add'
diff --git a/home/xyz/.local/bin/news b/home/xyz/.local/bin/news
index a3d80942..e6463d61 100755
--- a/home/xyz/.local/bin/news
+++ b/home/xyz/.local/bin/news
@@ -2,7 +2,8 @@
o "$BROWSER" github.com/notifications mail.google.com
# --hold must be before -e
-o alacritty --hold -e calcurse
+# full window: -w156, am and pm in one line: -w114
+o alacritty --hold -e rem -c+2 -w114
o alacritty --hold -e wtr
o alacritty -e newsboat
o alacritty -e weechat
diff --git a/home/xyz/.profile b/home/xyz/.profile
index a6c278d9..6a04bbb5 100644
--- a/home/xyz/.profile
+++ b/home/xyz/.profile
@@ -47,6 +47,7 @@ export CLICOLOR=1
# for pacdiff, without using aur neovim-drop-in or neovim-symlinks
export DIFFPROG='nvim -d'
export MAKEFLAGS="-j$(nproc --all)"
+export DOTREMINDERS="$XDG_DOCUMENTS_DIR/notes/others/.reminders"
# use sudo find for some files or dirs that has no permission ex: ~/.cache/paru/clone/
#export FZF_DEFAULT_COMMAND="fd --no-ignore --hidden --exclude .git"
diff --git a/home/xyz/.xinitrc b/home/xyz/.xinitrc
index a7bf39a1..1086f113 100644
--- a/home/xyz/.xinitrc
+++ b/home/xyz/.xinitrc
@@ -56,4 +56,6 @@ udiskie &
# without editing registry, using filter key, or other third party program
# see http://stereopsis.com/keyrepeat/
xset r rate 250 30
+# https://dianne.skoll.ca/wiki/Remind_FAQ#How_can_I_generate_popup_windows_to_warn_me_of_timed_reminders.3F
+rem -z -k'notify-send -u critical "reminder" %s &' &
exec dwm