summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--.bashrc2
-rw-r--r--.config/khard/khard.conf55
-rw-r--r--.config/ranger/bookmarks4
-rw-r--r--.config/sway/config3
-rw-r--r--.config/vdirsyncer/config72
-rw-r--r--.gitignore3
-rw-r--r--.mutt/muttrc6
-rw-r--r--.mutt/personal29
-rw-r--r--.photocopyrc2
9 files changed, 155 insertions, 21 deletions
diff --git a/.bashrc b/.bashrc
index ac7160b..71a172c 100644
--- a/.bashrc
+++ b/.bashrc
@@ -1,7 +1,7 @@
#basics
stty -ixon
export MOZ_DBUS_REMOTE=1
-export BROWSER="vivaldi-stable --enable-features=UseOzonePlatform --ozone-platform=wayland --use-cmd-decoder=validating --use-gl=egl"
+export BROWSER="vivaldi-snapshot --enable-features=UseOzonePlatform --ozone-platform=wayland --use-cmd-decoder=validating --use-gl=egl"
#export BROWSER="qutebrowser"
export EDITOR="nvim"
diff --git a/.config/khard/khard.conf b/.config/khard/khard.conf
new file mode 100644
index 0000000..8a1d05f
--- /dev/null
+++ b/.config/khard/khard.conf
@@ -0,0 +1,55 @@
+# 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]
+[[personal]]
+path = ~/.contacts/contacts/
+[[works]]
+path = ~/.contacts/work/
+
+[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/.config/ranger/bookmarks b/.config/ranger/bookmarks
index da6778f..fe4cdc1 100644
--- a/.config/ranger/bookmarks
+++ b/.config/ranger/bookmarks
@@ -9,6 +9,6 @@ s:/home/lxf/sites/luxagraf.net
c:/home/lxf/pictures/nextcloud-ccg-phone
t:/home/lxf/temp
p:/home/lxf/temp/wired
-k:/home/lxf/pictures/exported
-':/home/lxf
+k:/home/lxf/exported
+':/home/lxf/notes
m:/home/lxf
diff --git a/.config/sway/config b/.config/sway/config
index 9916797..3f6b1f8 100644
--- a/.config/sway/config
+++ b/.config/sway/config
@@ -21,7 +21,7 @@ exec swayidle -w \
before-sleep 'swaylock -f -c 000000'
# Shortcuts
-bindsym $mod+Return exec $term
+bindsym $mod2+Return exec $term
bindsym $mod+F11 exec $screenshot
bindsym $mod+F12 exec $screenclip
@@ -114,6 +114,7 @@ bindsym $mod+Shift+minus move scratchpad
bindsym $mod+minus scratchpad show
for_window [class="^Chromium$"] border none
+for_window [app_id=""] border none
for_window [class="tasty.javafx.launcher.LauncherFxApp"] border none
for_window [title="Confirmation"] floating enable
for_window [app_id="com.nextcloud.desktopclient.nextcloud"] floating enable
diff --git a/.config/vdirsyncer/config b/.config/vdirsyncer/config
new file mode 100644
index 0000000..930dbc3
--- /dev/null
+++ b/.config/vdirsyncer/config
@@ -0,0 +1,72 @@
+# 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 = "~/.vdirsyncer/status/"
+
+# CARDDAV
+[pair lxf_contacts]
+# A `[pair <name>]` block defines two storages `a` and `b` that should be
+# synchronized. The definition of these storages follows in `[storage <name>]`
+# blocks. This is similar to accounts in OfflineIMAP.
+a = "lxf_contacts_local"
+b = "lxf_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 = null
+
+[storage lxf_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 lxf_contacts_remote]
+type = "carddav"
+url = "https://cloud.luxagraf.net/remote.php/carddav/"
+username="luxagraf"
+# 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", "cloud.luxagraf.net"]
+
+# CALDAV
+[pair lxf_calendar]
+a = "lxf_calendar_local"
+b = "lxf_calendar_remote"
+collections = ["from a", "from b"]
+
+# Calendars also have a color property
+metadata = ["displayname", "color"]
+
+[storage bob_calendar_local]
+type = "filesystem"
+path = "~/.calendars/"
+fileext = ".ics"
+
+[storage lxf_calendar_remote]
+type = "caldav"
+url = "https://cloud.luxagraf.net/remote.php/carddav/"
+username="luxagraf"
+# 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 = "gpg2 --quiet --for-your-eyes-only --no-tty --decrypt ~/.password-store/cloud.luxagraf.net.gpg"
diff --git a/.gitignore b/.gitignore
index a75e82c..d358832 100644
--- a/.gitignore
+++ b/.gitignore
@@ -15,3 +15,6 @@
.config/qutebrowser/autoconfig.yml
.config/qutebrowser/jblock
.config/qutebrowser/qsettings
+.config/qutebrowser/cache
+.config/qutebrowser/data
+.mutt/temp
diff --git a/.mutt/muttrc b/.mutt/muttrc
index b110401..5e99e79 100644
--- a/.mutt/muttrc
+++ b/.mutt/muttrc
@@ -63,7 +63,7 @@ bind index <space> collapse-thread
macro index \Cr "T~U<enter><tag-prefix><clear-flag>N<untag-pattern>.<enter>" "mark all messages as read"
# Sync email
-macro index O "<shell-escape>mbsync personal<enter>" "run mbsync to sync all mail"
+macro index O "<shell-escape>mbsync personal<enter> <shell-escape>notmuch new<enter>" "run mbsync to sync all mail"
macro index o "<shell-escape>mbsync personal:INBOX<enter>" "run mbsync to sync inbox"
# Saner copy/move dialogs
@@ -141,7 +141,7 @@ bind compose p postpone-message
bind index p recall-message
#set query_command = "contacts -Sf '%eTOKEN%n' '%s' | sed -e 's/TOKEN/\t/g'"
-set query_command = "abook --mutt-query '%s'"
+set query_command = "khard email --parsable %s"
bind editor <Tab> complete-query
bind editor ^T complete
set editor="nvim -c 'set spell spelllang=en'"
@@ -155,7 +155,7 @@ macro index S "<enter-command>unset wait_key<enter><shell-escape>notmuch-mutt --
macro index <F9> "<enter-command>unset wait_key<enter><pipe-message>notmuch-mutt thread<enter><change-folder-readonly>`echo ${XDG_CACHE_HOME:-$HOME/.cache}/notmuch/mutt/results`<enter><enter-command>set wait_key<enter>" "notmuch: reconstruct thread"
#macro generic,index,pager \ca "<shell-escape>abook<return>" "launch abook"
-macro index,pager A "<pipe-message>abook --add-email<return>" "add the sender address to abook"
+macro index,pager A "<pipe-message>khard add-email<return>" "add the sender email address to khard"
set spoolfile = "+INBOX"
source ~/.mutt/personal
diff --git a/.mutt/personal b/.mutt/personal
index e90d825..7ca7be4 100644
--- a/.mutt/personal
+++ b/.mutt/personal
@@ -15,20 +15,23 @@ mailboxes =INBOX \
+Archive \
+Work \
+Trash \
+ +Junk \
+Bookmarks \
- +Darktable \
+Sent \
- +'Old Mail.2008' \
- +'Old Mail.2009' \
- +'Old Mail.2010' \
- +'Old Mail.2011' \
- +'Old Mail.2012' \
- +'Old Mail.2013' \
- +'Old Mail.2014' \
- +'Old Mail.2015' \
- +'Old Mail.2016' \
- +'Old Mail.2017' \
- +'Old Mail.2018' \
- +'Old Mail.2019' \
+ +Starred \
+ +Old\ Mail/2008 \
+ +Old\ Mail/2009 \
+ +Old\ Mail/2010 \
+ +Old\ Mail/2011 \
+ +Old\ Mail/2012 \
+ +Old\ Mail/2013 \
+ +Old\ Mail/2014 \
+ +Old\ Mail/2015 \
+ +Old\ Mail/2016 \
+ +Old\ Mail/2017 \
+ +Old\ Mail/2018 \
+ +Old\ Mail/2019 \
+ +Old\ Mail/2020 \
+ +Old\ Mail/2021 \
+Drafts \
+temporary/search
diff --git a/.photocopyrc b/.photocopyrc
index a347063..7290586 100644
--- a/.photocopyrc
+++ b/.photocopyrc
@@ -1 +1 @@
-DSC06429.ARW \ No newline at end of file
+DSC06559.ARW \ No newline at end of file