From 42e1f8dc37489c7930425265520102fd5316f68c Mon Sep 17 00:00:00 2001 From: Gabe Venberg Date: Sat, 8 May 2021 18:28:56 -0500 Subject: [PATCH 1/2] updated vdirsyncer configs. --- vdirsyncer/.config/vdirsyncer/config | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/vdirsyncer/.config/vdirsyncer/config b/vdirsyncer/.config/vdirsyncer/config index 82c7273..d94f2f9 100644 --- a/vdirsyncer/.config/vdirsyncer/config +++ b/vdirsyncer/.config/vdirsyncer/config @@ -35,7 +35,7 @@ path = "~/.contacts/" fileext = ".vcf" [storage nextcloud_contacts_remote] type = "carddav" -url = "https://nextcloud.gabevenberg.com" +url = "https://gabevenberg.com/nextcloud/remote.php/dav" 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 @@ -53,6 +53,6 @@ path = "~/.calendars/" fileext = ".ics" [storage nextcloud_calendar_remote] type = "caldav" -url = "https://nextcloud.gabevenberg.com/" +url = "https://gabevenberg.com/nextcloud/remote.php/dav" username = "Toric" password.fetch = ["command", "pass", "nextcloud.gabevenberg.com/Toric"] From 6f6f95a120310af2f15f87f1837de6a055cc2f79 Mon Sep 17 00:00:00 2001 From: Gabe Venberg Date: Sun, 9 May 2021 15:32:49 -0500 Subject: [PATCH 2/2] modified the tmux status line to deal with multiple batteries. --- tmux/.tmux.conf | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tmux/.tmux.conf b/tmux/.tmux.conf index 9f3f965..d5d66d9 100644 --- a/tmux/.tmux.conf +++ b/tmux/.tmux.conf @@ -69,4 +69,4 @@ bind r source-file ~/.tmux.conf #also lengthen the right side status, by mutch more. set -g status-right-length 60 #have the right side status bar display the current battery status and the time/date. - set -g status-right 'battery:#(acpi | cut -d ',' -f 2) | %H:%M %d-%m-%y ' + set -g status-right 'battery:#(acpi | grep -Eo "[0-9]+%" | tr "\n" " " | sed "s/\s\+$//") | %H:%M %d-%m-%y '