Corrected broken paths, tried to organize things a bit, and removed some
things that weren't really doing anything or were redundant because
doom-emacs does/provides same thing already.
I've removed some unused/redundant stuff and refactored parts of the
config to use `use-package` as much as possible, which actually
improved load times quite a bit which is always nice.
Removed old systemd services and timers, unused scripts, and moved the
xmobar configuration to a different directory which should hopefully
make the repository a little cleaner.
Because I'm too stupid and/or lazy to make note of what's been changed,
I have no idea what is different in this commit, so it'll be a surprise
for everyone! Yay!
I'd list all the changes to init.vim here, but to be honest, I really
don't want to type that much.
Also, I may or may not have forgotten some of the change I made and
I'm not going to like, while I *could* do a diff, I really don't want
to.
My XMonad configuration now uses folds to categorize everything by
section, hopefully making it easier to navigate. Additionally, I've
updated it quite a lot.
XMonad updates include
- ThreeCol layout
- systemctl suspend binding
- renamed layouts in the logHook so they take less space on the bar
- startupHook to launch certain applications (compositor, notification
daemon, etc.) when starting XMonad
- probably more stuff I forgot about; I should start making notes on
changes I make for commit messages...
xmobar changes are pretty simple: I change the battery command so it
doesn't use the silly static battery icon and instead now indicates that
it's the battery charge level by saying "batt". Wow, real clever, right?
Yeah, that's what I thought too. I'll eventually configure it to use an
icon, changing which one is used specifically based on the current
charge level, but for now this works well enough so that I know that my
laptop isn't going to suddenly shut down because my battery ran out of
charge.
I've also added colors to the battery percentage to provide a visual
indication of the current charge level; I might tweak the exact colors
in the future, but I think it should be fine as-is.
The checkmail script executes mbsync to sync local and remote mailboxes,
notmuch to update the mail database, and afew to perform some initial
tagging.
Next, the calendarsync script executes vdirsyncer to sync local and
remote calendars (Google Calendar in this case). At the moment, this is
all that the calendarsync script does, but it may do more in the future.
Both scripts are run automatically using systemd service timers. If I've
configured them right, these services shouldn't execute if a network
isn't available. If a network is available, the timers will activate
every five minutes to perform the sync operations.
I'll sometimes use either cygwin or msys2 on a Windows machine if I have
to use Windows and I either a) don't have the Windows Subsystem for Linux
installed or b) am unable to use it for some reason. When I do use one
of the two (cygwin or msys2), this is the configuration I use for the
terminal. For everything else (such as running vim in cygwin/msys2), I
use the same dotfiles that I use everywhere else.