Commit graph

550 commits

Author SHA1 Message Date
William Carroll
57b6750789 Updates broken hardlinks
These are relics from the commit that dropped support for OSX.
2019-03-20 15:14:43 +00:00
William Carroll
da070adf8a Move source ~/.profile to ~/.zprofile
See the comments in .zprofile for an explanation and a link to a much larger
conversation about this issue. It's a bit messy.
2019-03-20 15:13:41 +00:00
William Carroll
7f0c0084e2 Support Xresources for multiple devices
This borrows the setup used with .xsessionrc{,.shared,.device}. It supports
configuration for my desktop, laptop, cloudtop.
2019-03-20 15:12:40 +00:00
William Carroll
ef2b934268 Support retrieving Monzo balance
This is intended to be an i3 status bar integration eventually. As long as the
monzo_creds file stays encrypted and out of a public GH repository, this should
be fairly secure.
2019-03-20 15:11:22 +00:00
William Carroll
74a1595bc9 Support hgls for fig
This lists all CitC clients.
2019-03-20 15:10:42 +00:00
William Carroll
9908175878 Remove org-mode's M-{h,j,k,l} conflicting KBDs
This is a bit of a workaround since ideally wpc/ensure-kbds and wpc/kbds minor
mode should eclipse the major-mode's KBDs. I couldn't fully debug the issue, and
in the interest of getting on with things, I resolved to just unbind those keys.
2019-03-20 15:08:56 +00:00
William Carroll
a810a74771 Support global auto-fill-mode
It appears that (auto-fill-mode 1) may be buffer-local. Adding a hook to
fundamental-mode to ensure auto-fill-mode is enabled for most buffers. Stay
tuned, because this may need to be setup for prog-mode-hook as well. Or
neither... we'll see what works.
2019-03-20 15:07:07 +00:00
William Carroll
29e19725ac Rename Elisp function for ensuring KBDs
Prefer wpc/ namespace for functions that I define. Consider defining all
functions in one location, similar to ZSH's functions.zsh
2019-03-20 15:03:03 +00:00
William Carroll
e14b271d39 Start Tmux up when X initializes
As noted in the comments, this may not be the final destination for this
incantation. It may also be. Right now, I don't know.
2019-03-18 20:57:46 +00:00
William Carroll
aec6461660 Remove hardlink dependency on lf
After moving environment variables from ~/.zshrc to ~/.profile, i3 can locate
`lf` on my PATH without any trickier involved. This is quite nice.
2019-03-18 20:56:55 +00:00
William Carroll
a2f07f24e0 Support an org-capture template for misc shopping
Sometimes just capturing what I want to buy is as satisfying as actually buying
the item. These org-capture templates really alleviate a lot of the anxiety I
associate with trying to remember many things.
2019-03-18 20:55:58 +00:00
William Carroll
0de3c5a14f Use correct hostname for laptop
Looks like I forgot to change this entry when updating the other locations in
the dotfiles that reference the wrong hostname for my laptop.
2019-03-18 20:55:01 +00:00
William Carroll
bef7799f4b Support attach and detach aliases for tmux
As mentioned in the comments, prefer the <leader>d for detaching.
2019-03-18 20:54:27 +00:00
William Carroll
51e123d84c Remove autojump functionality from t
This sometimes is what I what and most of the time not what I want
2019-03-18 20:53:26 +00:00
William Carroll
14972986e3 Break .xsessionrc into .xsessionrc.{shared,device}
This allows configuration for device specific settings - usually or
perhaps exclusively hardware related. Supporting disabling laptop
touchscreen, increasing laptop cursor speed, reversing the scroll
direction of the laptop mouse.
2019-03-18 15:56:03 +00:00
William Carroll
61b40b3012 wpcarro.roam.googlers.com -> wpcarro
Until I change my hostname, I'll need to use wpcarro. Internally on
Google networks, this laptop is resolvable via wpcarro.roam.*

Idea: consider defining in ~/.profile:

DESKTOP_NAME=<name>
LAPTOP_NAME=<name>
CLOUDTOP_NAME=<name>

