Commit Graph

737 Commits

Author SHA1 Message Date
Donovan Glover
8ac1e0f765
archlinux: Add make rust target
Since rustup is just the installer, we have to use it to
install rust.
2018-12-09 23:42:01 -05:00
Donovan Glover
54c2f73d67
gtk: Fix order of settings.ini
Note that these settings should be in alphabetical order to avoid
auto-formatting diffs.
2018-12-09 15:39:54 -05:00
Donovan Glover
948359bdef
archlinux: Add bootstrap.sh
This *should* work, although I haven't tested it yet.
2018-12-08 13:49:29 -05:00
Donovan Glover
6a81d13297
meta: Add bspwm-round-corners-git PKGBUILD
This is the PKGBUILD I made for a [nice patch][1] that adds border
radius support to bspwm. The patch has not been merged upstream yet,
so this PKGBUILD will have to do in the meantime.

[1]: https://github.com/baskerville/bspwm/pull/856
2018-12-08 13:10:12 -05:00
Donovan Glover
9ff3bfa22f
PKGBUILDs: Merge tari-web with tari-core
Since anyone using Tari will probably want the web browsers too,
this change makes sense.

Since all of Tari is now in one PKGBUILD, it is easy to see everything
that will be installed, and it becomes trivial to add or remove packages
as needed.
2018-12-08 12:35:00 -05:00
Donovan Glover
eff526497b
meta: Don't install firefox extensions globally
Updating firefox extensions manually is not ideal. Additionally,
this method is non-trivial to apply if the target system does not
use pacman as the package manager.
2018-12-08 11:26:13 -05:00
Donovan Glover
1050d01e53
fedora: Update path to color scripts 2018-12-08 11:09:23 -05:00
Donovan Glover
05a824ae69
PKGBUILDs: Rename tari-scripts to color-scripts
Since color scripts can be used independently of Tari
(the meta package), this change makes sense.
2018-12-08 11:07:01 -05:00
Donovan Glover
97a5a84d82
archlinux: Fix make clean target
Since this target was moved up one directory, its relative paths
need to be updated as well.
2018-12-08 10:39:42 -05:00
Donovan Glover
39144c4ca0
PKGBUILDs: Rename tari-util-xeventbind to xeventbind
Since Tari will work as an independent PKGBUILD now, and since
xeventbind is an individual program not related to Tari, it makes
sense to remove the associated prefix.
2018-12-08 02:04:08 -05:00
Donovan Glover
1c9fca7dd4
polybar: Decrease bar height
Less bar height means more working screen space.
2018-12-08 01:32:10 -05:00
Donovan Glover
f94d4af3db
PKGBUILDs: Merge tari-plasma and tari-gnome with tari-core
Since I don't have to worry about the completeness of individual desktop
environments, this makes it easier for me to tailor the tools I use to
my use cases.
2018-12-08 01:21:50 -05:00
Donovan Glover
25a30ae30a
compton: Add custom shadow settings
With the default shadow settings, gapless windows would have a shadow
extending far into the polybar above.

This change makes gapless windows show a light separator shadow that
distinguishes the window from the bar. It also fixes a problem with
the appearance of the dock shadow in less noisy environments, while
maintaining the shadow look for floating and tiled windows at the
same time.
2018-12-08 01:02:09 -05:00
Donovan Glover
18972fdb81
PKGBUILDs: Merge tari-desktop with tari-core
Since the collective system is known as Tari, having individual parts
for the pieces that work together to make the whole is not ideal.

Now that I understand more about how Arch Linux works, if I ever needed
to create a non-Tari operating system, I would just use pacman to install
packages as needed, or modify this PKGBUILD to create a new meta package
specific to that system.
2018-12-08 00:48:00 -05:00
Donovan Glover
20fb948b5e
polybar: Fix usage of incorrect background color
color0 is usually the background color, but not always. This fixes an
issue where polybar would not display the right background color if
color0 was different than the background color set by the pywal theme.
2018-12-07 20:30:55 -05:00
Donovan Glover
3efd3aef97
meta: Add symlink to .editorconfig
This should make web interfaces and editorconfig-equipped text
editors show the correct amount of spacing for tab characters.
This should also make it easy for contributors to use the right
indentation and other file settings.
2018-12-07 19:25:12 -05:00
Donovan Glover
63dccefed3
misc: Small fixes 2018-12-07 18:47:38 -05:00
Donovan Glover
53f3ef09f4
PKGBUILDs: Merge tari-dev with tari-core
Not all of these packages may be useful to everyone, and that's fine.
Any list I create won't satisfy everyone, but reducing the number of
PKGBUILDs makes it easier to see and change all the packages installed
on the system as a whole.

