1
0
forked from extern/nix-config
Commit Graph

558 Commits

Author SHA1 Message Date
Donovan Glover
40b172a459
Update zathura
Here is my attempt at adding pywal support.
2018-10-14 23:31:01 -04:00
Donovan Glover
e7f049b9f5
Increase the gpg-agent cache ttl
This makes it easier to work with GPG over an extended period of time.
2018-10-14 23:03:49 -04:00
Donovan Glover
61b683c985
Export SSH_AUTH_SOCK
This lets us manage ssh-agent with systemd.
2018-10-14 22:50:33 -04:00
Donovan Glover
ca6935d08b
Update various dots
Lots of minor improvements here.
2018-10-14 22:48:00 -04:00
Donovan Glover
9a9d8cef92
Organize .vimrc
This commit adds some nice headers to each section of my .vimrc.
2018-10-14 22:32:37 -04:00
Donovan Glover
0c6c28d0e5
Merge vim config into single .vimrc
Previously I separated my .vimrc into multiple files in attempt to
organize it. Now that I know more about vim, however, using only one
config file leads to less moving parts. Additionally, I now use less
vim settings altogether since I frequently have to work on foreign
machines, which probably won't have my .vimrc anyway.
2018-10-14 11:30:24 -04:00
Donovan Glover
cdc96ed5ab
Clean up vim config
In this commit I remove a lot of the things I no longer use in vim. I
also enable lazy loading of some plugins and add lightline for the
status bar.
2018-10-13 19:43:24 -04:00
Donovan Glover
f26f5acedc
Add rofi
Rofi is "a window switcher, application launcher, and dmenu
replacement". It lets you search for and access certain
information at any given time, making it very useful.
2018-10-13 00:41:24 -04:00
Donovan Glover
9b9a7b1768
Switch from base16 to pywal
pywal (also known as wal) lets us change color schemes with a cache
directory instead of editing config files directly. This helps us
separate the dotfiles from the color schemes.

This commit removes explicit color settings from my dotfiles, which are
now managed by pywal. Dunst has been added to show any notifications
that I may want to use in the future. The colors.Xresources file is used
to prevent urxvt from using a depth of 32.

My custom colors.vim file has been removed in favor of wal.vim, which
solves some problems I had to manually resolve myself and should make
things easier to maintain in the long term.

