🚧 Created script to grab hours:mins for calcurse.sh
This commit is contained in:
parent
ad026fbea4
commit
67ce6b80d1
1 changed files with 11 additions and 0 deletions
11
scripts/calcurse_notification_attempts/print_time
Executable file
11
scripts/calcurse_notification_attempts/print_time
Executable file
|
|
@ -0,0 +1,11 @@
|
|||
#!/bin/bash
|
||||
|
||||
# simple script that prints out current time in hours:mins format
|
||||
# to be utilized in a bash version of calcurse_reminder.py
|
||||
|
||||
hours=$(date +"%T" | awk -F ":" '{print $1}')
|
||||
mins=$(date +"%T" | awk -F ":" '{print $2}')
|
||||
|
||||
currenttime="${hours}:${mins}"
|
||||
|
||||
echo "${currenttime}"
|
||||
Loading…
Add table
Add a link
Reference in a new issue