Due to the nature of how Arch Linux works, most users won't even need my
PKGBUILDs. With the exception of setting up X with a bare-minimum window
manager, installing and configuring most software is as simple as using
pacman to install that software and symlinking any config files you want
to their relevant directories, if any.
2018-12-07 18:06:19 -05:00
Donovan Glover
57177600c6
meta: Remove fish completions for httpie
There is an open bug that should be resolved before or during the
Arch Linux Bug Day coming up next month (January 2019). Either way,
manually updating the httpie version becomes impractical after some
time; it's best to apply this fix upstream instead.
2018-12-07 17:38:44 -05:00
Donovan Glover
e627c60540
meta: Don't install vim plug globally
Since my .vimrc already installs the same version of vim plug,
and since any user can symlink my dotfiles, using a PKGBUILD to
install it is redundant and arguably less portable.
2018-12-07 17:29:48 -05:00
Donovan Glover
5fa02b42be
PKGBUILDs: Merge tari-bspwm with tari-desktop
As ironic as this may sound, less user choice means that there's less
room for error. Plus, it makes things conveniently easier for me and
possibly every other user of the software.
2018-12-07 16:53:45 -05:00
Donovan Glover
ba704bab08
PKGBUILDs: Merge tari-cli with tari-core
Realistically, if I'm installing the tari packages, I more often than
not want everything with it. If I am aiming for a minimalist setup
without X11 or Wayland, I will probably not use the tari packages
anyway.
2018-12-07 16:15:54 -05:00
Donovan Glover
3d9a699812
archlinux: Add make yarnconfig target
Since ~/.yarnrc is an autogenerated file, we configure it through
the Makefile instead.
2018-12-07 15:59:51 -05:00
Donovan Glover
8ea57dabf5
meta: Add CONTRIBUTING.md
Feel free to contribute to my dotfiles. I think it's great if
anyone uses them, since I tried to make them easily approachable,
extensible, and usable.
2018-12-07 15:56:27 -05:00
Donovan Glover
9ddd20f348
archlinux: Add make fontconfig target
fontconfig is used to maximize the visual appearance of fonts.
2018-12-07 15:34:24 -05:00
Donovan Glover
613d21a099
misc: Add aur build directory to .gitignore 2018-12-07 15:26:05 -05:00
Donovan Glover
6f58c47506
fedora: Revoke sudo privileges when no longer needed
We don't need sudo privileges when installing the dotfiles and
vim plugins.
2018-12-07 15:24:16 -05:00
Donovan Glover
15047e15e6
archlinux: Add make aur target
This is a very simple AUR helper.

Usage: make aur package=<package>
2018-12-07 03:25:34 -05:00
Donovan Glover
1a0304003f
docs: Simplify process of using install scripts
Now that install.sh downloads the other scripts if they are not present,
fetching this entire repository is no longer necessary.
2018-12-06 18:32:07 -05:00
Donovan Glover
0be668443e
archlinux: Clone this repository to the user's $HOME
This makes it easier to immediately start using dotfiles and other
config settings on first boot. It may even be useful to add an option
to run the entire bootstrap script in the installation media. Note that
if this route is taken, some assumptions regarding installation will
have to be changed to adjust for the chroot environment.
2018-12-06 18:27:33 -05:00
Donovan Glover
71179c2e67
fish: Remove git grep abbreviation
As cool as "gg" is to type, I never used git grep since ripgrep works
just as great (and is almost always easier to read as well).
2018-12-06 18:11:07 -05:00
Donovan Glover
f320b0c294
archlinux: Add single install script support
This commit makes it so that downloading the entire repository to run
the install scripts is no longer necessary.

It assumes that you have an active internet connection, which should be
a given since you need an internet connection to run pacstrap anyway.
2018-12-06 17:39:59 -05:00
Donovan Glover
1e7cb458ea
compton: Remove redundant clear-shadow option
Clear shadow is now used by default in compton. Note that if you are
running an older version of compton, you should probably upgrade.
2018-12-06 15:05:38 -05:00
Donovan Glover
476f34f107
bspwm: Change desktop names
It turns out that bspwm desktop names can be anything you want.

They can also include spaces, since they're just strings.
2018-12-06 14:23:50 -05:00
Donovan Glover
5ca492277b
kitty: Decrease window margin width
This increases the amount of available space we have to work
with kitty windows.
2018-12-06 01:52:45 -05:00
Donovan Glover
309f428550
meta: Add tig package
Sometimes theme colors are very light. This commit fixes the problem
of white text being shown on light backgrounds.
2018-12-06 01:42:53 -05:00
Donovan Glover
8c1545c4e8
kitty: Use distinguishable border colors
Now that I use borderless and gapless windows by default, the window
management feature of kitty has become even more useful to me. This
change makes it easy to determine the active kitty window.

Despite having used tmux exclusively before, I have grown accustomed to
the benefits of using kitty as the window manager. tmux may still be
useful, for example, over ssh, but kitty is arguably the way to go for
local user sessions.
2018-12-06 01:37:18 -05:00
Donovan Glover
72411885cd
fish: Add color to man pages
Note that this will affect the output of `env` since color codes are
used. Using a function to invoke man is not ideal since fish uses its
own function for its man pages.
2018-12-05 23:31:06 -05:00
Donovan Glover
c0526a8c55
meta: Modernize polybar
It turns out that merge commit messages are used to keep track of
branch information since the commits themselves only reference other
commits and the actual branches may be deleted at a future date (even
`git clone` by default will not pull in any other branches).

Personally, I find a meaningful commit message more useful than a merge
commit message, so I'll be using that instead. Later when looking at
the commit history, "Merge branch <branch_name>" will not be useful
since the mentioned branches will have already been deleted.

Some projects rebase all changes into one commit, then push that
single commit to master. This seems like a very convenient approach
for small fixes, although if done for larger changes, each individual
commit and its respective explanation is lost.

In particular, this merge commit adds a bunch of config changes that
make polybar (and the system itself) more practical to use. Borders and
gaps are now disabled by default, and can be manually set through bspc
for your ricing needs.
2018-12-05 22:24:51 -05:00
Donovan Glover
454848572a
polybar: Fix padding
It turns out that the left padding from the bspwm labels are used in
addition to the left padding from polybar, so in order for padding to be
consistent across both the left and right sections, the section with the
bspwm module needs to have its padding subtracted by the amount used by
the bspwm labels.
2018-12-05 18:06:34 -05:00
Donovan Glover
72152ad7f6
polybar: Set foreground to background-alt by default
Since basically everything uses background-alt, it's easier to make
each module inherit this property instead.
2018-12-05 17:38:42 -05:00
Donovan Glover
62619de372
polybar: Don't distinguish between empty desktops
Time will tell whether or not I keep this, but one less color makes
it easier to seamlessly integrate the bar with different color schemes.

With this change, the interface is also arguably cleaner.
2018-12-05 17:34:09 -05:00
Donovan Glover
b14e971165
polybar: Decrease bspwm label padding 2018-12-05 15:37:37 -05:00
Donovan Glover
2439706a28
polybar: Show title of focused window at center
It turns out that showing the window title is very useful for actually
using the window manager, especially with no visual indicator through
window borders to determine which one is selected.
2018-12-05 15:35:01 -05:00
Donovan Glover
1e8652d638
polybar: Remove ws-icons
This can be handled by bspwm instead.
2018-12-05 14:51:59 -05:00
Donovan Glover
1ad54203d2
meta: Add git branch information to fish prompt
If I stayed on zsh instead of switch to fish, I would've probably never
known how easy it is to add certain information to the prompt. Since
the prompt itself is just a function, you can run any commands you want
inside it to get information, including git commands.

This commit adds the current branch you're on only when inside a git
repository, and only when you're not in a tty.
2018-12-05 11:45:29 -05:00
Donovan Glover
8b12687dd8
polybar: Remove border width and window gap by default
Realistically, you use a window manager to take up all the available
space on a screen. Borders and gaps are counter-intuitive in this
regard.

Since polybar has a module that shows the title of the focused window,
using a border width even in gapless mode is no longer necessary. This
also works conveniently well with bspwm's monocle desktop layout, which
will also inherit the no-border no-gaps methodology and take up all the
available screen space.
2018-12-05 11:31:38 -05:00
Donovan Glover
f1b4f82556
polybar: Remove the no bar option
It turns out that polybar is able to provide very useful information for
window management in bspwm, so much so that disabling the bar completely
wouldn't make sense.

Since there's already a way to hide the bar (with a sxhkd keybind), and
since a "no bar" option would break this functionality even though the
hidden bar keybind produces the same result, it makes sense to remove
this.
2018-12-05 11:24:55 -05:00
Donovan Glover
7732bc7c52
docs: Update install-scripts README
In the near future the install scripts should be usable with
a single and simple command.
2018-12-04 15:15:47 -05:00
Donovan Glover
0d2bfe21f8
misc: Update docs
Some minor changes to make things a bit more consistent.
2018-12-04 15:11:41 -05:00