diff options
-rw-r--r-- | init.el | 42 |
1 files changed, 35 insertions, 7 deletions
diff --git a/init.el b/init.el index 73a7c5d..7d32117 100644 --- a/init.el +++ b/init.el | |||
@@ -78,9 +78,6 @@ | |||
78 | (global-auto-revert-mode +1)) | 78 | (global-auto-revert-mode +1)) |
79 | 79 | ||
80 | (setup browse-url | 80 | (setup browse-url |
81 | (when (acdw/system :work) | ||
82 | (add-to-list 'exec-path "C:/Program Files/Mozilla Firefox")) | ||
83 | |||
84 | (setq-default browse-url-secondary-browser-function | 81 | (setq-default browse-url-secondary-browser-function |
85 | (if (executable-find "firefox") ; prefer Firefox | 82 | (if (executable-find "firefox") ; prefer Firefox |
86 | 'browse-url-firefox | 83 | 'browse-url-firefox |
@@ -278,7 +275,9 @@ | |||
278 | erc-nick "acdw" | 275 | erc-nick "acdw" |
279 | erc-prompt (lambda () (acdw-erc/prompt)) | 276 | erc-prompt (lambda () (acdw-erc/prompt)) |
280 | erc-prompt-for-password nil ; use ~/.authinfo | 277 | erc-prompt-for-password nil ; use ~/.authinfo |
281 | erc/servers (mapcar #'car erc-autojoin-channels-alist) | 278 | erc/servers |
279 | (when (boundp 'erc-autojoin-channels-alist) | ||
280 | (mapcar #'car erc-autojoin-channels-alist)) | ||
282 | erc-server-coding-system '(utf-8 . utf-8) | 281 | erc-server-coding-system '(utf-8 . utf-8) |
283 | erc-track-exclude-types erc-hide-list | 282 | erc-track-exclude-types erc-hide-list |
284 | erc-track-exclude-server-buffer t | 283 | erc-track-exclude-server-buffer t |
@@ -908,8 +907,32 @@ if ripgrep is installed, otherwise `consult-grep'." | |||
908 | (:needs "mpv") | 907 | (:needs "mpv") |
909 | (:option | 908 | (:option |
910 | eradio-player '("mpv" "--no-video" "--no-terminal") | 909 | eradio-player '("mpv" "--no-video" "--no-terminal") |
911 | eradio-channels '(("tilderadio" . | 910 | eradio-channels `(("KLSU" . |
912 | "https://radio.tildeverse.org/radio/8000/radio.ogg")))) | 911 | "http://130.39.238.143:8010/stream.mp3") |
912 | ("Soma FM Synphaera" . | ||
913 | "https://somafm.com/synphaera256.pls") | ||
914 | ("SomaFM BAGel Radio" . | ||
915 | "https://somafm.com/bagel.pls") | ||
916 | ("SomaFM Boot Liquor" . | ||
917 | "https://somafm.com/bootliquor320.pls") | ||
918 | ("SomaFM Deep Space One" . | ||
919 | "https://somafm.com/deepspaceone.pls") | ||
920 | ("SomaFM Fluid" . | ||
921 | "https://somafm.com/fluid.pls") | ||
922 | ("SomaFM Underground 80s" . | ||
923 | "https://somafm.com/u80s256.pls") | ||
924 | ("WRKF HD-2" . | ||
925 | ,(concat "https://playerservices.streamtheworld.com/" | ||
926 | "api/livestream-redirect/WRKFHD2.mp3")) | ||
927 | ("WRKF" . | ||
928 | ,(concat "https://playerservices.streamtheworld.com/" | ||
929 | "api/livestream-redirect/WRKFFM.mp3")) | ||
930 | ("tilderadio" . | ||
931 | "https://radio.tildeverse.org/radio/8000/radio.ogg"))) | ||
932 | (:global "C-c r r" eradio-play ; mnemonic: radio | ||
933 | "C-c r s" eradio-stop ; mnemonic: stop | ||
934 | "C-c r p" eradio-toggle ; mnemonic: play/pause | ||
935 | )) | ||
913 | 936 | ||
914 | (setup (:straight expand-region) | 937 | (setup (:straight expand-region) |
915 | (:global "C-=" er/expand-region)) | 938 | (:global "C-=" er/expand-region)) |
@@ -1127,7 +1150,8 @@ if ripgrep is installed, otherwise `consult-grep'." | |||
1127 | 1150 | ||
1128 | (setup (:straight sly) | 1151 | (setup (:straight sly) |
1129 | (defvar acdw/lisp-bin (or (executable-find "sbcl") | 1152 | (defvar acdw/lisp-bin (or (executable-find "sbcl") |
1130 | (executable-find "clisp"))) | 1153 | (executable-find "clisp") |
1154 | "")) | ||
1131 | (:needs acdw/lisp-bin) | 1155 | (:needs acdw/lisp-bin) |
1132 | (:option inferior-lisp-program acdw/lisp-bin | 1156 | (:option inferior-lisp-program acdw/lisp-bin |
1133 | sly-kill-without-query-p t) | 1157 | sly-kill-without-query-p t) |
@@ -1267,3 +1291,7 @@ call `zzz-to-char'." | |||
1267 | (pdf-loader-install)) | 1291 | (pdf-loader-install)) |
1268 | 1292 | ||
1269 | (setup (:straight vterm))) | 1293 | (setup (:straight vterm))) |
1294 | |||
1295 | ;;;; Work | ||
1296 | (when (acdw/system :work) | ||
1297 | (setup (:straight ahk-mode))) | ||