Note that pywal also supports base16 color schemes, as well as any other
color scheme you can think of.
2018-10-12 23:13:15 -04:00
Donovan Glover
273f1f077e
Update .Xresources
Since urxvt is back its settings are also back. Also found a way to make
urxvt look very similar to termite with the letter spacing command.
2018-10-07 19:02:10 -04:00
Donovan Glover
695a5cf2db
Update bspwm config
Lots of changes here. SXHKD_SHELL is used to specify bash as the shell
to use for sxhkd. This is required since we use bash-specific syntax in
our sxhkdrc. Many commands that once ran through .xinitrc are now
executed by bspwmrc instead, and additional rules have been added to
support KDE applications.
2018-10-07 18:44:28 -04:00
Donovan Glover
b7815b4e51
Update sxhkd config
I now use urxvt once more.
2018-10-07 18:37:50 -04:00
Donovan Glover
bf0a007487
Update misc dotfiles
Image previews in ranger are back, this time using urxvt instead of w3m.
Also fixed the screenshot utility and cleaned up some other things.
2018-10-07 18:15:44 -04:00
Donovan Glover
5a9086fc13
Update compton config
Some of these options may not be needed anymore. For example, the
default shadow settings work just fine.
2018-10-06 18:16:08 -04:00
Donovan Glover
5128120f9e
Update polybar config
Here I finally figure out how icons work in Arch Linux (and probably
other distributions as well). Other changes include a smaller font size,
more gaps, and less line size.
2018-10-06 17:44:33 -04:00
Donovan Glover
2411261086
Update .stow-local-ignore 2018-10-04 12:43:21 -04:00
Donovan Glover
3b98b37fb6
Update tmux config
It turns out that default is the color that should be used for true
transparency. Besides that, just a general clean-up of things I don't
use.
2018-10-04 12:35:37 -04:00
Donovan Glover
75b988d7ea
Remove fontconfig
Manually overriding fonts caused problems in some applications. With
DejaVu and other common fonts installed, there *shouldn't* be a need to
use fontconfig anymore, although I haven't extensively tested this.
2018-10-03 15:45:28 -04:00
Donovan Glover
4e65100b5e
Update fish config
Setting XDG_CURRENT_DESKTOP and QT_FONT_DPI lets us run KDE applications
in bspwm with near-identical settings without starting plasmashell.
2018-10-03 15:34:11 -04:00
Donovan Glover
f332ba6c10
Move dotfiles up to root directory
Instead of stowing dotfiles individually by software, and instead of
stowing dotfiles based on working environment, I now just stow all
dotfiles at once, so the extra hierarchy isn't needed.
2018-10-03 13:15:23 -04:00
Donovan Glover
7f656334ac
Remove packages
I am back to using a PKGBUILD to manage my packages. This makes it easy
to manage packages on multiple machines with pacman and keep track of
which packages were installed.
2018-10-03 10:53:58 -04:00
Donovan Glover
19184ac049
Remove scripts
I have decided to dedicate this repository solely to my dotfiles, which
for the most part should work on any GNU/Linux distribution, not just
Arch Linux. Separating the scripts from the dots should make things a
lot easier to manage.
2018-10-03 10:42:46 -04:00
Donovan Glover
0b22905072
Update packages 2018-09-26 01:16:15 -04:00
Donovan Glover
521479bd1e
Prompt for username and hostname 2018-09-25 15:00:04 -04:00
Donovan Glover
7873f9deeb
Quote all variables in shell scripts
Not quoting variables in shell scripts is a security vulnerability.
See: https://unix.stackexchange.com/a/171347/96035
2018-09-24 15:12:07 -04:00
Donovan Glover
7bc7645094
Combine bootstrap files into one universal script
This should make every system easier to setup, assuming my shell
script is structured sufficiently well.
2018-09-21 14:54:39 -04:00
Donovan Glover
7c5d679dd6
Add Fedora package lists
Although incomplete (since I haven't figured out all the package names
yet), these packages are enough to get a decent working environment on
Fedora with both GNOME and Xfce.
2018-09-21 13:59:13 -04:00
Donovan Glover
e03c331308
Move aliases to fish config
Since we no longer need to support non-friendly interactive shells,
sourcing our aliases from a separate file is no longer needed.
2018-09-21 13:50:04 -04:00
Donovan Glover
8fbd379917
Add common and bootstrap scripts
This commit adds a post-install bootstrap script meant to be run on a
user's local account in order to install packages, configure dotfiles,
and perform other setup tasks.

It may be ideal to use one universal bootstrap script instead of two
unique ones since both share many similar characteristics.
2018-09-21 13:41:06 -04:00
Donovan Glover
4e7ba005a8
Migrate install scripts to "four simple steps"
It is only now that I realize that the Arch Wiki is divided into four
steps: Pre-installation, Installation, Configuration, and
Post-installation. This commit changes my install scripts to follow that
same structure, overall making things a lot easier to both understand
and maintain as a whole.
2018-09-21 01:12:31 -04:00
Donovan Glover
b46a84d839
Clean up remaining scripts
Done migrating all the post-install scripts. Haven't decided how I want
to deal with the installation scripts yet.

