aboutsummaryrefslogtreecommitdiff
path: root/config
diff options
context:
space:
mode:
authorPreston Pan <preston@nullring.xyz>2023-06-24 14:30:02 +0800
committerPreston Pan <preston@nullring.xyz>2023-06-24 14:30:02 +0800
commit5362e381bcf1b1fe212ff3d550f61c9d55cd18e6 (patch)
tree6c3ffaf31f19366ebd900fcf874edbb263e7495a /config
parente9a6b2006f08c3a48ab4e64d6c84a4ff4e62d411 (diff)
Changed configs; add journal post
Diffstat (limited to 'config')
-rw-r--r--config/doom.org16
-rw-r--r--config/qutebrowser.org10
2 files changed, 16 insertions, 10 deletions
diff --git a/config/doom.org b/config/doom.org
index 124dfb9..50e6dd0 100644
--- a/config/doom.org
+++ b/config/doom.org
@@ -69,6 +69,9 @@ Now, we set our keybindings:
([?\s-w] . (lambda ()
(interactive)
(start-process "" nil "qutebrowser")))
+ ([?\s-n] . (lambda ()
+ (interactive)
+ (start-process "" nil "nyxt")))
([?\s-k] . (lambda ()
(interactive)
(start-process "" nil "krita")))
@@ -124,8 +127,8 @@ Now we configure fonts:
** Color Scheme
I'm using the catppuccin theme, which is available on github.
#+begin_src emacs-lisp :tangle yes
-(setq doom-theme 'catppuccin)
-(setq catppuccin-flavor 'mocha)
+(setq doom-theme 'doom-rouge)
+;; (setq catppuccin-flavor 'mocha)
#+end_src
** Doom Module and Programs Configuration
*** Agenda
@@ -310,6 +313,11 @@ loopbacks in gpg-agent.conf.
(rainbow-mode 1))))
(global-rainbow-mode 1)
#+end_src
+*** Automatically tangle
+#+begin_src emacs-lisp :tangle yes
+(use-package! org-auto-tangle
+ :hook (org-mode . org-auto-tangle-mode))
+#+end_src
* packages.el Configuration
These are some external packages that I use that are not provided by doom modules.
#+begin_src emacs-lisp :tangle packages.el
@@ -320,7 +328,9 @@ These are some external packages that I use that are not provided by doom module
(package! nasm-mode)
(package! org-contrib)
(package! exwm)
+(package! org-auto-tangle)
(package! rainbow-mode)
+(package! ednc)
#+end_src
* init.el Configuration
@@ -355,7 +365,7 @@ This installs all the doom modules that we are going to be configuring:
;;neotree ; a project drawer, like NERDTree for vim
ophints
(popup +defaults)
- tabs
+ ;; tabs
treemacs
unicode
(vc-gutter +pretty)
diff --git a/config/qutebrowser.org b/config/qutebrowser.org
index 7490371..0763f68 100644
--- a/config/qutebrowser.org
+++ b/config/qutebrowser.org
@@ -2,7 +2,7 @@
#+author: Preston Pan
#+date: <2023-06-09 Fri>
#+description: a catppuccin configuration for qutebrowser.
-
+#+auto_tangle: t
#+html_head: <link rel="stylesheet" type="text/css" href="../style.css" />
* Configuration
@@ -65,8 +65,8 @@ c.url.searchengines = {
** Start Page
Set the default start page to my own website.
#+begin_src python :tangle config.py
-c.url.start_pages = ["https://preston.nullring.xyz"]
-c.url.default_page = "https://preston.nullring.xyz"
+c.url.start_pages = ["file:///home/preston/website_html/index.html"]
+c.url.default_page = "file:///home/preston/website_html/index.html"
#+end_src
** Keybindings
Now we define our keybindings for useful programs while browsing:
@@ -92,10 +92,6 @@ Doing mundane things like setting the downloads directory to not use an upper ca
#+begin_src python :tangle config.py
c.downloads.location.directory = "~/downloads"
#+end_src
-We also want to do this for the purpose of EXWM:
-#+begin_src python :tangle config.py
-c.tabs.tabs_are_windows = True
-#+end_src
** End of Config
#+begin_src python :tangle config.py
config.load_autoconfig()