aboutsummaryrefslogtreecommitdiff
path: root/doom.d/org/personal.org
diff options
context:
space:
mode:
authordx <aryadevchavali1@gmail.com>2020-04-24 02:53:57 +0100
committerdx <aryadevchavali1@gmail.com>2020-05-05 02:59:45 +0100
commitc65cf688fca3075f9d194e1ca8b954f9ddfd983c (patch)
treecd53b6d49505cf06c080d45f729f4eb9845c306c /doom.d/org/personal.org
parente3e4bd9710f2d144ef4fecebebe69d8cc852ed94 (diff)
downloaddotfiles-c65cf688fca3075f9d194e1ca8b954f9ddfd983c.tar.gz
dotfiles-c65cf688fca3075f9d194e1ca8b954f9ddfd983c.tar.bz2
dotfiles-c65cf688fca3075f9d194e1ca8b954f9ddfd983c.zip
~doom.d -> Doom/.doom.d
Proper naming, GNU/Stow style.
Diffstat (limited to 'doom.d/org/personal.org')
-rw-r--r--doom.d/org/personal.org73
1 files changed, 0 insertions, 73 deletions
diff --git a/doom.d/org/personal.org b/doom.d/org/personal.org
deleted file mode 100644
index 37a532a..0000000
--- a/doom.d/org/personal.org
+++ /dev/null
@@ -1,73 +0,0 @@
-#+TITLE: Personal module
-
-* Preclude
-Personal functionality or variables that aid my workflow or are just cool.
-* Variables
-Some user variables
-#+BEGIN_SRC elisp
-(setq user-full-name "Aryadev Chavali"
- user-mail-address "aryadevchavali1@gmail.com")
-#+END_SRC
-* Reload
-Reload the doom session by brute force fully loading the "config.el" file in the
-doom private directory.
-#+BEGIN_SRC elisp
-(defun dx:reload ()
- "Reload instance of doom"
- (interactive)
- (load-file (concat doom-private-dir "config.el")))
-#+END_SRC
-* Change theme
-Allow user to set a theme from a limited set of candidates, based on
-"dx:theme-list".
-
-- Themes sanctioned by me:
- - doom-solarized-dark: just the right everything. best for day.
- - doom-gruvbox: good contrast, better for night.
- - doom-city-lights: Eh contrast, quite dark
- - doom-outrun-electric: Interesting colour palette
- - doom-vibrant: Good contrast, bit lighter
- - doom-molokai: hacker style
- - doom-solarized-light: Light orange theme that's actually okay on the eyes
- - doom-acario-light: Light theme with not bad colours
-- Themes not sanctioned:
- - Light themes other than solarized-light and acario
- - Horrid low contrast ones with no colour. Grayscale particularly. I can't
- handle those.
-
-#+BEGIN_SRC elisp
-(setq dx:themes/theme-list '(doom-solarized-dark
- doom-gruvbox doom-city-lights
- doom-outrun-electric doom-vibrant doom-molokai
- doom-solarized-light doom-acario-light
- base16-3024 base16-classic-dark base16-material-vivid))
-
-(defun dx:themes/set-new-theme ()
- "Set the theme from my own selection, mutate as you see fit"
- (interactive)
- (ivy-read "Select theme: "
- dx:themes/theme-list
- :caller 'oreodave/set-new-theme
- :action (lambda (x) ; Shamelessly copied from counsel in case of change
- (condition-case nil
- (progn
- (mapc #'disable-theme custom-enabled-themes)
- (load-theme (intern x) t)
- (when (fboundp 'powerline-reset)
- (powerline-reset)))
- (error "Problem loading theme %s" x)))))
-#+END_SRC
-* Password store
-Function to get a password given a key.
-#+BEGIN_SRC elisp
-(defun dx:password-store/get-password (KEY)
- (shell-command-to-string (concat "pass " KEY)))
-#+END_SRC
-* Weather
-Function to quickly check weather, which is what I wanted wttrin for.
-#+BEGIN_SRC elisp
-(defun dx:weather ()
- "Check the weather at the 'location' stored in password store"
- (interactive)
- (wttrin (dx:password-store/get-password "location")))
-#+END_SRC