fixed some shit from custom.el

This commit is contained in:
2024-09-27 13:22:30 +03:00
parent a65d2c840f
commit a981b41e36

View File

@@ -175,7 +175,7 @@
(run-with-idle-timer (run-with-idle-timer
(* 1 secs) nil 'org-caldav-sync))) (* 1 secs) nil 'org-caldav-sync)))
;;(setq org-caldav-files '("~/org/studies.org")) (setq org-caldav-files '("~/org/.archive/appointments.org"))
;; Actual calendar configuration edit this to meet your specific needs ;; Actual calendar configuration edit this to meet your specific needs
(setq org-caldav-url "https://cloud.sewelam.org/remote.php/dav/calendars/Aly") (setq org-caldav-url "https://cloud.sewelam.org/remote.php/dav/calendars/Aly")
(setq org-caldav-calendars (setq org-caldav-calendars
@@ -368,14 +368,14 @@
((org-agenda-tag-filter-preset '("-someday"))))))) ((org-agenda-tag-filter-preset '("-someday")))))))
;;Setup prayer times mashallah ;;Setup prayer times mashallah
(use-package! awqat ;; (use-package! awqat
:commands (awqat-display-prayer-time-mode ;; :commands (awqat-display-prayer-time-mode
awqat-times-for-day) ;; awqat-times-for-day)
:config ;; :config
(setq calendar-latitude 30.87605680 ;; (setq calendar-latitude 30.87605680
calendar-longitude 29.74260400 ;; calendar-longitude 29.74260400
awqat-mode-line-format " 🕌 ${prayer} (${hours}h${minutes}m) ")) ;; awqat-mode-line-format " 🕌 ${prayer} (${hours}h${minutes}m) "))
(add-hook 'doom-after-init-hook #'awqat-display-prayer-time-mode) ;; (add-hook 'doom-after-init-hook #'awqat-display-prayer-time-mode)
;; (add-hook 'doom-after-init-hook #'org-alert-enable) ;; (add-hook 'doom-after-init-hook #'org-alert-enable)
(add-hook 'doom-after-init-hook #'org-wild-notifier-mode) (add-hook 'doom-after-init-hook #'org-wild-notifier-mode)
(load-file "~/.config/doom/ox-ipynb.el") (load-file "~/.config/doom/ox-ipynb.el")
@@ -429,5 +429,11 @@ awqat-times-for-day)
(add-hook 'org-pomodoro-started-hook #'disable-dunst-notifs) (add-hook 'org-pomodoro-started-hook #'disable-dunst-notifs)
(add-hook 'org-pomodoro-finished-hook #'enable-dunst-notifs) (add-hook 'org-pomodoro-finished-hook #'enable-dunst-notifs)
(add-hook 'org-pomodoro-killed-hook #'enable-dunst-notifs)
(setq org-pomodoro-play-sounds t)
(setq-default doom-modeline-buffer-file-name-style 'file-name-with-project) (setq-default doom-modeline-buffer-file-name-style 'file-name-with-project)
(setq chezmoi-command "/home/linly/bin/chezmoi")
(setq auto-save-visited-mode t)
(setq alert-default-style 'libnotify)
(setq org-pomodoro-finished-sound "~/Music/yippee.mp3")