Move ~/temp to ~/Downloads.

master
Pierre Neidhardt 2019-11-28 12:14:24 +01:00
parent a669f6b2cb
commit 00c01f1e17
8 changed files with 10 additions and 12 deletions

View File

@ -147,8 +147,7 @@ Videos are downloaded with `+youtube-dl-command+'."
("wk" . "http://en.wiktionary.org/wiki/Special:Search?search=~a") ("wk" . "http://en.wiktionary.org/wiki/Special:Search?search=~a")
("wa" . "http://www.winehq.org/search/?q=~a") ("wa" . "http://www.winehq.org/search/?q=~a")
("yt" . "https://www.youtube.com/results?search_query=~a")) ("yt" . "https://www.youtube.com/results?search_query=~a"))
(get-default 'remote-interface 'search-engines))) (get-default 'remote-interface 'search-engines)))))
(download-directory :initform "~/temp")))
(setf *remote-interface-class* 'my-remote-interface) (setf *remote-interface-class* 'my-remote-interface)

View File

@ -12,13 +12,13 @@
"blocklist-url": "http://www.example.com/blocklist", "blocklist-url": "http://www.example.com/blocklist",
"cache-size-mb": 4, "cache-size-mb": 4,
"dht-enabled": true, "dht-enabled": true,
"download-dir": "/home/ambrevar/temp", "download-dir": "/home/ambrevar/Downloads",
"download-queue-enabled": true, "download-queue-enabled": true,
"download-queue-size": 5, "download-queue-size": 5,
"encryption": 1, "encryption": 1,
"idle-seeding-limit": 30, "idle-seeding-limit": 30,
"idle-seeding-limit-enabled": false, "idle-seeding-limit-enabled": false,
"incomplete-dir": "/home/ambrevar/temp", "incomplete-dir": "/home/ambrevar/Downloads",
"incomplete-dir-enabled": false, "incomplete-dir-enabled": false,
"lpd-enabled": false, "lpd-enabled": false,
"message-level": 2, "message-level": 2,
@ -65,6 +65,6 @@
"umask": 18, "umask": 18,
"upload-slots-per-torrent": 14, "upload-slots-per-torrent": 14,
"utp-enabled": true, "utp-enabled": true,
"watch-dir": "/home/ambrevar/temp", "watch-dir": "/home/ambrevar/Downloads",
"watch-dir-enabled": true "watch-dir-enabled": true
} }

View File

@ -381,7 +381,7 @@
(add-hook 'nxml-mode-hook 'ambrevar/turn-on-tab-width-to-4) (add-hook 'nxml-mode-hook 'ambrevar/turn-on-tab-width-to-4)
(with-eval-after-load 'youtube-dl (with-eval-after-load 'youtube-dl
(setq youtube-dl-directory "~/temp")) (setq youtube-dl-directory "~/Downloads"))
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
;;; Finalization ;;; Finalization

View File

@ -229,7 +229,7 @@ If URL is nil, use URL at point."
(let ((eshell-buffer-name "*youtube-dl*") (let ((eshell-buffer-name "*youtube-dl*")
(directory (seq-find (lambda (dir) (directory (seq-find (lambda (dir)
(and (file-directory-p dir) (expand-file-name dir))) (and (file-directory-p dir) (expand-file-name dir)))
'("~/temp" "~/Videos" "~/Downloads") '("~/Videos" "~/Downloads")
"."))) ".")))
(eshell) (eshell)
(when (eshell-interactive-process) (when (eshell-interactive-process)

View File

@ -15,8 +15,7 @@
(require 'helm-eww nil t) (require 'helm-eww nil t)
(setq eww-bookmarks-directory "~/personal/bookmarks" (setq eww-bookmarks-directory "~/personal/bookmarks")
eww-download-directory "~/temp")
;; (add-to-list 'auto-mode-alist '("eww-bookmarks$" . emacs-lisp-mode)) ;; (add-to-list 'auto-mode-alist '("eww-bookmarks$" . emacs-lisp-mode))
(defvar ambrevar/eww-bookmarks-file (expand-file-name "eww-bookmarks.gpg" (defvar ambrevar/eww-bookmarks-file (expand-file-name "eww-bookmarks.gpg"

View File

@ -168,7 +168,7 @@
;; Run command asynchronously so that Emacs does not wait in the background. ;; Run command asynchronously so that Emacs does not wait in the background.
(start-process-shell-command "lock" nil desktop-environment-screenlock-command)) (start-process-shell-command "lock" nil desktop-environment-screenlock-command))
(advice-add #'desktop-environment-lock-screen :override #'ambrevar/desktop-environment-lock-screen) (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) (define-key desktop-environment-mode-map (kbd "s-z") #'desktop-environment-lock-screen)
;; Re-set s-l to navigate windows. ;; Re-set s-l to navigate windows.
(define-key desktop-environment-mode-map (kbd "s-l") #'windmove-right) (define-key desktop-environment-mode-map (kbd "s-l") #'windmove-right)

View File

@ -5,7 +5,7 @@
(require 'init-smtpmail) (require 'init-smtpmail)
(setq user-full-name "Pierre Neidhardt" (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.) ;; Don't keep sent e-mail buffer. (Also see mu4e-conversation-kill-buffer-on-exit.)
message-kill-buffer-on-exit t message-kill-buffer-on-exit t
message-send-mail-function 'smtpmail-send-it message-send-mail-function 'smtpmail-send-it

View File

@ -22,7 +22,7 @@ Default to unread messages if the header buffer does not already exist."
(setq (setq
;; Attachments ;; Attachments
mu4e-attachment-dir "~/temp" mu4e-attachment-dir "~/Downloads"
mu4e-save-multiple-attachments-without-asking t mu4e-save-multiple-attachments-without-asking t
;; IMAP sync. ;; IMAP sync.