Merge remote-tracking branch 'origin/master'
This commit is contained in:
@@ -28,6 +28,13 @@ Follow guide [here](https://wiki.archlinux.org/title/Xorg/Keyboard_configuration
|
||||
sudo localectl set-x11-keymap de
|
||||
```
|
||||
|
||||
## NTP
|
||||
``` bash
|
||||
sudo systemctl enable systemd-timesyncd
|
||||
```
|
||||
|
||||
`
|
||||
|
||||
## Doom Emacs
|
||||
1. emacs and optional dependencies should be included in `pkglist.txt`
|
||||
2. [install](https://github.com/doomemacs/doomemacs/tree/master#install) [Doom Emacs](https://github.com/doomemacs/doomemacs)
|
||||
@@ -35,4 +42,4 @@ sudo localectl set-x11-keymap de
|
||||
git clone --depth 1 https://github.com/doomemacs/doomemacs ~/.config/emacs
|
||||
~/.config/emacs/bin/doom install
|
||||
```
|
||||
3. activate `literate` in `init.el` to be able to use the `config.org` file
|
||||
3. activate `literate` in `init.el` to be able to use the `config.org` file
|
||||
|
||||
@@ -27,8 +27,8 @@
|
||||
- [[#add-auto-compile-hook-for-tex-mode][Add auto-compile hook for TeX mode]]
|
||||
- [[#org-mode][Org Mode]]
|
||||
- [[#default-location][Default Location]]
|
||||
- [[#enable-header-numbering][Enable Header Numbering]]
|
||||
- [[#setup][Setup]]
|
||||
- [[#visual][Visual]]
|
||||
- [[#org-agenda-setup][Org Agenda Setup]]
|
||||
- [[#caldav-sync][CalDAV Sync]]
|
||||
- [[#org-roam][Org Roam]]
|
||||
|
||||
@@ -442,12 +442,19 @@ This function could also become useful if we ever want to extend the compile com
|
||||
#+begin_src emacs-lisp :tangle config.el
|
||||
(setq org-directory "~/org/")
|
||||
#+end_src
|
||||
** Enable Header Numbering
|
||||
** Visual
|
||||
*** Enable Header Numbering
|
||||
#+begin_src emacs-lisp :tangle config.el
|
||||
(setq org-startup-numerated t)
|
||||
#+end_src
|
||||
*** Image Display as Default
|
||||
[[https://emacs.stackexchange.com/questions/57603/how-to-always-display-inline-images-by-default-existing-solutions-dont-seem-to#comment89772_57607][this stackexchange comment]] states that this has to be done before the [[Add "~/org" to Agenda][adding the ~/org directory to Org Agenda]]
|
||||
#+begin_src emacs-lisp :tangle config.el
|
||||
(after! org
|
||||
(setq org-startup-with-inline-images t))
|
||||
#+end_src
|
||||
|
||||
** ToDo Setup
|
||||
** Org Agenda Setup
|
||||
*** Progress States
|
||||
To get a more nuanced overview of my current TODOs I add more progress states.
|
||||
| | TODO | BLOCKED | IN_PROGRESS | REVIEW | TESTING | | DONE | DELEGATED | CANCELED |
|
||||
@@ -499,3 +506,17 @@ Both the org files themselves and the database should be located in the same dir
|
||||
(setq org-roam-db-location "~/org/org-roam/org-roam.db")
|
||||
(org-roam-db-autosync-mode))
|
||||
#+end_src
|
||||
*** Note Templates
|
||||
#+begin_src emacs-lisp :tangle config.el
|
||||
(after! org-roam
|
||||
(setq org-roam-capture-templates
|
||||
'(("d" "default" plain
|
||||
"%?"
|
||||
:if-new (file+head "%<%Y%m%d%H%M%S>-${slug}.org" "#+title: ${title}\n")
|
||||
:unnarrowed t)
|
||||
("b" "Besprechung Templates")
|
||||
("bm" "Besprechung Masterarbeit" plain
|
||||
"* Aktueller Stand\n\n* Offene Fragen\n\n* TODOs\n"
|
||||
:if-new (file+head "%<%Y%m%d%H%M%S>-${slug}.org" "#+title: Masterarbeitsbesprechung ${title}\n")
|
||||
:unnarrowed t))))
|
||||
#+end_src
|
||||
|
||||
@@ -115,7 +115,7 @@ groups.append(
|
||||
match = Match(wm_class='telegram-desktop')
|
||||
),
|
||||
DropDown(
|
||||
'Org Agenda (Calendar)',
|
||||
'Org Agenda',
|
||||
'emacsclient -c -e \'(org-agenda-list)\'',
|
||||
height = 0.5,
|
||||
width = 0.8,
|
||||
@@ -161,6 +161,6 @@ keys.extend([
|
||||
desc="open the dropdown for Qalculate!"),
|
||||
Key(['mod1','control'],'d',lazy.group['scratchpad'].dropdown_toggle('Deepl'),
|
||||
desc="open the dropdown for Deepl"),
|
||||
Key(['mod1','control'],'k',lazy.group['scratchpad'].dropdown_toggle('Org Agenda (Calendar)'),
|
||||
desc="open the dropdown for my Org Agenda")
|
||||
Key(['mod1','control'],'k',lazy.group['scratchpad'].dropdown_toggle('Org Agenda'),
|
||||
desc="open the dropdown for Org Agenda")
|
||||
])
|
||||
|
||||
@@ -43,6 +43,7 @@ keys = [
|
||||
Key([mod],"c", lazy.spawn("code"),desc="Launch visual studio code"),
|
||||
Key([mod],"v", lazy.spawn(term + " -e nvim"),desc="Launch NeoVim"),
|
||||
Key([mod, "shift"],"s", lazy.spawn('gscreenshot -s -o -f /tmp/screenshots'),desc="take a screenshot"),
|
||||
Key([mod], "m", lazy.spawn('emacsclient -nc'), desc="Launch Emacs (Client)"),
|
||||
|
||||
# Toggle between different layouts as defined below
|
||||
Key([mod], "Tab", lazy.next_layout(), desc="Toggle between layouts"),
|
||||
|
||||
Reference in New Issue
Block a user