Commit Graph

2752 Commits

Author SHA1 Message Date
b3cc7f1ba5 misc: Add tari-dev source files to .gitignore 2018-11-19 21:32:16 -05:00
698225db65 gtk: Update settings.ini
It turns out that desktop environments like GNOME and Plasma will
re-write the GTK settings.ini regardless of whether or not it is
actually used. To avoid diffing issues, I've gone ahead and replaced
my commented settings.ini with the one formatted by KDE Plasma.

Note that the current settings.ini file consists of all the settings you
need in a modern GTK environment. Be wary of programs that attempt to
add legacy options to this file, such as kde-gtk-config.
2018-11-19 21:30:49 -05:00
1c44cd55f6 wal: Modularize done.sh
Instead of trying to do everything at once, done.sh will instead call
other scripts for each individual program that needs to be manipulated.
2018-11-19 20:12:22 -05:00
186495c97e wal: Change bspwm colors
For most color schemes, color 8 is darker than color 7. This makes it
easier to distinguish between focused windows.
2018-11-19 19:35:43 -05:00
616048bd3f archlinux: Add VerbosePkgLists to pacman.conf
Here I commit the addition of VerbosePkgLists for reference. It turns
out that yay's package upgrade list looks significantly better than
pacman's VerbosePkgLists (and is a lot more legible).

Since pacman will not use VerbosePkgLists when the number of terminal
columns is low enough, it makes sense to simply use the default setting
instead.
2018-11-19 19:14:37 -05:00
c07819e5c8 code: Use vs-wal as the default color scheme
vs-wal has some issues such as illegible text and no live reloading,
however, it is (from what I know) the easiest way to use a color scheme
consistent with your setup.

Code will use the default dark theme if vs-wal is not found.
2018-11-19 19:09:23 -05:00
af6181f0bf docs: Add READMEs for gtk, wal, xresources, and yt-dl 2018-11-19 17:50:47 -05:00
322064450c docs: Add READMEs for kitty, xcursor, and xinit 2018-11-18 20:57:03 -05:00
3ee0d9a0b0 docs: Add READMEs for ncmpcpp, ranger, and rofi 2018-11-18 17:06:18 -05:00
58f7581be9 docs: Add READMEs for bspwm, polybar, and rtv 2018-11-18 15:20:14 -05:00
d3537e656e docs: Add READMEs for mpd, mpv, and sxhkd
Contrary to the similarity in naming, mpd and mpv are two completely
different programs that both serve completely different purposes.
2018-11-18 14:34:41 -05:00
fe96f56867 docs: Add READMEs for feh, httpie, and yay 2018-11-18 14:05:12 -05:00
5c04a58082 docs: Add READMEs for compton, dunst, and zathura
Since my dotfiles are now sorted by individual programs instead of in
groups, I'm trying a new README format. This format should provide more
useful information and be easier to read as well.
2018-11-18 13:27:37 -05:00
fb20cb3620 fedora: Install vim plugins during bootstrap.sh
This makes it possible to immediately use vim with all the plugins
installed after running bootstrap.sh, no intervention needed.
2018-11-18 03:46:33 -05:00
b3519b2cd2 kitty: Add default window size
Since kitty would automatically assume a fullscreen or half screen size
as the default, it's much easier to simply specify the size all floating
windows should start out as.

Since kitty allows specifying the size in cells instead of pixels, it
is easy to achieve the same "actual" terminal size regardless of which
DPI is being used.
2018-11-18 02:28:34 -05:00
e6d88d57ad Makefile: Add code-extensions target
Now it is possible to run `make code-extensions` to install all the
extensions I use for the editor Code.
2018-11-17 15:11:59 -05:00
c4b7b69f66 stow: Split bspwm into separate packages
It turns out that placing similar config files (i.e. bspwm-related) in
the same directory is not the way to go about handling dotfiles since
each config file (or dotfile) *should* manipulate only a single program.

This was not the case back when I used urxvt (which would require the
old method of .Xresources), but now that I understand more about how
*modern* dotfiles work (with $XDG_CONFIG_HOME), separating dotfiles by
program became the obvious choice.
2018-11-17 14:58:13 -05:00
200d2b9e7a archlinux: Update install scripts
Instead of running two systemctl commands (start and enable),
one can simply use `systemctl enable --now` instead.

The grub command was removed since I never used it and haven't
found a need to do so.
2018-11-15 21:18:51 -05:00
df766c3a48 meta: Remove all references to urxvt and termite
Now that I've learned kitty, other terminal emulators like termite and
urxvt are no longer necessary. Here I remove any config files that were
necessary for either termite or urxvt and change all terminal options
to kitty.

As an added bonus, a global gtk.css file is no longer necessary. This
contradicted a core idea of dotfiles (that every program should have
its own directory in $XDG_CONFIG_HOME) and was in general a weird hack
that also affected non-termite emulators.
2018-11-15 21:06:15 -05:00
4387ab119c PKGBUILDs: Remove tari-urxvt
It turns out that kitty has support to change all of its colors
independently from the current terminal with a simple command. This
was the only issue I had with making pywal and kitty work together,
so I'm glad I found it.

Additionally, kitty supports DPI changes immediately (at least with
xrdb). There is no need to detach a session and open a new terminal
since kitty will handle DPI changes automatically, compared to other
terminals like urxvt, which would require a new instance. Even then,
the border padding for urxvt is not adjusted to the new DPI; kitty
is simply the way to go if your monitor setup is non-trivial.

As a side note, the kitty documentation is very good. I highly
recommend reading it if you plan to use kitty (which you should).
2018-11-15 17:38:27 -05:00
823a1f4728 Update README
This commit fixes the .archlinux link, moves the Arch Linux section
above Fedora, and attempts to continue simplifying the dotfiles section.
2018-11-15 13:34:24 -05:00
ae1e3133ac meta: Simplify README
Less is more. Remove the list of dotfiles and instead consider
everything modular.
2018-11-15 13:22:57 -05:00
ed0de68a9b stow: Split extras into separate packages
Instead of "hiding" dotfiles in an extra group, it is easier to use
separate packages for each unique set of files. Since I'm working on
making my setup more modular, and since I can stow all my dotfiles with
a single command anyway, this configuration is more appealing now.
2018-11-15 12:38:45 -05:00
b8e61965c7 meta: Split zathura config into separate files
This lets me use my zathura config without relying exclusively on
pywal being set up (theme set, done.sh ran, cache not cleared).
2018-11-15 11:44:01 -05:00
a9caa29b28 meta: Remove plasma config
Since I don't use urxvt anymore, executing pywal at every login is
no longer necessary.
2018-11-15 02:43:15 -05:00
4ada38d874 meta: Split kitty config into separate files
Since kitty.conf can include settings from other files, it is easy to
enforce sane kitty defaults without relying on pywal templates.
2018-11-15 02:26:13 -05:00
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
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
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
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
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
a985bf68e5 gitattributes: Update path to PKGBUILDs 2018-11-14 14:53:00 -05:00
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
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
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
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
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
6b30e9201f fedora: Don't prompt when installing rustup 2018-11-13 14:48:29 -05:00
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
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
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
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
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
1c5515d7a5 Add fedpkg files to .gitignore 2018-11-13 12:32:20 -05:00
5ade063b89 archlinux: Move install scripts to separate directory 2018-11-13 12:30:23 -05:00
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
f9cc32c0c5 Fix typo in .gitattributes
PKGBUILDs, not PKGBUILDS.
2018-11-13 00:33:16 -05:00
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
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
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