Update dunstrc and watch.sh
Signed-off-by: Severin Kaderli <severin.kaderli@gmail.com>
This commit is contained in:
parent
5c893b60aa
commit
a02e32523d
3 changed files with 8 additions and 5 deletions
|
@ -41,10 +41,12 @@ function print_header() {
|
|||
echo -e "########################################${RESET}"
|
||||
}
|
||||
|
||||
# Function to print a info message with the current time
|
||||
# USAGE: print_info MESSAGE
|
||||
# Function to print a info message with the current time and to send
|
||||
# a notification using notify-send.
|
||||
# USAGE: print_info TITLE MESSAGE
|
||||
function print_log() {
|
||||
echo -e "${YELLOW}[$(date "+%H:%M:%S")] ${1}${RESET}"
|
||||
notify-send "${1}" "${2}"
|
||||
echo -e "${YELLOW}[$(date "+%H:%M:%S")] ${1} ${2}${RESET}"
|
||||
}
|
||||
|
||||
# Creates the given directory in the home directory
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue