1
0
forked from extern/nix-config
Commit Graph

693 Commits

Author SHA1 Message Date
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
Donovan Glover
69d75cde7d
Remove everything urxvt from dotfiles
Went from termite to urxvt and back to termite again. Now the circle is
complete! Joking aside, the reason urxvt was chosen over termite in the
first place was because of better image support and less memory usage
with multiple terminals open (due to urxvtc and urxvtd).

Along the way, some things like emojis and other features only worked in
termite. Since termite still works exceptionally well, and since image
support isn't really an issue, termite should be more than good enough
here. Plus, my config files work pretty well across both bspwm and
Plasma. The extra memory saved from urxvtcd isn't needed on modern
hardware, and even if it was, I could just use tmux. Getting rid of this
extra dependency helps make my dotfiles cleaner.
2018-09-07 18:47:02 -04:00
Donovan Glover
abe4cfb739
Move languages to a separate directory
This is an attempt to reduce the clutter of the sh/ directory by putting
similar scripts in their own subdirectories.
2018-09-07 18:07:29 -04:00
Donovan Glover
70757528fc
Add other fish functions
This commit adds fish support for the other functions I used to use in
zsh. Since my dotfiles are now separated by environment, it's easy to
see which environment depends on which dotfiles, instead of stowing them
one by one based on software name.
2018-09-07 14:16:13 -04:00
Donovan Glover
cb4278514d
Drop zsh support in favor of fish
Really, there is no reason to use zsh when fish exists, at least not for
my use case. Maintaining one set of shell config files is easier than
two, so I'm removing the zsh files.

Some other changes in this commit include:

- The addition of the current user and hostname to the fish prompt
- The addition of some zsh functions I re-implemented in fish
- The removal of the dircolors file (not needed with exa anyway)
- The removal of some aliases I never used
-
2018-09-07 13:30:22 -04:00
Donovan Glover
a24326f12c
Remove neofetch config in favor of fish function
It doesn't make sense to manage an entire neofetch config file since the
majority of the settings required to produce a decent output can be
achieved by just passing options at runtime.
2018-09-07 02:22:54 -04:00
Donovan Glover
93500e18e9
Combine common dotfiles
This commit puts all common dotfiles in the same directory. This makes
it really easy to stow all my dotfiles that are common across all the
setups I use, and also makes it easy for me to verify that all the
dotfiles I need are already stowed with one simple command.
2018-09-06 15:46:19 -04:00
Donovan Glover
4e81aab657
Move installation steps to install directory
This helps separate the installation process from the other scripts that
are usually ran after a reboot, although this may change in the future
if chroot is preferred over executing the commands later.
2018-09-06 15:18:39 -04:00
Donovan Glover
22ef6af42f
Move dotfiles to the dots directory
Now that I've read the man pages for `stow` and actually know how to use
it properly, I can organize my repositiory by using a separate dots
directory specifically for my dotfiles.

Additionally, similar dotfiles are now grouped together. This means less
stow work for me with files that would otherwise only be used in one
environment (e.g. bspwm).

As much as one would like to show off browsing the internet with w3m,
such a setup is highly impractical for daily use. Remembering the
keybindings I set up was also becoming an issue, so I simply removed
them in favor of the defaults, assuming I ever need to use w3m at a
later date (probably not).
2018-09-06 14:07:35 -04:00
Donovan Glover
a3daa8ed67
Move zsh files to fish directory
In reality, zsh is not needed here and shouldn't be supported. Many
defaults of fish require hacky solutions to work in zsh; the investment
and maintenance needed is not worth it.

Eventually, zsh will be removed completely. This is the first step
towards accomplishing that goal.

Unused files and other commands will be simplified in attempt to make my
dotfiles more minimal and use the defaults, which helps a lot when using
a shell without my settings.
2018-09-05 20:35:41 -04:00
Donovan Glover
5918a58067
Combine more bspwm-specific dotfiles
Realistically, a larger GUI program is more likely to be used than
ncmpcpp when given the chance. This *might* not be the case, but I
highly doubt it.
2018-09-01 03:42:28 -04:00
Donovan Glover
d70fca0d9e
Update .Xresources 2018-09-01 02:43:45 -04:00
Donovan Glover
b58ae0bdd4
Combine bspwm-specific dotfiles
There are many dotfiles that we don't have to worry about when using a
desktop environment like Plasma or Xfce. These dotfiles are bspwm
specific and should all be stowed at the same time when stowing bspwm.
2018-09-01 02:29:22 -04:00
Donovan Glover
c6b184baf7
Update .aliases.sh 2018-09-01 01:19:17 -04:00
Donovan Glover
4ab89ef96b
Update README
Since this repository has diverged once again in attempt to make
something maintainable, the README has been re-written once more.

It would be amazing if this turns out to be the final iteration of
things, and all that's left is stripping out the unnecessary.
2018-09-01 01:07:10 -04:00
Donovan Glover
547032a285
Add 30x scripts 2018-09-01 00:30:48 -04:00