From 00c01f1e17818d57e239f81d830a5ef3993d0beb Mon Sep 17 00:00:00 2001 From: Pierre Neidhardt Date: Thu, 28 Nov 2019 12:14:24 +0100 Subject: [PATCH] Move ~/temp to ~/Downloads. --- .config/next/init.lisp | 3 +-- .config/transmission-daemon/settings.json | 6 +++--- .emacs.d/init.el | 2 +- .emacs.d/lisp/functions.el | 2 +- .emacs.d/lisp/init-eww.el | 3 +-- .emacs.d/lisp/init-exwm.el | 2 +- .emacs.d/lisp/init-message.el | 2 +- .emacs.d/lisp/init-mu4e.el | 2 +- 8 files changed, 10 insertions(+), 12 deletions(-) diff --git a/.config/next/init.lisp b/.config/next/init.lisp index 1b72bb5c..5c6b9807 100644 --- a/.config/next/init.lisp +++ b/.config/next/init.lisp @@ -147,8 +147,7 @@ Videos are downloaded with `+youtube-dl-command+'." ("wk" . "http://en.wiktionary.org/wiki/Special:Search?search=~a") ("wa" . "http://www.winehq.org/search/?q=~a") ("yt" . "https://www.youtube.com/results?search_query=~a")) - (get-default 'remote-interface 'search-engines))) - (download-directory :initform "~/temp"))) + (get-default 'remote-interface 'search-engines))))) (setf *remote-interface-class* 'my-remote-interface) diff --git a/.config/transmission-daemon/settings.json b/.config/transmission-daemon/settings.json index 47d75e0c..3f0a192a 100644 --- a/.config/transmission-daemon/settings.json +++ b/.config/transmission-daemon/settings.json @@ -12,13 +12,13 @@ "blocklist-url": "http://www.example.com/blocklist", "cache-size-mb": 4, "dht-enabled": true, - "download-dir": "/home/ambrevar/temp", + "download-dir": "/home/ambrevar/Downloads", "download-queue-enabled": true, "download-queue-size": 5, "encryption": 1, "idle-seeding-limit": 30, "idle-seeding-limit-enabled": false, - "incomplete-dir": "/home/ambrevar/temp", + "incomplete-dir": "/home/ambrevar/Downloads", "incomplete-dir-enabled": false, "lpd-enabled": false, "message-level": 2, @@ -65,6 +65,6 @@ "umask": 18, "upload-slots-per-torrent": 14, "utp-enabled": true, - "watch-dir": "/home/ambrevar/temp", + "watch-dir": "/home/ambrevar/Downloads", "watch-dir-enabled": true } diff --git a/.emacs.d/init.el b/.emacs.d/init.el index f79fa3c1..b30ae325 100644 --- a/.emacs.d/init.el +++ b/.emacs.d/init.el @@ -381,7 +381,7 @@ (add-hook 'nxml-mode-hook 'ambrevar/turn-on-tab-width-to-4) (with-eval-after-load 'youtube-dl - (setq youtube-dl-directory "~/temp")) + (setq youtube-dl-directory "~/Downloads")) ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; ;;; Finalization diff --git a/.emacs.d/lisp/functions.el b/.emacs.d/lisp/functions.el index 5086df8a..211c75c7 100644 --- a/.emacs.d/lisp/functions.el +++ b/.emacs.d/lisp/functions.el @@ -229,7 +229,7 @@ If URL is nil, use URL at point." (let ((eshell-buffer-name "*youtube-dl*") (directory (seq-find (lambda (dir) (and (file-directory-p dir) (expand-file-name dir))) - '("~/temp" "~/Videos" "~/Downloads") + '("~/Videos" "~/Downloads") "."))) (eshell) (when (eshell-interactive-process) diff --git a/.emacs.d/lisp/init-eww.el b/.emacs.d/lisp/init-eww.el index e2af6101..25fa4b8d 100644 --- a/.emacs.d/lisp/init-eww.el +++ b/.emacs.d/lisp/init-eww.el @@ -15,8 +15,7 @@ (require 'helm-eww nil t) -(setq eww-bookmarks-directory "~/personal/bookmarks" - eww-download-directory "~/temp") +(setq eww-bookmarks-directory "~/personal/bookmarks") ;; (add-to-list 'auto-mode-alist '("eww-bookmarks$" . emacs-lisp-mode)) (defvar ambrevar/eww-bookmarks-file (expand-file-name "eww-bookmarks.gpg" diff --git a/.emacs.d/lisp/init-exwm.el b/.emacs.d/lisp/init-exwm.el index 20ea6427..be21f818 100644 --- a/.emacs.d/lisp/init-exwm.el +++ b/.emacs.d/lisp/init-exwm.el @@ -168,7 +168,7 @@ ;; Run command asynchronously so that Emacs does not wait in the background. (start-process-shell-command "lock" nil desktop-environment-screenlock-command)) (advice-add #'desktop-environment-lock-screen :override #'ambrevar/desktop-environment-lock-screen) - (setq desktop-environment-screenshot-directory "~/temp") + (setq desktop-environment-screenshot-directory "~/Downloads") (define-key desktop-environment-mode-map (kbd "s-z") #'desktop-environment-lock-screen) ;; Re-set s-l to navigate windows. (define-key desktop-environment-mode-map (kbd "s-l") #'windmove-right) diff --git a/.emacs.d/lisp/init-message.el b/.emacs.d/lisp/init-message.el index 0e13cd68..134e0f42 100644 --- a/.emacs.d/lisp/init-message.el +++ b/.emacs.d/lisp/init-message.el @@ -5,7 +5,7 @@ (require 'init-smtpmail) (setq user-full-name "Pierre Neidhardt" - mm-default-directory "~/temp" ; Where to save attachments. + mm-default-directory "~/Downloads" ; Where to save attachments. ;; Don't keep sent e-mail buffer. (Also see mu4e-conversation-kill-buffer-on-exit.) message-kill-buffer-on-exit t message-send-mail-function 'smtpmail-send-it diff --git a/.emacs.d/lisp/init-mu4e.el b/.emacs.d/lisp/init-mu4e.el index 39ad8b81..7d8a42ec 100644 --- a/.emacs.d/lisp/init-mu4e.el +++ b/.emacs.d/lisp/init-mu4e.el @@ -22,7 +22,7 @@ Default to unread messages if the header buffer does not already exist." (setq ;; Attachments - mu4e-attachment-dir "~/temp" + mu4e-attachment-dir "~/Downloads" mu4e-save-multiple-attachments-without-asking t ;; IMAP sync.