aboutsummaryrefslogblamecommitdiff
path: root/.config/yambar/scripts/calendar.sh
blob: d066cf8e975e2966cfe8805987978905b7fbe4e3 (plain) (tree)

























                                                                                                                                                    
#!/bin/bash

# Calendar script

function ShowCalendar() {
	dunstify -i "calendar"  "     Calendar" "$(cal --color=always | sed "s/..7m/<b><span color=\"#fabd2f\">/;s/..27m/<\/span><\/b>/")" -r 124
}

function EditCalendar() {
  echo 
}

case "$1" in
        show)
            ShowCalendar
            ;;
         
        edit)
            EditCalendar
            ;;
         
        *)
            echo $"Usage: ${0##*/} {show|edit}"
            exit 1
 
esac