Commit Graph

676 Commits

Author SHA1 Message Date
Donovan Glover
c98ac74257
meta: Remove termite
I removed termite before, but this time I shouldn't need to add it
again. The kitty terminal emulator supports image output and handles
fonts better than termite. Plus, true transparency can be used without
sacrificing images in the terminal.
2018-11-14 19:02:45 -05:00
Donovan Glover
151e706a36
vim: Strategically install plugins
Instead of failing silently when the wal colorscheme is not found, we
can take this as a cue to install the necessary vim plugins instead.
2018-11-14 18:44:22 -05:00
Donovan Glover
b0b27be0ab
vim: Don't raise an error if wal is not found
Since the wal color scheme is not installed until PlugInstall is ran,
the colorscheme function will always throw an error that needs manual
intervention. This fixes that.
2018-11-14 17:50:30 -05:00
Donovan Glover
d767450dcc
fedora: Install pywal locally
Since the local bin directory is already sourced in Fedora,
we can take advantage of it here.
2018-11-14 15:13:50 -05:00
Donovan Glover
a6122f8f73
fedora: Add persistent sudo to bootstrap.sh
Since sudo times out after 5 minutes, and since we don't want to run
every command as root, we can instead create a "persistent sudo" by
invoking the sudo command at least once within 5 minute time frames.

This script does just that, and solves the problem of sudo timing out
after a long command.
2018-11-14 15:08:20 -05:00
Donovan Glover
a985bf68e5
gitattributes: Update path to PKGBUILDs 2018-11-14 14:53:00 -05:00
Donovan Glover
3e77f8f992
sxhkd: Don't start tmux by default
It turns out that since tmux sessions will stay active after you close a
terminal window, it is easy to end up with a lot of empty sessions. This
makes it difficult to detach and re-attach the appropriate tmux sessions.

Additionally, some features of kitty (notably terminal images and
dynamic background opacity) will not work inside tmux. Since kitty has
its own window manager, this caveat can be easily circumvented. By
invoking tmux manually instead, we also avoid the problem of nested
tmux sessions.
2018-11-14 14:43:42 -05:00
Donovan Glover
067c010df8
kitty: Always use fish as the default shell
Since changing the default shell to fish without breaking Fedora with
GNOME is non-trivial, I instead set the option from the terminal
emulator itself.

Although this won't carry over to ttys and other environments, it should
be simple enough to start fish manually when needed.
2018-11-14 14:31:21 -05:00
Donovan Glover
ad3a3fedd3
tari-dev: Add fish completions for httpie
Since the community package doesn't include the fish completions found
upstream, we install them here instead. There is already a bug report
about the fish completions, and when it eventually gets fixed, these
steps can be removed from the PKGBUILD.

Bug report: https://bugs.archlinux.org/task/55786
2018-11-14 14:23:07 -05:00
Donovan Glover
7445de60ca
fedora: Simplify Makefile
Since dotfiles only change the functionality of existing programs, it is
reasonable to stow everything at once for consistency between operating
systems.
2018-11-14 13:39:25 -05:00
Donovan Glover
f5284db737
fedora: Add kitty
Although there's already a default terminal emulator, configuring it
through dotfiles is non-trivial. kitty works exceptionally well on
Fedora, and since I already use it on Arch Linux, I might as well
use it here too.
2018-11-13 15:34:55 -05:00
Donovan Glover
6b30e9201f
fedora: Don't prompt when installing rustup 2018-11-13 14:48:29 -05:00
Donovan Glover
266ce1a6e2
fedora: Fix paths in Makefile
Here we have to reference the RPMs directory explicitly since the
spec file is inside it.
2018-11-13 14:40:25 -05:00
Donovan Glover
3c98fa96ef
fedora: Update README
It turns out that dnf *will* remove unused dependencies when you
uninstall a package.
2018-11-13 13:58:56 -05:00
Donovan Glover
e86ad95cd6
fedora: Add bootstrap script
Since Fedora by default does not include all the dependencies
required to run the Makefile, we install them first.
2018-11-13 13:43:50 -05:00
Donovan Glover
8b9ed3f623
fedora: Update Makefile
Instead of installing a pre-built RPM, we can build it ourselves on the
spot instead. This is less maintenance for me and makes it easier to
verify the package being installed.
2018-11-13 13:38:07 -05:00
Donovan Glover
a3dda2b8b2
Move muya.spec to .fedora
This should work, but it hasn't been tested yet. In the future I'd like
to use branches before pushing large updates to master. This would also
give me the chance to see how symlinks behave when a different branch is
checked out.
2018-11-13 13:00:39 -05:00
Donovan Glover
1c5515d7a5
Add fedpkg files to .gitignore 2018-11-13 12:32:20 -05:00
Donovan Glover
5ade063b89
archlinux: Move install scripts to separate directory 2018-11-13 12:30:23 -05:00
Donovan Glover
c968246923
Move PKGBUILDs to .archlinux
Since fedpkg can access parent directories, having a top-level PKGBUILDs
directory is no longer necessary.
2018-11-13 12:22:24 -05:00
Donovan Glover
f9cc32c0c5
Fix typo in .gitattributes
PKGBUILDs, not PKGBUILDS.
2018-11-13 00:33:16 -05:00
Donovan Glover
de18532b5d
meta: Add .gitattributes
This should prevent PKGBUILDs and their source files from being treated
as repository source code.
2018-11-12 23:14:53 -05:00
Donovan Glover
79bc9d848e
meta: Add .gitignore
Since the PKGBUILDs pull in some archive files as sources, we ignore
them with .gitignore.
2018-11-12 23:11:58 -05:00
Donovan Glover
fa82cc7a1d
PKGBUILDs: Add Makefile
This Makefile automates the process of creating and installing the RPM
package. It hasn't been tested yet, so I may need to fix it later.
2018-11-12 22:57:54 -05:00
Donovan Glover
d5844458b3
PKGBUILDs: Add muya.spec
Here is the spec file I use to set up Fedora machines. It is located in
the PKGBUILDs directory since both my Arch and Fedora setups share the
same source files.
2018-11-12 22:35:11 -05:00
Donovan Glover
a6687d45e0
PKGBUILDs: Add sources
Here are the source files I package with my PKGBUILDs. The tari-scripts
directory features some color scripts from around the web. tari-urxvt
contains patches for urxvt, tari-util houses launch.c, and tari-web is
where my mozilla.cfg is located.
2018-11-12 22:03:37 -05:00
Donovan Glover
881f587fdc
meta: Add PKGBUILDs
Instead of having one big PKGBUILD, I have opted instead to split my
Arch configuration into multiple PKGBUILDs.

Of course, splitting the packages *too much* has diminishing returns,
but some separation makes it easier for both myself and others to pick
and choose any wanted functionality.
2018-11-12 21:32:28 -05:00
Donovan Glover
13afe8d8cd
fedora: Add vendor scripts
These scripts can be manually updated by running the `make update`
command. When you do so, visually compare the diffs. This is to
ensure that nothing particularly naughty happened upstream.

Note that this is not a fool-proof solution since one can simply
modify the content returned by any other location a script requests.
2018-11-11 12:11:44 -05:00
Donovan Glover
534b38ebbf
fedora: Update Makefile
This hasn't been tested yet, but it *should* work.

Most of the software I install is handled by the RPM, with the
exception of software not present in the official repositories.

The install scripts for these software are stored locally in this
repository since I want an easy way to keep track of the diffs. Of
course, you should run the `make update` command yourself to get the
latest updates and visually compare any differences from upstream.
2018-11-11 11:53:49 -05:00
Donovan Glover
5627f07961
bspwm: Update kitty config
This commit adds some functionality not present in the initial commit.
Note that changing background opacity will not work when executed inside
tmux.
2018-11-11 11:38:05 -05:00
Donovan Glover
a349c5805c
fedora: Update README
Since I learned a bit about RPMs and how to make them, I can drastically
simplify the instructions required to replicate my Fedora setup.
2018-11-11 11:17:10 -05:00
Donovan Glover
e164fd07e8
docs: Update README 2018-11-11 11:09:15 -05:00
Donovan Glover
e2df340589
extras: Update httpie config to 1.0.0
Note that this file is automatically formatted by httpie. To avoid
formatting diffs, any changes you make should follow the format
httpie uses.
2018-11-11 10:25:11 -05:00
Donovan Glover
207ef19a7b
meta: Add kitty
I've gone through a lot of terminal emulators by now, and have always
switched between URxvt and Termite (due to the features they support).

For URxvt, this is particularly cumbersome since the version in the
official repositories does not have the patches required for practical
use. Even with patches applied, URxvt supports neither true color nor
emoji. Termite worked well, but it lacked image support.

Kitty features all of the following:

- True color support
- Image support
- Emoji support
- Icon fonts support
- Transparency support

Additionally, projects like Ranger and Neofetch have already taken the
initiative to support the Kitty image protocol (which, luckily for me,
are the only programs I use with images in the terminal).

Why not Alacritty, the other GPU-based terminal?
---

Although Alacritty is also very performant, there are several things
that keep me away from this terminal emulator.

Alacritty, as of this writing, renders neither images nor emoji.
Although it is certainly possible to use a terminal emulator without
either of these, the lack of these features limits what you can do with
the program you (presumably) spend the most time with on your computer.

