Minor updates
This commit is contained in:
@@ -137,7 +137,7 @@ reverse = no
|
||||
# append nicknames to name column: yes / no
|
||||
show_nicknames = no
|
||||
# show uid table column: yes / no
|
||||
show_uids = yes
|
||||
show_uids = no
|
||||
# sort by first or last name: first_name / last_name
|
||||
sort = last_name
|
||||
# localize dates: yes / no
|
||||
@@ -180,14 +180,14 @@ To share an event by email, the currently best way to proceed is to first find t
|
||||
|
||||
#+begin_src bash
|
||||
if [[ -f $1 ]]; then
|
||||
resp=$(echo -e "yes\nno" | rofi -i -only-match -dmenu -p "Would you like to add the event:" -mesg "`khal printics $1 | tail -n +2`")
|
||||
resp=$(echo -e "yes\nno" | rofi -i -only-match -dmenu -p "Would you like to add the event:" -mesg "`khal printics \"$1\" | tail -n +2`")
|
||||
|
||||
if [[ "$resp" == "yes" ]]; then
|
||||
calendar=$(echo "`khal printcalendars`" | rofi -i -only-match -dmenu -p "Save to:")
|
||||
if [ -z "$calendar" ]; then
|
||||
exit;
|
||||
fi
|
||||
khal import -a "$calendar" --batch $1 && \
|
||||
khal import -a "$calendar" --batch "$1" && \
|
||||
notify-send --hint=string:x-dunst-stack-tag:fJeNG8gc "Calendar" "Even added";
|
||||
fi
|
||||
fi
|
||||
|
||||
Reference in New Issue
Block a user