we do a little changes

This commit is contained in:
2024-04-14 12:41:23 +02:00
parent e4ba5ed546
commit 2f49c815b8
4 changed files with 45 additions and 9 deletions

View File

@@ -195,8 +195,8 @@
;; :inbox "~/org/studies.org"
)
;; (:calendar-id "some-day-1"
;; :files: ("~/org/someday.org")
;; :inbox "~/org/someday.org")
;; :files: ("~/org/.archive/someday.org")
;; :inbox "~/org/.archive/someday.org")
))
(setq org-caldav-backup-file "~/org-caldav/org-caldav-backup.org")
(setq org-caldav-save-directory "~/org-caldav/")
@@ -253,11 +253,11 @@
(add-to-list 'org-capture-templates
'("i" "Content idea" entry
(file+headline "~/org/work.org" "Ideas")
"* TODO %?\n %i :idea:" :empty-lines 1))
"* TODO %? :idea:\n %i" :empty-lines 1))
(add-to-list 'org-capture-templates
'("l" "Someday" entry
(file+headline "~/org/someday.org" "Inbox")
"* TODO %? :someday:\n %i " :empty-lines 1))
(file+headline "~/org/.archive/someday.org" "Inbox")
"* TODO %? \n %i " :empty-lines 1))
(add-to-list 'org-capture-templates
'("s" "Studies" entry
(file+headline "~/org/studies.org" "Inbox")
@@ -272,7 +272,32 @@
(file+headline "~/org/home.org" "Inbox")
"* TODO [#A] %?\n %i" :empty-lines 1))
(setq-default org-archive-location "~/org/.archive/%s_archive::* Finished Tasks")
)
;; Import ox-latex to get org-latex-classes and other funcitonality
;; for exporting to LaTeX from org
(use-package! ox-latex
:init
;; code here will run immediately
:config
;; code here will run after the package is loaded
(setq org-latex-pdf-process
'("pdflatex -interaction nonstopmode -output-directory %o %f"
"bibtex %b"
"pdflatex -interaction nonstopmode -output-directory %o %f"
"pdflatex -interaction nonstopmode -output-directory %o %f"))
(setq org-latex-with-hyperref nil) ;; stop org adding hypersetup{author..} to latex export
;; (setq org-latex-prefer-user-labels t)
;; deleted unwanted file extensions after latexMK
(setq org-latex-logfiles-extensions
(quote ("lof" "lot" "tex~" "aux" "idx" "log" "out" "toc" "nav" "snm" "vrb" "dvi" "fdb_latexmk" "blg" "brf" "fls" "entoc" "ps" "spl" "bbl" "xmpi" "run.xml" "bcf" "acn" "acr" "alg" "glg" "gls" "ist")))
(unless (boundp 'org-latex-classes)
(setq org-latex-classes nil))
(use-package! ox-extra
:config
(ox-extras-activate '(latex-header-blocks ignore-headlines)))
))
(setq-default cache-long-scans nil)
;; zsh pls
@@ -375,3 +400,11 @@ awqat-times-for-day)
(mu4e-compose-signature . "---\nLIN LEE"))
t)
(setq-default mu4e-update-interval 300)
;; Telega and ranger
(map! :leader
:nv "o g" #'telega
)
(map! :leader
:nv "o r" #'ranger
)

View File

@@ -55,6 +55,7 @@
(package! awqat
:recipe (:host github
:repo "zkry/awqat"))
(package! org-contrib)
;; Doom's packages are pinned to a specific commit and updated from release to
;; release. The `unpin!' macro allows you to unpin single packages...
;(unpin! pinned-package)

View File

@@ -218,7 +218,7 @@ bindsym $mod+semicolon mode "switch"
#gaps
for_window [class="^.*"] border pixel 1
for_window [class="^.*"] border pixel 2.5
#gaps inner 1
#gaps outer 1

View File

@@ -40,9 +40,11 @@ exec ~/scripts/mouse.sh -0.5 1
# move focused workspace between monitors
bindsym $mod+Ctrl+Right layout toggle split, move workspace to output right
bindsym $mod+Ctrl+l layout toggle split, move workspace to output right
# bindsym $mod+Ctrl+l layout toggle split, move workspace to output right
bindsym $mod+Ctrl+l move workspace to output right
bindsym $mod+Ctrl+Left layout toggle split, move workspace to output left
bindsym $mod+Ctrl+h layout toggle split, move workspace to output left
# bindsym $mod+Ctrl+h layout toggle split, move workspace to output left
bindsym $mod+Ctrl+h move workspace to output left
# Compose key
exec_always setxkbmap -layout us,ar -variant ,ergoarabic -option "compose:ralt" -option "caps:escape" -option "grp:alt_shift_toggle"