aboutsummaryrefslogtreecommitdiff
path: root/bard-emacs-modules/bard-emacs-web.el
diff options
context:
space:
mode:
Diffstat (limited to 'bard-emacs-modules/bard-emacs-web.el')
-rw-r--r--bard-emacs-modules/bard-emacs-web.el37
1 files changed, 0 insertions, 37 deletions
diff --git a/bard-emacs-modules/bard-emacs-web.el b/bard-emacs-modules/bard-emacs-web.el
index 18b6057..a9e1419 100644
--- a/bard-emacs-modules/bard-emacs-web.el
+++ b/bard-emacs-modules/bard-emacs-web.el
@@ -23,7 +23,6 @@
:channels ("#emacs" "##anime" "#gentoo")
:nickserv-password my-nickserv-password))))
-;;; RSS Feeds
(use-package elfeed
:ensure t
:config
@@ -50,21 +49,11 @@
(setq rmh-elfeed-org-files (list "~/Notes/denote/feeds.org"
"~/Notes/denote/youtube.org")))
-;; (use-package elfeed-goodies
-;; :ensure t
-;; :init
-;; (elfeed-goodies/setup)
-;; :config
-;; (setq elfeed-goodies/powerline-default-separator 'box))
-
-;;; Web Browsing (EWW and Firefox/Librewolf)
-
(use-package eww
:defer t
:config
(setq browse-url-handlers
'(("wikipedia\\.org" . eww-browse-url)
- ;; ("github" . browse-url-chromium)
("github" . browse-url-default-browser)
("youtube.com" . browse-url-default-browser)
("reddit.com" . browse-url-default-browser)))
@@ -87,31 +76,5 @@
:bind
("C-c w" . eww))
-;; librewolf open browser
-
-;; TODO fix this to work with librewolf-bin on Gentoo
-(defun browse-url-librewolf (url &optional new-window)
- "Ask the Librewolf WWW browser to load URL.
-Defaults to the URL around or before point. Passes the strings
-in the variable `browse-url-librewolf-arguments' to Librewolf.
-
-Interactively, if the variable `browse-url-new-window-flag' is non-nil,
-loads the document in a new Librewolf window. A non-nil prefix argument
-reverses the effect of `browse-url-new-window-flag'.
-
-If `browse-url-librewolf-new-window-is-tab' is non-nil, then
-whenever a document would otherwise be loaded in a new window, it
-is loaded in a new tab in an existing window instead.
-
-Non-interactively, this uses the optional second argument NEW-WINDOW
-instead of `browse-url-new-window-flag'."
- (interactive (browse-url-interactive-arg "URL: "))
- (setq url (browse-url-encode-url url))
- (let* ((process-environment (browse-url-process-environment)))
- (apply #'start-process
- (concat "librewolf-bin " url) nil
- "librewolf-bin"
- (list url))))
-
(provide 'bard-emacs-web)
;;; bard-emacs-web.el ends here