1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
|
# dotfiles
## Screenshots
[![clean](https://shmibbles.me/img/scrot/current/clean_small.png)](https://shmibbles.me/img/scrot/current/clean.png) [![dirty](https://shmibbles.me/img/scrot/current/dirty_small.png)](https://shmibbles.me/img/scrot/current/dirty.png)
## Structure
[.config/init/](.config/init) contains [vars](.config/init/vars), a file
defining shared variables for the desktop which are sourced and used elsewhere.
these settings can be overridden by creating a "voverride" file in the same
directory. `.config/init` also contains a series of "gen/*.sh" files, which
create configuration files in /tmp/ so programs not configurable via shell
scripting will automatically match the current settings as well. i stick
symlinks to the /tmp/ version where they would normally be. also included are
folders "funcs" and "funcreqs", which, respectively, contain executable scripts
and their prerequisite commands and arbitrary check commands. the latter
prerequisites are tested from .zprofile at login and, if passed, the functions
are symlinked into /tmp/funcs, which is included in $PATH. thus, this system
allows for configs which automatically adapt to the host environment, enabling
only what functionality is compatible. so far i've been the only user on
systems using this config, but will probably make the dir these are written
into configurable as well if that ever happens.
## Current Utilities
### nvim/vim
using nvim, but no big incompatibilities with base vim yet with the way i use
it, so falling back works fine. have a few fun things, including auto-loaded,
filetype-specific settings and basic [templates](.vim/skel), a few fancy
mappings, and a simple 16-colour [colourscheme](.vim/colors/shmibs.vim). take a
look at muh [.vimrc](.vimrc) for details and things.
### herbstluftwm
herbstluftwm has the really interesting concept of allowing manual tiling of
frames and then providing automatic layouts for inside those frames. in theory,
it's the best of both worlds, but it gets kind of confusing, so i've just set
the layout to always be max. this way frames basically just have multiple tabs
for me that can by cycled through. it's really neat for saving screen space!
(try splitting a screen with both an editor and a terminal on one side and all
your documentation on the other). i3 can do much the same thing, but it comes
with lots of slightly annoying things to get rid of.
### urxvt
has some quirks, but still nothing else out there with the same functionality.
check out [urxvt-perls](https://github.com/muennich/urxvt-perls).
### ranger/sxiv
both are fantastic for keyboard-driven file management, but still've got to
figure out how to write a ranger extension that can receive selections from
sxiv, because squinting at filenames is just bleh. python is my bane, though...
### pass
a nice password manager-a-ma-bob, gpg locked and easy to sync with git. there's
a firefox addon, but it doesn't really work, and there's an existing dmenu
frontend, but it's not very featureful, so [i wrote my
own](.config/herbstluftwm/pass.sh).
### dunst/dmenu/compton/lemonbar/nitrogen
useful things all around. i forked dunst to make SIGUSR1 clear all
notifications, which is used by
[mpc-status.sh](.config/herbstluftwm/mpc-status.sh) and
[pvol.sh](.config/herbstluftwm/pvol.sh).
### fcitx
input is messy, but fcitx seems like the most functional out there at the
moment. fcitx-mozc a nice.
|