aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorkatherine <ageha@airen-no-jikken.icu>2021-08-05 12:05:41 -0700
committerkatherine <ageha@airen-no-jikken.icu>2021-08-05 12:05:41 -0700
commitf21c04d9a502054e988e370380dab5358c482fab (patch)
tree2d19c554a8395dff567ca109284c1cd0755e1ff9
parent68851c45c0ca064e20031b1f32e49638d18f7826 (diff)
downloaddotfiles-f21c04d9a502054e988e370380dab5358c482fab.tar.gz
add timew
-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