...and then refer to these environment variables throughout my
configuration that depends on them. E.g. -

  - configs/install
  - configs/uninstall
  - .zshrc
  - .ssh/config

For now, I'll stick with the path of least resistance.
2019-03-18 15:53:18 +00:00
William Carroll
4ebeeab8c5 Removes noise and OSX artifacts from README
Some of the information herein was useful when I supported OSX, but no
longer necessary. Other information is encoded into the config files
herein and is less useful in written form in the README.
2019-03-18 14:51:05 +00:00
William Carroll
5cf5984467 Support gpg-agent.conf
At the moment is handles caching ttl preferences.
2019-03-18 14:50:47 +00:00
William Carroll
41608a2b47 Drop support for Tmux directory
I'm not sure why, but when using `st`, Tmux's italics support seems to
work just fine. Removing this directory since it appears to be obsolete.
2019-03-18 14:49:59 +00:00
William Carroll
a5090b7b03 Drop support for ctags
I added these awhile ago and haven't used them that day or since.
Dropping support until I have a use-case.
2019-03-18 14:32:48 +00:00
William Carroll
e7bc9e39bd gitignores .emacs.d/{bookmarks,custom.el,projectile-bookmarks.eld}
Using the `git rm -r --cached . && git add .` tip from: http://www.codeblocq.com/2016/01/Untrack-files-already-added-to-git-repository-based-on-gitignore/
I'm able to finally ignore these files. Things should be cleaner moving forward.
2019-03-18 14:30:42 +00:00
William Carroll
f7b3e0a7a9 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.
2019-03-18 14:14:26 +00:00
William Carroll
bf33edaa6e Prefer Markdown 1, 1, 1 instead of 1, 2, 3
This makes the README easier to maintain.
2019-03-16 23:58:41 +00:00
William Carroll
2a70fdf5c2 Support uninstall; setup -> install
- support uninstall in Makefile
- change setup script name to install
2019-03-16 23:54:58 +00:00
William Carroll
44e46bbce2 Fix Emacs installation
My Emacs installation would fail on new machines because:

* use-package
* evil
* paredit

use-package is needed to install everything else.

evil and paredit were required in functions.el and other places before they were
called like (use-package evil ...). This should improve things but not fix the
entire issue.
2019-03-11 23:08:23 +00:00
William Carroll
a5512fd706 Remove more Emacs noise
Removing more files that clutter my `gst`

This time I ran...

```bash
git rm -r --cached .
```

...which is supposed to help ignore files that `git` already tracks. This may be
the missing piece I've been looking for.
2019-03-11 23:08:15 +00:00
William Carroll
eaf42b68c2 Better support GPG migrations
After yet another unpleasant experience starting up GPG on a new system, I
decided to encode my learnings and mistakes as aliases, functions, scripts,
hoping to protect my future me from myself. Fingers crossed!
2019-03-11 18:00:03 +00:00
William Carroll
e774ce5d1c Support font preferences
I've been sloppily managing my fonts for awhile. At this point in time,
it seems reasonable to carry around ttf, otf, and other font files.
These are 4.0K in size anyhow, which doesn't seem burdensome to me for
the convenience I get in return.
2019-03-09 22:45:55 +00:00
William Carroll
7270292d73 Support org shortcut and ELisp fn
Support generic ELisp fn. Should have a dumping grounds for ELisp
fns similar to my dumping_grounds.zsh.
2019-03-08 18:18:30 +00:00
William Carroll
4d7d937df7 Reorganize aliases, support misc fns, misc named dirs
Miscellaneous maintenance tasks for my ZSH life.
2019-03-08 18:17:41 +00:00
William Carroll
d7c443c7d1 Delete default.tmux
This idea never quite took off. It may be supplanted with i3
configuration in the future.
2019-03-08 18:15:56 +00:00
William Carroll
c487b09d6a Support i3wm and org-capture integration
Now this has been missing from my workflow for awhile.
2019-03-08 18:15:27 +00:00
William Carroll
c0b8167c2c Prefer gnome-terminal
This is a temporary change. Will get back on urxvt in the future.
2019-03-08 18:14:39 +00:00
William Carroll
b268da5aca Ignore .netrwhist
Could have sworn I did this as well. Oh boy...
2019-03-08 18:13:56 +00:00
William Carroll
50420ba131 pil -> pils
I should standardize on `ls` for list instead of `l`. This may have even
been a typo when I first defined it.
2019-03-07 16:49:11 +00:00
William Carroll
94bbcaafd5 Define nix_installed function
Lists the packages installed by `nix-env`. Moving forward, it might be
useful to run something like...

