mirror of
https://gitlab.com/dwt1/dotfiles.git
synced 2026-08-09 17:41:12 +10:00
Some minor edits.
This commit is contained in:
@@ -11,8 +11,10 @@
|
|||||||
declare options=("awesome
|
declare options=("awesome
|
||||||
bash
|
bash
|
||||||
bspwm
|
bspwm
|
||||||
|
doom.d/config.el
|
||||||
|
doom.d/init.el
|
||||||
dwm
|
dwm
|
||||||
emacs
|
emacs.d/init.el
|
||||||
herbstluftwm
|
herbstluftwm
|
||||||
i3
|
i3
|
||||||
polybar
|
polybar
|
||||||
@@ -41,10 +43,16 @@ case "$choice" in
|
|||||||
bspwm)
|
bspwm)
|
||||||
choice="$HOME/.config/bspwm/bspwmrc"
|
choice="$HOME/.config/bspwm/bspwmrc"
|
||||||
;;
|
;;
|
||||||
|
doom.d/config.el)
|
||||||
|
choice="$HOME/.doom.d/config.el"
|
||||||
|
;;
|
||||||
|
doom.d/init.el)
|
||||||
|
choice="$HOME/.doom.d/init.el"
|
||||||
|
;;
|
||||||
dwm)
|
dwm)
|
||||||
choice="$HOME/dwm/config.h"
|
choice="$HOME/dwm/config.h"
|
||||||
;;
|
;;
|
||||||
emacs)
|
emacs.d/init.el)
|
||||||
choice="$HOME/.emacs.d/init.el"
|
choice="$HOME/.emacs.d/init.el"
|
||||||
;;
|
;;
|
||||||
herbstluftwm)
|
herbstluftwm)
|
||||||
|
|||||||
+49
-1
@@ -1,9 +1,25 @@
|
|||||||
;;; .doom.d/config.el -*- lexical-binding: t; -*-
|
;;; .doom.d/config.el -*- lexical-binding: t; -*-
|
||||||
|
|
||||||
;; Place your private configuration here
|
;; Place your private configuration here!
|
||||||
|
;; ____ _____
|
||||||
|
;; | _ \_ _| Derek Taylor (DistroTube)
|
||||||
|
;; | | | || | http://www.youtube.com/c/DistroTube
|
||||||
|
;; | |_| || | http://www.gitlab.com/dwt1/
|
||||||
|
;; |____/ |_|
|
||||||
|
;;
|
||||||
|
;; A customized config for Doom Emacs (https://github.com/hlissner/doom-emacs)
|
||||||
|
;; Modified by Derek Taylor (http://www.gitlab.com/dwt1/)
|
||||||
|
|
||||||
|
;; Setting the font.
|
||||||
(setq doom-font (font-spec :family "Mononoki Nerd Font Mono" :size 15))
|
(setq doom-font (font-spec :family "Mononoki Nerd Font Mono" :size 15))
|
||||||
|
|
||||||
|
;; Setting the theme
|
||||||
(setq doom-theme 'doom-dracula)
|
(setq doom-theme 'doom-dracula)
|
||||||
|
|
||||||
|
;; Setting the neotree width to be adjustable.
|
||||||
|
(setq neo-window-fixed-size nil)
|
||||||
|
|
||||||
|
;; Setting the indent guides to show an arrow.
|
||||||
(def-package! highlight-indent-guides
|
(def-package! highlight-indent-guides
|
||||||
:commands highlight-indent-guides-mode
|
:commands highlight-indent-guides-mode
|
||||||
:hook (prog-mode . highlight-indent-guides-mode)
|
:hook (prog-mode . highlight-indent-guides-mode)
|
||||||
@@ -13,3 +29,35 @@
|
|||||||
highlight-indent-guides-delay 0.01
|
highlight-indent-guides-delay 0.01
|
||||||
highlight-indent-guides-responsive 'top
|
highlight-indent-guides-responsive 'top
|
||||||
highlight-indent-guides-auto-enabled nil))
|
highlight-indent-guides-auto-enabled nil))
|
||||||
|
|
||||||
|
;; Setting up mu4e which is an email client that works within emacs.
|
||||||
|
;; You must install mu4e and mbsync through your Linux distribution's
|
||||||
|
;; package manager.
|
||||||
|
(require 'mu4e)
|
||||||
|
(setq mu4e-get-mail-command "mbsync -c ~/.emacs.d/mu4e/.mbsyncrc -a"
|
||||||
|
mu4e-update-interval 300)
|
||||||
|
|
||||||
|
;; Fields that are auto-filled in email such as the full name of the
|
||||||
|
;; sender, the salutation and signature.
|
||||||
|
(setq
|
||||||
|
user-mail-address "derek@distrotube.com"
|
||||||
|
user-full-name "Derek Taylor"
|
||||||
|
mu4e-compose-signature
|
||||||
|
(concat
|
||||||
|
"Derek Taylor\n"
|
||||||
|
"http://www.youtube.com/DistroTube\n"))
|
||||||
|
|
||||||
|
;; Setting up smtp for sending mail. Make sure the gnutls command
|
||||||
|
;; line utils are installed. Package 'gnutls-bin' in Debian/Ubuntu,
|
||||||
|
;; and 'gnutls' in Arch.
|
||||||
|
(require 'smtpmail)
|
||||||
|
(setq message-send-mail-function 'smtpmail-send-it
|
||||||
|
starttls-use-gnutls t
|
||||||
|
smtpmail-starttls-credentials '(("smtp.1and1.com" 587 nil nil))
|
||||||
|
smtpmail-auth-credentials
|
||||||
|
'(("smtp.1and1.com" 587 "derek@distrotube.com" nil))
|
||||||
|
smtpmail-default-smtp-server "smtp.1and1.com"
|
||||||
|
smtpmail-smtp-server "smtp.1and1.com"
|
||||||
|
smtpmail-smtp-service 587)
|
||||||
|
;; don't keep message buffers around
|
||||||
|
(setq message-kill-buffer-on-exit t)
|
||||||
|
|||||||
+5
-2
@@ -8,6 +8,9 @@
|
|||||||
;; More information about these modules (and what flags they support) can be
|
;; More information about these modules (and what flags they support) can be
|
||||||
;; found in modules/README.org.
|
;; found in modules/README.org.
|
||||||
|
|
||||||
|
|
||||||
|
(add-to-list 'load-path "/usr/local/share/emacs/site-lisp/mu4e")
|
||||||
|
|
||||||
(doom! :input
|
(doom! :input
|
||||||
;;chinese
|
;;chinese
|
||||||
;;japanese
|
;;japanese
|
||||||
@@ -29,7 +32,7 @@
|
|||||||
indent-guides ; highlighted indent columns
|
indent-guides ; highlighted indent columns
|
||||||
modeline ; snazzy, Atom-inspired modeline, plus API
|
modeline ; snazzy, Atom-inspired modeline, plus API
|
||||||
nav-flash ; blink the current line after jumping
|
nav-flash ; blink the current line after jumping
|
||||||
;;neotree ; a project drawer, like NERDTree for vim
|
neotree ; a project drawer, like NERDTree for vim
|
||||||
ophints ; highlight the region an operation acts on
|
ophints ; highlight the region an operation acts on
|
||||||
(popup ; tame sudden yet inevitable temporary windows
|
(popup ; tame sudden yet inevitable temporary windows
|
||||||
+all ; catch all popups that start with an asterix
|
+all ; catch all popups that start with an asterix
|
||||||
@@ -155,7 +158,7 @@
|
|||||||
web ; the tubes
|
web ; the tubes
|
||||||
|
|
||||||
:email
|
:email
|
||||||
(mu4e +gmail)
|
;;(mu4e +gmail)
|
||||||
;;notmuch
|
;;notmuch
|
||||||
;;(wanderlust +gmail)
|
;;(wanderlust +gmail)
|
||||||
|
|
||||||
|
|||||||
@@ -1,21 +0,0 @@
|
|||||||
(use-package erc
|
|
||||||
:custom
|
|
||||||
(erc-autojoin-channels-alist '(("freenode.net" "#archlinux" "#bash" "#distrotube"
|
|
||||||
"#emacs" "#gentoo" "#hexdsl" "#org-mode" "#python")))
|
|
||||||
(erc-autojoin-timing 'ident)
|
|
||||||
(erc-fill-function 'erc-fill-static)
|
|
||||||
(erc-fill-static-center 22)
|
|
||||||
(erc-hide-list '("JOIN" "PART" "QUIT"))
|
|
||||||
(erc-lurker-hide-list '("JOIN" "PART" "QUIT"))
|
|
||||||
(erc-lurker-threshold-time 43200)
|
|
||||||
(erc-prompt-for-nickserv-password nil)
|
|
||||||
(erc-server-reconnect-attempts 5)
|
|
||||||
(erc-server-reconnect-timeout 3)
|
|
||||||
(erc-track-exclude-types '("JOIN" "MODE" "NICK" "PART" "QUIT"
|
|
||||||
"324" "329" "332" "333" "353" "477"))
|
|
||||||
:config
|
|
||||||
(add-to-list 'erc-modules 'notifications)
|
|
||||||
(add-to-list 'erc-modules 'spelling)
|
|
||||||
(erc-services-mode 1)
|
|
||||||
(erc-update-modules))
|
|
||||||
|
|
||||||
Reference in New Issue
Block a user