Drop OSX support; support desktop, laptop, cloudtop

Dropping support for OSX. Moving forward these dotfiles will depend on Linux
systems. Furthermore, since I'm support a ~/bin, the machines that consume these
dotfiles depend on i386 architectures. Linux and i386 are two dependencies that
I'm okay with since the leverage this assumption provides, makes their existence
tolerable.

There is some Google leakage herein, which includes aliases, functions, and
mentions of cloudtop. For now, this is okay. I may break the Google specific
code into its own repository, but for now, this is less maintenance.

This also introduces a ~/.profile instead of erroneously defining environment
variables in my zshrc file, which was unadvised.

This is a large commit and also introduces new aliases, variables, functions
that I accumulated over the past week or so while migrating away from OSX and
onto my new setup. Hopefully in the future I'll be more precise with my commits.
This commit is contained in:
William Carroll 2019-03-18 14:14:26 +00:00
parent bf33edaa6e
commit f7b3e0a7a9
77 changed files with 2587 additions and 714 deletions

View file

@ -71,6 +71,7 @@
"el" (lambda () (interactive) (wpc/find-file-split "~/variables.zsh"))
"ex" (lambda () (interactive) (wpc/find-file-split "~/.Xresources"))
"ei" (lambda () (interactive) (wpc/find-file-split "~/.config/i3/config"))
"em" (lambda () (interactive) (wpc/find-file-split "~/.tmux.conf"))
"B" #'magit-blame
"w" #'save-buffer

View file

@ -45,10 +45,10 @@
;; create file bookmarks
(set-register ?e '(file . "~/.emacs.d/wpc/packages"))
(set-register ?n '(file . "~/programming/nixify/configuration.nix"))
(set-register ?d '(file . "~/programming/dotfiles"))
(set-register ?d '(file . "~/Dropbox/dotfiles"))
(set-register ?s '(file . "~/.slate.js"))
(set-register ?D '(file . "~/Dropbox"))
(set-register ?o '(file . "~/Documents/org/"))
(set-register ?o '(file . "~/Dropbox/org/")) ;; TODO: change this to `(getenv "ORG_DIRECTORY")'
(set-register ?v '(file . "~/.config/nvim/init.vim"))
(set-register ?e '(file . "~/.emacs.d/init.el"))
@ -58,6 +58,7 @@
(set-register ?l '(file . "~/variables.zsh"))
(set-register ?x '(file . "~/.Xresources"))
(set-register ?i '(file . "~/.config/i3/config"))
(set-register ?m '(file . "~/.tmux.conf"))
(set-register ?p `(file . ,wpc/current-project))

View file

@ -6,29 +6,39 @@
;;; Code:
(getenv "ORG_DIRECTORY")
;; TODO: figure out how to nest this in (use-package org ...)
(setq org-capture-templates
(quote (
`(
("w" "work" entry (file+headline "~/Documents/org/work.org" "Tasks")
"* TODO %?")
("w" "work" entry (file+headline
,(f-join (getenv "ORG_DIRECTORY") "work.org")
"Tasks")
"* TODO %?")
("p" "personal" entry (file+headline "~/Documents/org/personal.org" "Tasks")
"* TODO %? ")
("p" "personal" entry (file+headline
,(f-join (getenv "ORG_DIRECTORY") "personal.org")
"Tasks")
"* TODO %? ")
)))
("i" "ideas" entry (file+headline
,(f-join (getenv "ORG_DIRECTORY") "ideas.org")
"Tasks")
"* %? ")
))
(evil-set-initial-state 'org-mode 'insert)
(use-package org
:preface
(defconst wpc-org-directory
"~/Documents/org")
:config
; (general-add-hook org-mode-hook (disable linum-mode))
(general-define-key :prefix "C-c"
"l" #'org-store-link
"a" #'org-agenda
"c" #'org-capture)
(setq org-todo-keywords
'((sequence "TODO" "BLOCKED" "DONE")))
(setq org-default-notes-file (wpc/org-file "notes"))
(setq org-log-done 'time)
(setq org-agenda-files (list (wpc/org-file "work")

View file

@ -10,7 +10,7 @@
(setq-default line-spacing 4)
;; change font
(add-to-list 'default-frame-alist '(font . "Source Code Pro-9"))
(add-to-list 'default-frame-alist '(font . "Operator Mono Book-9"))
(defconst wpc/font-size-step 10
"The amount (%) by which to increase or decrease a font.")