aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rwxr-xr-x.config/herbstluftwm/panel.sh2
-rw-r--r--.zshrc-linux-desktop7
2 files changed, 8 insertions, 1 deletions
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