summary refs log tree commit diff stats
path: root/init.el
diff options
context:
space:
mode:
Diffstat (limited to 'init.el')
-rw-r--r--init.el21
1 files changed, 4 insertions, 17 deletions
diff --git a/init.el b/init.el index 6aa375a..e5d113b 100644 --- a/init.el +++ b/init.el
@@ -121,22 +121,10 @@
121 #'+browse-url-with-mpv 121 #'+browse-url-with-mpv
122 browse-url-secondary-browser-function) 122 browse-url-secondary-browser-function)
123 args))) 123 args)))
124 (cons (rx ; non-eww-friendly websites 124 (cons (lambda (url) ; non-eww-friendly websites
125 (or 125 (cl-member url +browse-url-secondary-browser-regexps
126 "github.com" 126 :test 'string-match-p))
127 "gitlab.com" 127 #'browse-url-secondary-browser-function)))
128 "google.com"
129 "imgur.com"
130 "pixelfed" "instagram.com" "bibliogram.art"
131 "reddit.com" "teddit.net"
132 "tildes.net"
133 "taskiq"
134 "twitter.com" "nitter.net"
135 "streamable.com"
136 ))
137 browse-url-secondary-browser-function)
138 (cons "." ; everything else
139 #'eww-browse-url)))
140 ;; Transform URLs before passing to `browse-url' 128 ;; Transform URLs before passing to `browse-url'
141 (:option +browse-url-transformations `((,(rx "//" (or "youtube.com" 129 (:option +browse-url-transformations `((,(rx "//" (or "youtube.com"
142 "youtu.be")) 130 "youtu.be"))
@@ -157,7 +145,6 @@
157 (:option calendar-location-name _location-name 145 (:option calendar-location-name _location-name
158 calendar-latitude _location-latitude 146 calendar-latitude _location-latitude
159 calendar-longitude _location-longitude)) 147 calendar-longitude _location-longitude))
160
161(setup compile 148(setup compile
162 (:option compilation-always-kill t 149 (:option compilation-always-kill t
163 compilation-ask-about-save nil 150 compilation-ask-about-save nil