From 95c95f9ee1a13d754dced58714561f352dbbb793 Mon Sep 17 00:00:00 2001 From: tavo-wasd Date: Thu, 7 Mar 2024 10:39:18 -0600 Subject: [PATCH 1/3] cal --- shell/aliasrc | 1 - 1 file changed, 1 deletion(-) diff --git a/shell/aliasrc b/shell/aliasrc index 9931c42..d505cb0 100644 --- a/shell/aliasrc +++ b/shell/aliasrc @@ -30,7 +30,6 @@ alias \ # Command shortcuts alias \ mgr-all="mgr pacman_upgrade apt_upgrade flatpak_update distrobox_update pip_update configs passmgr" \ - cal='printf "\033[1m\033[34m=== %s ===\033[0m\n%s\n" "$DATE" "$(calcurse -a -t)"' \ df-short="df -h | grep -v '\s/dev.*$\|\s/run.*$\|\s/boot.*$'" \ wacom-setup-menu="wacom-setup menu" \ swayimg="swayimg -s fit -w 000000 -m" \ From 39f7cf0bca4fe88c497bf0396b3fb129d076c931 Mon Sep 17 00:00:00 2001 From: tavo-wasd Date: Thu, 7 Mar 2024 10:51:32 -0600 Subject: [PATCH 2/3] hl current --- scripts/cal | 5 +++++ 1 file changed, 5 insertions(+) create mode 100755 scripts/cal diff --git a/scripts/cal b/scripts/cal new file mode 100755 index 0000000..a050e5d --- /dev/null +++ b/scripts/cal @@ -0,0 +1,5 @@ +#!/bin/sh + +HCOL="\x1b[44m" +TODAY="$(date '+%d' | sed 's/^0//')" +/bin/cal | sed "s, $TODAY ,$HCOL $TODAY\x1b[0m ," From fb439caff51fe5bbf9bfbaf681e2f785d754a1e7 Mon Sep 17 00:00:00 2001 From: tavo-wasd Date: Thu, 7 Mar 2024 10:53:37 -0600 Subject: [PATCH 3/3] fix --- scripts/cal | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/cal b/scripts/cal index a050e5d..e82fbd1 100755 --- a/scripts/cal +++ b/scripts/cal @@ -2,4 +2,4 @@ HCOL="\x1b[44m" TODAY="$(date '+%d' | sed 's/^0//')" -/bin/cal | sed "s, $TODAY ,$HCOL $TODAY\x1b[0m ," +/bin/cal "$@" | sed "s, $TODAY ,$HCOL $TODAY\x1b[0m ,"