Configure Eradio and Agenda-Notifications

This commit is contained in:
Emma Nora Theuer 2024-09-07 15:12:51 +02:00
parent b607fb2e5e
commit 8dbb40a23e

View file

@ -42,6 +42,10 @@
;; change `org-directory'. It must be set before org loads!
(setq org-directory "~/org/")
(after! org
(org-wild-notifier-mode)
(setq alert-default-style 'libnotify
org-wild-notifier-alert-time '(0)
)
(setq org-agenda-files '("~/org/agenda.org")))
(setq
@ -113,3 +117,19 @@
(setq ranger-override-dired t) ;; Use ranger instead of dired
(setq ranger-max-preview-size 10) ;; Max size for file previews in MB
)
;; I hardly use this nowadays but it's still good to have around
(use-package eradio
:init
(setq eradio-player '("mpv" "--no-video" "--no-terminal"))
:config
(setq eradio-channels '(
("R/a/dio" . "https://relay0.r-a-d.io/main.mp3")
)
)
)
;; This defines Keybinds for eradio
(map! :leader (:prefix ("r" . "eradio") :desc "Play a radio channel" "p" 'eradio-play))
(map! :leader (:prefix ("r" . "eradio") :desc "Stop the radio player" "s" 'eradio-stop))
(map! :leader (:prefix ("r" . "eradio") :desc "Toggle the radio player" "t" 'eradio-toggle))