test
This commit is contained in:
@@ -25,11 +25,16 @@ function show_reminders {
|
||||
tmux display-popup -T "Impegni di oggi…" -w 50% -h 50% -x C -y C -E -- "$CURRENT_DIR/show_reminders.sh"
|
||||
}
|
||||
|
||||
function show_calendar {
|
||||
tmux display-popup -T "Calendario Mensile" -w 80% -h 80% -x C -y C -E -- "$CURRENT_DIR/show_calendar.sh"
|
||||
tmux display-popup -T "Prossime 2 settimane…" -w 99% -h 99% -x C -y C -E -- "$CURRENT_DIR/show_reminders.sh"
|
||||
}
|
||||
|
||||
function main {
|
||||
if [ "$1" == "reminders" ]; then
|
||||
show_reminders
|
||||
else
|
||||
show_popup
|
||||
show_calendar
|
||||
fi
|
||||
}
|
||||
|
||||
|
||||
6
scripts/show_calendar.sh
Executable file
6
scripts/show_calendar.sh
Executable file
@@ -0,0 +1,6 @@
|
||||
#!/usr/bin/env bash
|
||||
|
||||
tput civis
|
||||
trap "tput cnorm" EXIT
|
||||
rem -m -cu+2 -b1 -gaa -q -@2 --hide-completed-todos
|
||||
read -r
|
||||
Reference in New Issue
Block a user