`$ nix_installed >nix-env.txt`

...and commit that to this repository a la the brew.txt file that
previously floated around this repo. For now, I'm unwilling to commit to
that solution, because I'm hoping a better alternative exists.

Perhaps this should be an alias. Still unsure why I write aliases
sometimes and functions other times. It might be worth documenting as a
principle that I can lean on.
2019-03-07 16:47:14 +00:00
William Carroll
aa7b96bacd Prefer to rg and fd hidden files
These may be configurable via .rgrc or .fdrc files, but frankly I have
enough RC files floating around. This should be fine.
2019-03-07 16:46:38 +00:00
William Carroll
fe6f2b9697 Simplifies i3 statusbar config
Moves the time to a more readable area. Removes noise from the disk
information.
2019-03-07 16:46:09 +00:00
William Carroll
34dce733c4 Updates README installation instructions
After doing another dotfiles installation on the newly acquired cloudtop
instance, I ran into some bumps and documented the fixes.
2019-03-07 16:45:30 +00:00
William Carroll
dc3c37c78e Support cloudtop
Supports ZSH themes based on which device I'm working. This might get
annoying after awhile, but I think the idea of having the prompt reflect
when I'm on a different machine than my own might be useful.

Adds "cloudtop" alias in ssh config.
2019-03-07 16:44:37 +00:00
William Carroll
f293091c06 Support common.txt
In the future, this may more to Network FS like Dropbox or x20,
or Google Drive. For now, I'm keeping this here. I'd like to add
a Rofi integration in the future that will allow me to quickly
copy or insert this entries.
2019-03-07 15:08:29 +00:00
William Carroll
e9e4181fc0 Drop support for Python
I couldn't pull lsp-python from Melpa properly and since I'm
currently not doing any Python work, I figure I will drop support
for it temporarily.
2019-03-07 15:08:29 +00:00
William Carroll
7db36dc24d Renew support for Melpa
This was removed when I was still trialing Nix. Since I need to be on
gLinux for work and Nix isn't an option, I need something that works.
2019-03-07 15:08:29 +00:00
William Carroll
6a629f1720 Support additional i3 KBDs
Also prefer urxvt to gnome-terminal. This is subject to change.

Also supports additional KBDs for repeated tasks.
2019-03-07 15:08:29 +00:00
William Carroll
f2f8b0d10f Support step-by-step installation instructions
I documented my consumption of wpcarro/dotfiles in the README. The dream
is to just clone this repo and run `make install`. We'll get there.

TODO: drop support for OSX
TODO: clean up the rest of this README
2019-03-07 14:10:10 +00:00
William Carroll
e59898f00f Support ALTERNATE_EDITOR environment variable
This simplies the `e` alias and the EDITOR variable definition.
2019-03-07 14:05:31 +00:00
William Carroll
3dd58b01bd Update init.vim to support updated Vundle location
Before I noticed the rtp variable, the Vundle installation was a bit
nebulous to me.

TODO: Consider dropping support for vanilla altogether.
2019-03-07 14:03:54 +00:00
William Carroll
69516a41bc Support additional config files
Lucky me. More configuration!
2019-03-06 17:02:48 +00:00
William Carroll
abcdf22fb4 Supports autocompletion for Piper
See comment for an explanation about the additions.
2019-03-06 17:01:42 +00:00
William Carroll
f9be76e678 Support additional shell functions
I learned about compgen, so I made a bunch of aliases that should
help me remember its uses.

Also added a myriad of others.
2019-03-06 17:00:40 +00:00