The code package is now a part of [community], so we don't have to
compile it by hand anymore!
2018-09-20 19:25:20 -04:00
Donovan Glover
cfd7e5b25d
Migrate bspwm to use package lists 2018-09-20 13:23:22 -04:00
Donovan Glover
c879e72e85
Remove waterfox config
Now that I've gone through the stage of trying various browser
derivatives, I've migrated to Firefox and Chromium again, primarily due
to the lack of consistent updates, and partially due to the need to
check upstream a bit more for reported issues. In other words, using
what's in the official repos saves me a lot of time and hassle.
2018-09-20 12:45:34 -04:00
Donovan Glover
c332c118d4
Migrate many aliases to abbreviations
This commit gets rid of unused aliases and in general makes everything a
lot cleaner. Since we use abbreviations to memorize the actual commands,
making an .aliases.sh file that supports multiple shells is no longer
needed. If you aren't using fish yet, I highly recommend it.
2018-09-19 19:13:24 -04:00
Donovan Glover
a947b666fd
Remove unused scripts
I had some problems setting up iwd, so I decided to not include it here.
Additionally, lightdm and xfce have been removed in favor of using a
different distribution when such a setup is needed.
2018-09-19 19:02:04 -04:00
Donovan Glover
d0a0011ca1
Merge all common packages together
This commit puts all the common packages, that is, packages used with
any desktop environment or window manager, in one file. Although this
list is still a work in progress, this commit covers the majority of
shared packages.
2018-09-19 17:22:29 -04:00
Donovan Glover
5e5edda8a6
Merge plasma packages into one file
This simplifies maintenance by installing everything at once instead of
having to worry about individual scripts. SDDM is dropped for now, due
to how some themes handled the HiDPI option. LibreOffice has once again
been dropped in favor of easier to use file formats. KDE's juk has been
removed in favor of the classic ncmpcpp.
2018-09-19 17:00:33 -04:00
Donovan Glover
7525bd8220
Change git aliases to abbreviations
Using abbreviations lets us take advantage of fish autocomplete and
helps us not forget the actual command being used.
2018-09-19 16:28:36 -04:00
Donovan Glover
7b2811d99b
Clean up aliases
"tput reset" isn't needed anymore now that we use tmux. Vim aliases have
been removed since they weren't being used (at all). tree aliases have
been simplified in attempt to memorize the options used instead of
relying on the alias.
2018-09-19 15:25:32 -04:00
Donovan Glover
dbf1a7ce18
Remove where alias
Since "where" is not common to all shells, aliasing it instead of simply
using type does more harm than good, since any other machines you work
with will not have this alias.
2018-09-19 14:40:54 -04:00
Donovan Glover
7be289730b
Remove system aliases
Aliasing rm to "rm -i" and mkdir to "mkdir -p" is dangerous because
these same safeguards may not be present on the other machines you ssh
into. Using pwd instead of simply p (and showing the $HOME directory
as ~) is a way to reinforce the idea that the current directory is just
one part of a complete system, even if that directory so happens to be
in $HOME.
2018-09-19 14:31:40 -04:00
Donovan Glover
6a3aad7a1f
Add .stow-local-ignore
This fixes the issue where .gitignore was not stowed.
2018-09-19 12:28:38 -04:00
Donovan Glover
c5b8ab6e2d
Add httpie config
By default httpie sends its own User-Agent header. This commit removes
that header.
2018-09-19 12:26:04 -04:00
Donovan Glover
05196514f9
Update tree aliases
Ignoring the .git directory lets us view dotfiles in the tree view
without having to worry about git's hidden directory.
2018-09-10 17:15:54 -04:00
Donovan Glover
571ed6ff19
Add GRUB_TIMEOUT=0 2018-09-10 17:05:46 -04:00
Donovan Glover
f4ec70c603
Update yarn config 2018-09-10 17:04:55 -04:00
Donovan Glover
d9cc57dc10
Add KDE scripts
This commit puts all the KDE stuff together in one directory. There are
a lot of extra packages that I may remove in the future, but this works
just fine for now.
2018-09-10 16:57:56 -04:00
Donovan Glover
d814deaeb4
Update ranger config
As much as I *not* want to use ranger, it is still very much useful for
easily seeing the structure of your files at a glance. To make
maintenance simpler for me, I removed some of the config settings I
never used and removed image previews since I can just use a proper
desktop environment for that.
2018-09-10 15:34:43 -04:00
Donovan Glover
37cd921aca
Update dots 2018-09-10 15:09:00 -04:00
Donovan Glover
0f7f51e81c
Update scripts
This commit adds sudo where needed for the majority of pacman commands.
It also removes zsh, urxvt, and renpy since we don't use those anymore.
2018-09-08 02:00:25 -04:00