From e8ae19d7addf6a00ab74dcee0820df7e39720cfb Mon Sep 17 00:00:00 2001 From: Derek Taylor Date: Wed, 2 Sep 2020 23:37:14 -0500 Subject: [PATCH] Minor edits. --- .doom.d/config.el | 6 +++++- .doom.d/config.org | 9 +++++---- .doom.d/packages.el | 7 +++---- .xmonad/README.org | 5 +++-- .xmonad/xmonad.hs | 5 +++-- 5 files changed, 19 insertions(+), 13 deletions(-) diff --git a/.doom.d/config.el b/.doom.d/config.el index 8c72313..535f540 100644 --- a/.doom.d/config.el +++ b/.doom.d/config.el @@ -4,6 +4,8 @@ (setq doom-theme 'doom-palenight) (setq org-directory "~/Documents/org/") +(require 'org-bullets) +(add-hook 'org-mode-hook (lambda () (org-bullets-mode 1))) (setq display-line-numbers-type t) (global-set-key "\C-x\ t" 'toggle-truncate-lines) @@ -66,7 +68,9 @@ smtpmail-smtp-server "smtp.1and1.com" smtpmail-smtp-service 587) -(setq mastodon-instance-url "https://mastodon.technology") +(use-package mastodon + :ensure t) +(setq mastodon-instance-url "https://mastodon.technology/") (setq md4rd-subs-active '(archlinux commandline DistroTube DoomEmacs emacs freesoftware lbry linux linux4noobs linuxmasterrace linnuxquestions orgmode qutebrowser suckless Ubuntu unixporn UsabilityPorn vim xmonad)) diff --git a/.doom.d/config.org b/.doom.d/config.org index 7dfe38f..f31b2f4 100644 --- a/.doom.d/config.org +++ b/.doom.d/config.org @@ -27,6 +27,8 @@ font string. You generally only need these two: ** ORG MODE #+BEGIN_SRC emacs-lisp (setq org-directory "~/Documents/org/") +(require 'org-bullets) +(add-hook 'org-mode-hook (lambda () (org-bullets-mode 1))) #+END_SRC ** LINE SETTINGS @@ -56,9 +58,6 @@ Force splits to open on the right (add-hook 'markdown-mode-hook 'prefer-horizontal-split) #+END_SRC -#+RESULTS: -| prefer-horizontal-split | evil-markdown-mode | doom--enable-+lua-love-mode-in-markdown-mode-h | doom--enable-+javascript-npm-mode-in-markdown-mode-h | - ** FILE MANAGER (dired) Image previews in dired #+BEGIN_SRC emacs-lisp @@ -125,7 +124,9 @@ Image previews in dired ** MASTODON CLIENT (mastodon) #+BEGIN_SRC emacs-lisp -(setq mastodon-instance-url "https://mastodon.technology") +(use-package mastodon + :ensure t) +(setq mastodon-instance-url "https://mastodon.technology/") #+END_SRC #+BEGIN_SRC emacs-lisp diff --git a/.doom.d/packages.el b/.doom.d/packages.el index 08fc146..16da630 100644 --- a/.doom.d/packages.el +++ b/.doom.d/packages.el @@ -49,15 +49,14 @@ ;; ...Or *all* packages (NOT RECOMMENDED; will likely break things) ;(unpin! t) (package! exwm) -(package! mastodon) (package! emms) (package! emojify) (package! elfeed) +(package! mastodon) +(package! md4rd) +(package! org-bullets) (package! peep-dired) (package! tldr) (package! treemacs) -(package! md4rd) -(package! muse) (package! wc-mode) -(package! writegood-mode) (package! writeroom-mode) diff --git a/.xmonad/README.org b/.xmonad/README.org index f4ba9d4..8e557e2 100644 --- a/.xmonad/README.org +++ b/.xmonad/README.org @@ -135,7 +135,7 @@ myTerminal :: String myTerminal = "alacritty" -- Sets default terminal myBrowser :: String -myBrowser = "qutebrowser " -- Sets firefox as browser for tree select +myBrowser = "qutebrowser " -- Sets qutebrowser as browser for tree select -- myBrowser = myTerminal ++ " -e lynx " -- Sets lynx as browser for tree select myEditor :: String @@ -376,7 +376,7 @@ treeselectAction a = TS.treeselectAction a , Node (TS.TSNode "Wikipedia" "The free encyclopedia" (spawn (myBrowser ++ "https://www.wikipedia.org/"))) [] ] , Node (TS.TSNode "+ Programming" "programming and scripting" (return ())) - [ Node (TS.TSNode "Bash and Shell Scripting" "shell scripting documentation" (return ())) + [ Node (TS.TSNode "+ Bash and Shell Scripting" "shell scripting documentation" (return ())) [ Node (TS.TSNode "GNU Bash" "Documentation for bash" (spawn (myBrowser ++ "https://www.gnu.org/software/bash/manual/"))) [] , Node (TS.TSNode "r/bash" "Subreddit for bash" (spawn (myBrowser ++ "https://www.reddit.com/r/bash/"))) [] , Node (TS.TSNode "r/commandline" "Subreddit for the command line" (spawn (myBrowser ++ "https://www.reddit.com/r/commandline/"))) [] @@ -404,6 +404,7 @@ treeselectAction a = TS.treeselectAction a , Node (TS.TSNode "r/Vim" "Subreddit for vim" (spawn (myBrowser ++ "https://www.reddit.com/r/vim/"))) [] , Node (TS.TSNode "Vi/m StackExchange" "Vi/m related questions" (spawn (myBrowser ++ "https://vi.stackexchange.com/"))) [] ] + , Node (TS.TSNode "My Start Page" "Custom start page for browser" (spawn (myBrowser ++ "file:///home/dt/.surf/html/homepage.html"))) [] ] , Node (TS.TSNode "+ Config Files" "config files that edit often" (return ())) [ Node (TS.TSNode "+ emacs configs" "My xmonad config files" (return ())) diff --git a/.xmonad/xmonad.hs b/.xmonad/xmonad.hs index c8cbfc6..7aa0c7a 100644 --- a/.xmonad/xmonad.hs +++ b/.xmonad/xmonad.hs @@ -82,7 +82,7 @@ myTerminal :: String myTerminal = "alacritty" -- Sets default terminal myBrowser :: String -myBrowser = "qutebrowser " -- Sets firefox as browser for tree select +myBrowser = "qutebrowser " -- Sets qutebrowser as browser for tree select -- myBrowser = myTerminal ++ " -e lynx " -- Sets lynx as browser for tree select myEditor :: String @@ -303,7 +303,7 @@ treeselectAction a = TS.treeselectAction a , Node (TS.TSNode "Wikipedia" "The free encyclopedia" (spawn (myBrowser ++ "https://www.wikipedia.org/"))) [] ] , Node (TS.TSNode "+ Programming" "programming and scripting" (return ())) - [ Node (TS.TSNode "Bash and Shell Scripting" "shell scripting documentation" (return ())) + [ Node (TS.TSNode "+ Bash and Shell Scripting" "shell scripting documentation" (return ())) [ Node (TS.TSNode "GNU Bash" "Documentation for bash" (spawn (myBrowser ++ "https://www.gnu.org/software/bash/manual/"))) [] , Node (TS.TSNode "r/bash" "Subreddit for bash" (spawn (myBrowser ++ "https://www.reddit.com/r/bash/"))) [] , Node (TS.TSNode "r/commandline" "Subreddit for the command line" (spawn (myBrowser ++ "https://www.reddit.com/r/commandline/"))) [] @@ -331,6 +331,7 @@ treeselectAction a = TS.treeselectAction a , Node (TS.TSNode "r/Vim" "Subreddit for vim" (spawn (myBrowser ++ "https://www.reddit.com/r/vim/"))) [] , Node (TS.TSNode "Vi/m StackExchange" "Vi/m related questions" (spawn (myBrowser ++ "https://vi.stackexchange.com/"))) [] ] + , Node (TS.TSNode "My Start Page" "Custom start page for browser" (spawn (myBrowser ++ "file:///home/dt/.surf/html/homepage.html"))) [] ] , Node (TS.TSNode "+ Config Files" "config files that edit often" (return ())) [ Node (TS.TSNode "+ emacs configs" "My xmonad config files" (return ()))