From 34dd6bb4197d6eb63522b6ef118e80868c79be71 Mon Sep 17 00:00:00 2001 From: ry Date: Thu, 28 Oct 2021 10:22:35 -0700 Subject: [PATCH] testing ssh --- .config/doom/config.el | 32 +++++++++++++++++++ .../pipewire/media-session.d/restore-stream | 15 ++++----- Emacs.org | 28 +++++++++++++--- 3 files changed, 62 insertions(+), 13 deletions(-) diff --git a/.config/doom/config.el b/.config/doom/config.el index 12cf9d6..14e05d9 100644 --- a/.config/doom/config.el +++ b/.config/doom/config.el @@ -253,3 +253,35 @@ (deft-use-filter-string-for-filename t) (deft-default-extension "org") (deft-directory org-roam-directory)) + +(use-package mu4e + :config + ;; This is set to 't' to avoid mail syncing issues when using mbsync + (setq mu4e-change-filenames-when-moving t) + + ;; Refresh mail using isync every 5 minutes + (setq mu4e-update-interval (* 5 60)) + (setq mu4e-get-mail-command "mbsync -a -c ~/dotfiles/.config/mbsync/mbsyncrc") + (setq mu4e-maildir "~/mail") + + (setq mu4e-contexts + (list + ;; Opal.shadow + (make-mu4e-context + :name "Opal.sh" + :match-func + (lambda (msg) + (when msg + (string-prefix-p "/opal.sh" (mu4e-message-field msg :maildir)))) + + :vars '((user-mail-address . "ry@opal.sh") + (user-full-name . "Opal.sh") + (mu4e-drafts-folder . "/opal.sh/Drafts") + (mu4e-sent-folder . "/opal.sh/Sent") + (mu4e-trash-folder . "/opal.sh/Trash"))))) + + (setq mu4e-maildir-shortcuts + '(("/opal.sh/Inbox" . ?i) + ("/opal.sh/Sent" . ?s) + ("/opal.sh/Trash" . ?t) + ("/opal.sh/Drafts" . ?d)))) diff --git a/.config/zsh/pipewire/media-session.d/restore-stream b/.config/zsh/pipewire/media-session.d/restore-stream index a86e9c5..e373a3d 100644 --- a/.config/zsh/pipewire/media-session.d/restore-stream +++ b/.config/zsh/pipewire/media-session.d/restore-stream @@ -1,12 +1,11 @@ { "restore.stream.Output/Audio.application.name:Firefox": { "volume": 1.000000, "mute": false, "volumes": [ 1.000000, 1.000000 ], "channels": [ "FL", "FR" ] }, - "restore.stream.Output/Audio.media.role:Notification": { "volume": 1.000000, "mute": false, "volumes": [ 1.000000, 1.000000 ], "channels": [ "FL", "FR" ] }, + "restore.stream.Output/Audio.media.role:Notification": { "volume": 1.000000, "mute": false, "volumes": [ 1.000000, 1.000000 ], "channels": [ "FL", "FR" ], "target-node": "bluez_output.00_1B_66_BD_13_AA.a2dp-sink" }, "restore.stream.Output/Audio.application.name:eSpeak": { "volume": 1.000000, "mute": false, "volumes": [ 1.000000 ] }, - "restore.stream.Output/Audio.application.name:speech-dispatcher-espeak-ng": { "volume": 1.000000, "mute": false, "volumes": [ 1.000000 ], "channels": [ "MONO" ] }, - "restore.stream.Output/Audio.application.name:speech-dispatcher-dummy": { "volume": 1.000000, "mute": false, "volumes": [ 1.000000 ], "channels": [ "MONO" ] }, - "restore.stream.Output/Audio.application.name:Tor Browser": { "volume": 1.000000, "mute": false, "volumes": [ 0.000000, 0.000000 ], "channels": [ "FL", "FR" ] }, - "restore.stream.Input/Audio.application.name:GNOME Settings": { "volume": 1.000000, "mute": false, "volumes": [ 1.000000 ], "channels": [ "MONO" ] }, - "restore.stream.Output/Audio.application.name:VirtualBoxVM": { "volume": 1.000000, "mute": false, "volumes": [ 1.000000, 1.000000 ], "channels": [ "FL", "FR" ] }, - "restore.stream.Output/Audio.application.name:Chromium": { "volume": 1.000000, "mute": false, "volumes": [ 1.000000, 1.000000 ], "channels": [ "FL", "FR" ] }, - "restore.stream.Output/Audio.application.name:WEBRTC VoiceEngine": { "volume": 1.000000, "mute": false, "volumes": [ 1.000000, 1.000000 ], "channels": [ "FL", "FR" ] } + "restore.stream.Output/Audio.application.name:speech-dispatcher-espeak-ng": { "mute": false, "volumes": [ 1.000000 ], "channels": [ "MONO" ], "target-node": "bluez_output.00_1B_66_BD_13_AA.a2dp-sink" }, + "restore.stream.Output/Audio.application.name:speech-dispatcher-dummy": { "mute": false, "volumes": [ 1.000000 ], "channels": [ "MONO" ], "target-node": "bluez_output.00_1B_66_BD_13_AA.a2dp-sink" }, + "restore.stream.Output/Audio.application.name:Tor Browser": { "mute": false, "volumes": [ 0.000000, 0.000000 ], "channels": [ "FL", "FR" ], "target-node": "bluez_output.00_1B_66_BD_13_AA.a2dp-sink" }, + "restore.stream.Input/Audio.application.name:GNOME Settings": { "volume": 1.000000, "mute": false, "volumes": [ 1.000000, 1.000000 ], "channels": [ "FL", "FR" ] }, + "restore.stream.Output/Audio.application.name:Chromium": { "volume": 1.000000, "mute": false, "volumes": [ 1.000000, 1.000000 ], "channels": [ "FL", "FR" ], "target-node": "bluez_output.00_1B_66_BD_13_AA.a2dp-sink" }, + "restore.stream.Output/Audio.media.role:Test": { "mute": false, "volumes": [ 1.000000 ], "channels": [ "MONO" ], "target-node": "bluez_output.00_1B_66_BD_13_AA.a2dp-sink" } } \ No newline at end of file diff --git a/Emacs.org b/Emacs.org index 175b6f2..a4f2c59 100644 --- a/Emacs.org +++ b/Emacs.org @@ -368,9 +368,9 @@ Deft is a package that helps browse and filter plain text files. I use it to sea * Mu4e Configuration ** Important Account information: *** Opal.sh -- IMAP: imap.opal.sh -- 993 -- SMTP smtp.opal.sh -- 587 -- Username: ry@opal.sh + - IMAP: imap.opal.sh -- 993 + - SMTP smtp.opal.sh -- 587 + - Username: ry@opal.sh #+begin_src emacs-lisp (use-package mu4e @@ -383,7 +383,25 @@ Deft is a package that helps browse and filter plain text files. I use it to sea (setq mu4e-get-mail-command "mbsync -a -c ~/dotfiles/.config/mbsync/mbsyncrc") (setq mu4e-maildir "~/mail") - (setq mu4e-drafts-folder "/") + (setq mu4e-contexts + (list + ;; Opal.shadow + (make-mu4e-context + :name "Opal.sh" + :match-func + (lambda (msg) + (when msg + (string-prefix-p "/opal.sh" (mu4e-message-field msg :maildir)))) - ) + :vars '((user-mail-address . "ry@opal.sh") + (user-full-name . "Opal.sh") + (mu4e-drafts-folder . "/opal.sh/Drafts") + (mu4e-sent-folder . "/opal.sh/Sent") + (mu4e-trash-folder . "/opal.sh/Trash"))))) + + (setq mu4e-maildir-shortcuts + '(("/opal.sh/Inbox" . ?i) + ("/opal.sh/Sent" . ?s) + ("/opal.sh/Trash" . ?t) + ("/opal.sh/Drafts" . ?d)))) #+end_src