diff --git a/khal/.config/khal/config b/khal/.config/khal/config new file mode 100644 index 0000000..55f7126 --- /dev/null +++ b/khal/.config/khal/config @@ -0,0 +1,16 @@ +[calendars] + +[[nextcloud_calendar_local]] +path = ~/.calendars/* +type = discover + +[[nextcloud_contacts_local]] +path = ~/.contacts/* +type = discover + +[locale] +timeformat = %H:%M +dateformat = %Y-%m-%d +longdateformat = %Y-%m-%d +datetimeformat = %Y-%m-%d %H:%M +longdatetimeformat = %Y-%m-%d %H:%M diff --git a/khard/.config/khard/khard.conf b/khard/.config/khard/khard.conf new file mode 100644 index 0000000..50b2d74 --- /dev/null +++ b/khard/.config/khard/khard.conf @@ -0,0 +1,48 @@ +# example configuration file for khard version > 0.14.0 +# place it under ~/.config/khard/khard.conf +# This file is parsed by the configobj library. The syntax is described at +# https://configobj.readthedocs.io/en/latest/configobj.html#the-config-file-format +[addressbooks] + [[contacts]] + path = ~/.contacts/contacts/ + [general] + debug = no + default_action = list + # These are either strings or comma seperated lists + editor = nvim, -i, NONE + merge_editor = vimdiff + [contact table] + # display names by first or last name: first_name / last_name / formatted_name + display = first_name + # group by address book: yes / no + group_by_addressbook = no + # reverse table ordering: yes / no + reverse = no + # append nicknames to name column: yes / no + show_nicknames = no + # show uid table column: yes / no + show_uids = yes + # sort by first or last name: first_name / last_name / formatted_name + sort = last_name + # localize dates: yes / no + localize_dates = yes + # set a comma separated list of preferred phone number types in descending priority + # or nothing for non-filtered alphabetical order + preferred_phone_number_type = pref, cell, home + # set a comma separated list of preferred email address types in descending priority + # or nothing for non-filtered alphabetical order + preferred_email_address_type = pref, work, home +[vcard] +# extend contacts with your own private objects +# these objects are stored with a leading "X-" before the object name in the vcard files +# every object label may only contain letters, digits and the - character +# example: +# private_objects = Jabber, Skype, Twitter +# default: , (the empty list) +#private_objects = Jabber, Skype, Twitter +# preferred vcard version: 3.0 / 4.0 +#preferred_version = 3.0 +# Look into source vcf files to speed up search queries: yes / no +search_in_source_files = no +# skip unparsable vcard files: yes / no +skip_unparsable = no diff --git a/todoman/.config/todoman/todoman.conf b/todoman/.config/todoman/todoman.conf new file mode 100644 index 0000000..931d850 --- /dev/null +++ b/todoman/.config/todoman/todoman.conf @@ -0,0 +1,7 @@ +[main] +path = ~/.calendars/* +default_due = 0 +date_format = %Y-%m-%d +default_list = personal +humanize = true +timeformat = %H:%M diff --git a/vdirsyncer/.config/vdirsyncer/config b/vdirsyncer/.config/vdirsyncer/config new file mode 100644 index 0000000..82c7273 --- /dev/null +++ b/vdirsyncer/.config/vdirsyncer/config @@ -0,0 +1,58 @@ +# An example configuration for vdirsyncer. +# +# Move it to ~/.vdirsyncer/config or ~/.config/vdirsyncer/config and edit it. +# Run `vdirsyncer --help` for CLI usage. +# +# Optional parameters are commented out. +# This file doesn't document all available parameters, see +# http://vdirsyncer.pimutils.org/ for the rest of them. +[general] +# A folder where vdirsyncer can store some metadata about each pair. +status_path = "~/.cache/vdirsyncer/status/" +# CARDDAV +[pair nextcloud_contacts] +# A `[pair ]` block defines two storages `a` and `b` that should be +# synchronized. The definition of these storages follows in `[storage ]` +# blocks. This is similar to accounts in OfflineIMAP. +a = "nextcloud_contacts_local" +b = "nextcloud_contacts_remote" +# Synchronize all collections that can be found. +# You need to run `vdirsyncer discover` if new calendars/addressbooks are added +# on the server. +collections = ["from a", "from b"] +# Synchronize the "display name" property into a local file (~/.contacts/displayname). +metadata = ["displayname"] +# To resolve a conflict the following values are possible: +# `null` - abort when collisions occur (default) +# `"a wins"` - assume a's items to be more up-to-date +# `"b wins"` - assume b's items to be more up-to-date +conflict_resolution = "b wins" +[storage nextcloud_contacts_local] +# A storage references actual data on a remote server or on the local disk. +# Similar to repositories in OfflineIMAP. +type = "filesystem" +path = "~/.contacts/" +fileext = ".vcf" +[storage nextcloud_contacts_remote] +type = "carddav" +url = "https://nextcloud.gabevenberg.com" +username = "Toric" +# The password can also be fetched from the system password storage, netrc or a +# custom command. See http://vdirsyncer.pimutils.org/en/stable/keyring.html +password.fetch = ["command", "pass", "nextcloud.gabevenberg.com/Toric"] +# CALDAV +[pair nextcloud_calendar] +a = "nextcloud_calendar_local" +b = "nextcloud_calendar_remote" +collections = ["from a", "from b"] +# Calendars also have a color property +metadata = ["displayname", "color"] +[storage nextcloud_calendar_local] +type = "filesystem" +path = "~/.calendars/" +fileext = ".ics" +[storage nextcloud_calendar_remote] +type = "caldav" +url = "https://nextcloud.gabevenberg.com/" +username = "Toric" +password.fetch = ["command", "pass", "nextcloud.gabevenberg.com/Toric"] diff --git a/zsh/.zshrc b/zsh/.zshrc index e5c4f4a..c16723a 100644 --- a/zsh/.zshrc +++ b/zsh/.zshrc @@ -146,6 +146,8 @@ PROMPT='%F{cyan}[%m@%n]%f%F{red}├────┤%f${vcs_info_msg_0_} setopt ALWAYS_TO_END #complete aliases as well setopt COMPLETE_ALIASES + #select first item when you press tab the first time. + setopt MENU_COMPLETE #globbing #case insensitive globbing @@ -158,6 +160,9 @@ PROMPT='%F{cyan}[%m@%n]%f%F{red}├────┤%f${vcs_info_msg_0_} alias vimdiff="nvim -d" alias mutt="neomutt" alias fuck='sudo $(fc -ln -1)' + alias la='ls -la' + alias ll='ls -l' + #web searches alias ddg='web_search ddg'