diff --git a/emacs/.emacs.d/init.el b/emacs/.emacs.d/init.el index 192c697..8ee0600 100644 --- a/emacs/.emacs.d/init.el +++ b/emacs/.emacs.d/init.el @@ -42,14 +42,19 @@ (scroll-bar-mode -1) (setq-default cursor-type 'bar) +;; Dired +(add-hook 'dired-mode-hook 'dired-hide-details-mode) +(setq dired-kill-when-opening-new-dired-buffer t) + ;; Org mode (global-set-key (kbd "C-c a") #'org-agenda) (global-set-key (kbd "C-c c") #'org-capture) (global-set-key (kbd "C-c l") #'org-store-link) (setq org-agenda-files '("/media/Data/Dokumen/Agenda/") org-capture-templates '(("c" "Catatan singkat" entry (file+datetree "Catatan/catatan_singkat.org") "* %?\nCREATED: %U" :empty-lines-before 1) + ("p" "Proyek" entry (file "Agenda/proyek.org") "* %?\nCREATED: %U" :empty-lines-before 1) ("t" "Tugas" entry (file+datetree "Agenda/tugas.org") "* TODO %?\nCREATED: %U" :empty-lines-before 1) - ("p" "Proyek" entry (file "Agenda/proyek.org") "* %?\nCREATED: %U" :empty-lines-before 1)) + ("T" "Tugas berulang" entry (file+datetree "Agenda/tugas_berulang.org") "* TODO %?\nCREATED: %U\nSCHEDULED: %(org-insert-time-stamp nil nil nil nil nil \" +1m\")" :empty-lines-before 1)) org-agenda-custom-commands '(("i" "Ikhtisar hari ini" ((todo "DOING" ((org-agenda-overriding-header "Tugas yang sedang dikerjakan:") (org-agenda-prefix-format ""))) (todo "NEXT" ((org-agenda-overriding-header "Tugas selanjutnya:") @@ -70,8 +75,10 @@ (org-agenda-prefix-format "%?-12t% s")))))) org-agenda-time-grid '((daily today require-timed) (430 915 1200 1515 1800 1900 2045) " ┄┄┄┄┄ " "┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄") org-directory "/media/Data/Dokumen/" + org-format-latex-options '(plist-put org-format-latex-options :scale 1.5) org-hide-emphasis-markers t org-id-get-create t + org-id-link-to-org-use-id t org-image-actual-width '(300) org-log-done 'time org-pretty-entities t @@ -92,6 +99,12 @@ (use-package all-the-icons-dired :hook (dired-mode . all-the-icons-dired-mode)) +(use-package auctex + :config + (setq TeX-auto-save t) + (setq TeX-parse-self t) + (setq-default TeX-master nil)) + (use-package citar :custom (org-cite-global-bibliography '("/media/Data/Dokumen/Referensi/referensi.bib")) @@ -231,8 +244,8 @@ dashboard-center-content t dashboard-footer-messages '("") dashboard-items '((recents . 5) - (bookmarks . 5) - (projects . 5)) + (bookmarks . 10) + (projects . 10)) dashboard-show-shortcuts nil dashboard-startup-banner nil dashboard-vertically-center-content t @@ -282,10 +295,12 @@ (use-package org-pomodoro :bind (("C-c C-x C-" . org-pomodoro)) :commands (org-pomodoro) - :config (setq org-pomodoro-length 45 - org-pomodoro-long-break-length 15 - org-pomodoro-manual-break t - org-pomodoro-short-break-length 15)) + :config + (setq alert-user-configuration (quote ((((:category . "org-pomodoro")) libnotify))) + org-pomodoro-length 45 + org-pomodoro-long-break-length 15 + org-pomodoro-manual-break t + org-pomodoro-short-break-length 15)) (use-package org-roam :custom @@ -316,3 +331,16 @@ (use-package which-key :init (which-key-mode)) +(custom-set-variables + ;; custom-set-variables was added by Custom. + ;; If you edit it by hand, you could mess it up, so be careful. + ;; Your init file should contain only one such instance. + ;; If there is more than one, they won't work right. + '(package-selected-packages + '(company-auctex auctex which-key vertico org-roam-ui org-pomodoro org-fragtog org-appear orderless modus-themes marginalia magit ivy hide-mode-line embark-consult emacsql-sqlite-builtin doom-modeline dashboard consult-projectile company-web company-go company-box citar-org-roam citar-embark bind-key all-the-icons-dired))) +(custom-set-faces + ;; custom-set-faces was added by Custom. + ;; If you edit it by hand, you could mess it up, so be careful. + ;; Your init file should contain only one such instance. + ;; If there is more than one, they won't work right. + ) diff --git a/yt-dlp/.config/yt-dlp/config b/yt-dlp/.config/yt-dlp/config index 6f2d6fa..7af336b 100755 --- a/yt-dlp/.config/yt-dlp/config +++ b/yt-dlp/.config/yt-dlp/config @@ -10,4 +10,5 @@ --embed-subs --embed-metadata --embed-chapters ---embed-info-json \ No newline at end of file +--embed-info-json +--extractor-arg "youtube:player_client=mediaconnect"