diff --git a/.config/awesome/rc.lua b/.config/awesome/rc.lua index a5f6232..ffca419 100644 --- a/.config/awesome/rc.lua +++ b/.config/awesome/rc.lua @@ -712,6 +712,8 @@ awful.rules.rules = { { rule = { class = "Xfce4-settings-manager" }, properties = { floating = false } }, + { rule = { instance = "qutebrowser" }, + properties = { screen = 1, tag = " SYS " } }, -- Floating clients. diff --git a/.doom.d/config.el b/.doom.d/config.el index feb70f4..4e32fac 100644 --- a/.doom.d/config.el +++ b/.doom.d/config.el @@ -22,6 +22,9 @@ org-default-notes-file (expand-file-name "notes.org" org-directory) org-ellipsis " ▼ " org-log-done 'time + org-journal-dir "~/Org/journal/" + org-journal-date-format "%B %d, %Y (%A)" + org-journal-file-format "%Y-%m-%d.org" ;; ex. of org-link-abbrev-alist in action ;; [[arch-wiki:Name_of_Page][Description]] org-link-abbrev-alist @@ -69,12 +72,6 @@ :desc "Previous tab" "t p" #'centaur-tabs-backward) -(after! neotree - (setq neo-smart-open t - neo-window-fixed-size nil)) -(after! doom-themes - (setq doom-neotree-enable-variable-pitch t)) - (require 'ox-groff) (map! :leader @@ -113,6 +110,17 @@ (kbd "k") 'peep-dired-prev-file) (add-hook 'peep-dired-hook 'evil-normalize-keymaps) +(after! neotree + (setq neo-smart-open t + neo-window-fixed-size nil)) +(after! doom-themes + (setq doom-neotree-enable-variable-pitch t)) + +(require 'sublimity-scroll) +(require 'sublimity-map) +;; (require 'sublimity-attractive) +(sublimity-mode 0) + (setq browse-url-browser-function 'eww-browse-url) (use-package emms diff --git a/.doom.d/config.org b/.doom.d/config.org index 9257d2f..4a31d35 100644 --- a/.doom.d/config.org +++ b/.doom.d/config.org @@ -40,7 +40,7 @@ I have toggled display-line-numbers-type so I have line numbers displayed. I al #+END_SRC * ORG MODE -Note that I wrapped most of this in (after! org). Without this, my settings might be evaluated too early, which will result in my settings being overwritten by Doom's defaults. +Note that I wrapped most of this in (after! org). Without this, my settings might be evaluated too early, which will result in my settings being overwritten by Doom's defaults. I have also enabled org-journal by adding (+journal) to the org section of Doom Emacs' init.el. #+BEGIN_SRC emacs-lisp (after! org @@ -49,6 +49,9 @@ Note that I wrapped most of this in (after! org). Without this, my settings migh org-default-notes-file (expand-file-name "notes.org" org-directory) org-ellipsis " ▼ " org-log-done 'time + org-journal-dir "~/Org/journal/" + org-journal-date-format "%B %d, %Y (%A)" + org-journal-file-format "%Y-%m-%d.org" ;; ex. of org-link-abbrev-alist in action ;; [[arch-wiki:Name_of_Page][Description]] org-link-abbrev-alist @@ -124,17 +127,6 @@ To use tabs in Doom Emacs, be sure to uncomment "tabs" in Doom's init.el. Displ "t p" #'centaur-tabs-backward) #+END_SRC -* NEOTREE -When you open neotree, it jumps to the current file thanks to neo-smart-open. The neo-window-fixed-size setting makes the neotree width be adjustable. - -#+BEGIN_SRC emacs-lisp -(after! neotree - (setq neo-smart-open t - neo-window-fixed-size nil)) -(after! doom-themes - (setq doom-neotree-enable-variable-pitch t)) -#+END_SRC - * MANPAGES #+BEGIN_SRC emacs-lisp @@ -205,6 +197,27 @@ Image previews in dired (add-hook 'peep-dired-hook 'evil-normalize-keymaps) #+END_SRC +* FILE TREE VIEWER (Neotree) +When you open neotree, it jumps to the current file thanks to neo-smart-open. The neo-window-fixed-size setting makes the neotree width be adjustable. + +#+BEGIN_SRC emacs-lisp +(after! neotree + (setq neo-smart-open t + neo-window-fixed-size nil)) +(after! doom-themes + (setq doom-neotree-enable-variable-pitch t)) +#+END_SRC + +* SUBLIMITY +The sublimity extension offers Sublime-like smooth scrolling and an experimental minimap. You can also require sublimity-attractive if you want to center everything for a distraction-free mode. I do not use this extension, hence the reason I have sublimity-mode set to 0. Set this to 1 to enable it. + +#+BEGIN_SRC emacs-lisp +(require 'sublimity-scroll) +(require 'sublimity-map) +;; (require 'sublimity-attractive) +(sublimity-mode 0) +#+END_SRC + * BROWSER (eww) Set urls to open in a specific browser. I set this to use Emacs' own browser (eww). diff --git a/.doom.d/init.el b/.doom.d/init.el index 085e9a3..124aa45 100644 --- a/.doom.d/init.el +++ b/.doom.d/init.el @@ -144,7 +144,8 @@ ;;nim ; python + lisp at the speed of c ;;nix ; I hereby declare "nix geht mehr!" ;;ocaml ; an objective camel - org ; organize your plain life in plain text + (org ; organize your plain life in plain text + +journal) php ; perl's insecure younger brother ;;plantuml ; diagrams for confusing people more ;;purescript ; javascript, but functional diff --git a/.doom.d/packages.el b/.doom.d/packages.el index 6f81b01..7f29973 100644 --- a/.doom.d/packages.el +++ b/.doom.d/packages.el @@ -58,6 +58,7 @@ (package! org-bullets) (package! peep-dired) (package! rainbow-mode) +(package! sublimity) (package! tldr) (package! treemacs) (package! wc-mode)