The current config setup is "all or nothing"; I cannot remove defaults
from my alacritty.yml and expect those same defaults to carry over.
Even common terminal escape sequences are hard-coded into the config
file, which cannot be removed without breaking things.

Some other benefits of kitty:

- Full image support in transparent terminals
- w3m hack + loop is no longer necessary for persistent images
- No weird artifacts around the image
- Can highlight text without affecting the image
- Images aren't lost after switching between desktops
2018-11-07 18:20:19 -05:00
Donovan Glover
0eb271a50c
tmux: Add true color support
It turns out that even if your terminal supports true color, it won't be
used in tmux unless you set the option explicitly. Now it is possible to
enjoy the benefits of true color inside tmux.
2018-11-07 11:34:19 -05:00
Donovan Glover
abe2fab50d
bspwm: Use tmux by default in all cases
Since tmux is only a problem when using neofetch with the w3m image
backend, I have instead added a new keybind to handle this use case,
which floats the terminal by default as well.
2018-11-04 15:20:48 -05:00
Donovan Glover
cddcb504d3
stow: Split systemd package into bspwm and ssh-agent
Since urxvt will only be used on my bspwm setup, and since ssh-agent
can be used on non-bspwm setups as well, it makes sense to separate
the two.
2018-11-04 11:39:56 -05:00
Donovan Glover
f06df4e1ab
fedora: Add font settings
They say that good font rendering makes any setup look better.
2018-11-01 21:58:38 -04:00
Donovan Glover
b2c252d82a
meta: Add executable bit to bspwmrc and other scripts
After a considerable amount of research, I finally understand how to use
chmod and what file permissions in linux actually mean.

It turns out that git can commit both regular files (644 permission) and
executable files (755 permission). This is great since changing file
permissions manually after a git clone is no longer needed.

This useful feature is enabled by default, however, it seems like I
disabled it a long time ago. If this is you, simply re-enable it by
setting `filemode` to true in your .git/config.
2018-11-01 20:58:24 -04:00
Donovan Glover
3ebc47ca28
bspwm: Add dropdown.sh
This commit makes it possible to toggle any terminal you want with
super + backslash. If the terminal doesn't exist already, it will
be created for you.
2018-11-01 16:14:34 -04:00
Donovan Glover
f3d129362e
misc: Update docs
Made dependency lists a bit more consistent and reverted some of the
Arch Linux wording since it felt a bit off. Even the official website
refers to Arch Linux as Arch from time to time.
2018-10-31 13:03:41 -04:00
Donovan Glover
2fa91642d3
vim: Install vim-plug if it is not present
This commit means that manually copy/pasting the curl command on new
machines is no longer necessary.
2018-10-31 12:35:27 -04:00
Donovan Glover
8056132e7b
archlinux: Add back install scripts
Although I removed install scripts in a previous commit, with the
current structure of this repository, it makes sense to include
them once again.
2018-10-31 11:33:31 -04:00
Donovan Glover
573257c518
meta: Use archlinux instead of arch
The word "arch" by itself may be confused with architecture, so it's
probably best to go with "archlinux" instead.
2018-10-31 11:28:48 -04:00
Donovan Glover
f548384980
meta: Add Arch rice
Here is the start of documentation for my Arch Linux rice. Although
it is mostly reproducible, there are still some parts I'm working on.
2018-10-31 11:20:00 -04:00
Donovan Glover
816b4ea9ff
fedora: Change cursor theme to Breeze
This makes the cursor theme consistent with my Arch rice.
2018-10-31 10:04:48 -04:00
Donovan Glover
9ac25f199c
fedora: Add Makefile
This commit adds a very basic Makefile that simplifies the tasks
required for the Fedora rice. Still a work in progress, but mostly
functional.
2018-10-31 02:42:58 -04:00
Donovan Glover
96e8a778f0
meta: Add Fedora rice
Instead of having a separate repository for each rice, I can instead put
them in this repository (prefixed with ., so that they're not indexed by
the stow Makefile).
2018-10-31 02:38:07 -04:00
Donovan Glover
02019be0d3
stow: Merge wal with bspwm
Realistically, you won't need my wal config if you are not using my
bspwm setup, since wal does a good job at otherwise changing most other
color schemes that you may find in, e.g., a GNOME or Plasma setup.
2018-10-30 16:49:10 -04:00
Donovan Glover
522b92c9cd
stow: Merge term with bspwm
Realistically, you'll be using neither termite nor urxvt if you have
access to a desktop environment since those usually include their own
terminal emulator that works out of the box anyway.

Additionally, many of the benefits from termite and urxvt are not a
necessity in other desktop environments.
2018-10-30 16:36:15 -04:00