From f21c04d9a502054e988e370380dab5358c482fab Mon Sep 17 00:00:00 2001 From: katherine Date: Thu, 5 Aug 2021 12:05:41 -0700 Subject: add timew --- .config/herbstluftwm/panel.sh | 2 +- .zshrc-linux-desktop | 7 +++++++ 2 files changed, 8 insertions(+), 1 deletion(-) diff --git a/.config/herbstluftwm/panel.sh b/.config/herbstluftwm/panel.sh index 2880dcd..60f1860 100755 --- a/.config/herbstluftwm/panel.sh +++ b/.config/herbstluftwm/panel.sh @@ -348,7 +348,7 @@ event_battery() { while read command; do case "$command" in date) - notify-send "$(LANG=ja_JP.UTF-8 cal)" + notify-send "$(cal -3; timew summary :week)" ;; mpd) ~/.config/herbstluftwm/mpc-status.sh diff --git a/.zshrc-linux-desktop b/.zshrc-linux-desktop index ddbb492..95887c0 100644 --- a/.zshrc-linux-desktop +++ b/.zshrc-linux-desktop @@ -17,3 +17,10 @@ if [[ $(whence sshfs) != "" ]] then alias kumount='fusermount -u ~/mount-k && rmdir ~/mount-k' alias aumount='fusermount -u ~/mount-ageha && rmdir ~/mount-ageha' fi + +if [[ $(whence timew) != "" ]] then + alias t='timew' + alias ts='timew summary :week' + alias tt='timew track' + alias tu='timew undo' +fi -- cgit v1.2.3