aboutsummaryrefslogblamecommitdiff
path: root/.config/yambar/scripts/calendar.sh
blob: 767142fb267224109437d9d287fc95837e62e44e (plain) (tree)
1
2
3
4
5
6




                         
                                                                                                                                                    



















                                               
#!/bin/bash

# Calendar script

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

function EditCalendar() {
  echo 
}

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