1
0
forked from extern/nix-config
Commit Graph

862 Commits

Author SHA1 Message Date
Donovan Glover
9bdcba18c8
archlinux: Ask for size of primary partition 2018-12-02 17:15:11 -05:00
Donovan Glover
86573141fc
meta: Update PKGBUILDs
tari-util is no longer used, and some dependencies have been fixed.
2018-12-02 16:59:40 -05:00
Donovan Glover
69e2a52bf2
tari-web: Remove unnecessary dependencies
Since fonts and other desktop-related packages are now handled by
tari-desktop, this is no longer necessary. Note that I also created
tari-web before I figured out HiDPI support for Qt and GTK applications.
2018-12-02 16:18:12 -05:00
Donovan Glover
83598a092c
meta: Remove tari-util
I initially created tari-util as a package to be pre-built and installed
in the installation media. This was a while ago, and now that I know
exactly how the installation process and PKGBUILDs work, all the
previous issues I had with makepkg turned out to not be issues at all.
2018-12-02 15:48:11 -05:00
Donovan Glover
2935a4f007
PKGBUILDs: Clean up spacing
One dependency per line seems to be the way to go here.
2018-12-02 15:31:21 -05:00
Donovan Glover
14dbf3d51f
archlinux: Fix path for config files
Since I am trying to get 004-postinstall to work in the installation
media, the config paths need /mnt added to them.
2018-12-02 10:51:31 -05:00
Donovan Glover
6faca9353f
archlinux: Enable systemd services before first boot
This should work, although I haven't tested it yet.
2018-12-02 10:47:47 -05:00
Donovan Glover
4b97b8df9d
archlinux: Handle reads through new install.sh
This not only fixes the issue where set -x would cause the read
line to be altered, but also separates user input from what the
install scripts actually do.
2018-12-02 01:12:09 -05:00
Donovan Glover
f413aff320
meta: Release 0.1.0
0.1.0 has to happen sooner or later, might as well do it now!
2018-12-01 23:06:45 -05:00
Donovan Glover
e75dd9cc77
archlinux: Remove shortened timeouts from system.conf
I added shortened systemd timeouts when I didn't know how to use
journalctl. But now that I know enough to fix things that might
stall these commands, this is no longer necessary.
2018-12-01 21:24:41 -05:00
Donovan Glover
5e3b57d42f
archlinux: Remove redundant timedatectl command
Since all systemd's timedatectl does is create the same symlink we
made in the installation media, duplicating it here isn't necessary.
2018-12-01 21:07:55 -05:00
Donovan Glover
622a01a711
meta: Remove rofi-pass
As much as rofi-pass may appear to be useful, it is simply easier to
just use the pass command directly, especially if you have a passphrase
set on the private encryption key you use to unlock passwords.
2018-12-01 19:50:12 -05:00
Donovan Glover
3406ed5a4d
meta: Remove rofi-calc and rofi's window mode
Although rofi-calc was certainly cool to use, it is not in the
official repositories. Instead of trying to rely on it as a
dependency, I've gone ahead and removed it instead.
2018-12-01 19:17:21 -05:00
Donovan Glover
5099a8838b
sxhkd: Use rofi launch script
This gives the task of setting environment variables to rofi's
launch.sh, instead of trying to do it in sxhkdrc.

Another benefit is that rofi can be launched properly from anywhere,
regardless of whether or not sxhkd is being used.
2018-12-01 18:55:46 -05:00
Donovan Glover
9f27d4e13a
meta: Remove launch dependency
Now that I know how to use terminal multiplexers, and now that I
understand more about how shells and terminals work, the launch
dependency is no longer necessary.

Additionally, *too many* abbreviations is difficult to use in the long
term, no matter how short the commands are. Since I don't need to launch
programs from the terminal as often anymore (now that I use rofi and
other programs), this change makes sense.
2018-12-01 18:18:44 -05:00
Donovan Glover
d7a0419c2b
fish: Remove 'hub' and 'lab' functions
Typing git repositories in the format 'hub' and 'lab' accepted actually
took more time than simply copy/pasting the URL for `git clone`. Sometimes
we didn't even *want* to change our current directory, which made these
functions impractical.

Having to use `git clone` directly helps us remember what we're actually
doing when we clone a repository, and should be preferred over aliases
and other functions that try to do the same.
2018-12-01 15:57:26 -05:00
Donovan Glover
7fc6547a8b
fish: Remove 'git home' function
It turns out that I don't use this function at all, so I'm removing it.
2018-12-01 15:28:52 -05:00
Donovan Glover
568d3e613a
docs: Add READMEs for PKGBUILDs and install scripts 2018-12-01 14:30:18 -05:00
Donovan Glover
282288ab24
archlinux: Add executable bit to install scripts
Now the install scripts are immediately accessible without the need
to run chmod in the installation media.
2018-12-01 12:50:03 -05:00
Donovan Glover
30d4b680e9
meta: Change directory name from dotfiles to .files
Besides the fact that .files is indisputably cooler, using a literal dot
instead of the actual word makes this a hidden directory, which is great
since configuration files are expected to be hidden by default.

This also keeps our home dir nice and tidy, with only directories
generated by xdg-user-dirs.
2018-12-01 11:58:27 -05:00
Donovan Glover
15e6e1b766
neofetch: Remove image size
When the viewport size is unknown, auto image sizing should be used,
since otherwise the image may appear too small or too large.
2018-11-30 18:51:28 -05:00
Donovan Glover
26c57a6b8d
fish: Add tty-specific prompt
Since most (if not all) ttys will not support the arrow unicode
character, we remove it from the tty prompt.
2018-11-30 18:43:41 -05:00
Donovan Glover
62f4b07b24
PKGBUILDs: Update tari-cli and tari-desktop 2018-11-30 17:38:53 -05:00
Donovan Glover
3f437451af
polybar: Decrease border size
Since all modes now share the same border width, it may be useful to
simplify setting the border size in a future commit.
2018-11-30 17:22:29 -05:00
Donovan Glover
0fa128a3fb
kitty: Always close when the shell exits
Since fish will warn when there are background processes before exiting,
and since when we type "exit" we really do want to close both the shell
and its corresponding terminal window, this change makes sense.
2018-11-30 17:01:29 -05:00
Donovan Glover
919e0b8c23
docs: Add updating section to README 2018-11-30 16:52:44 -05:00
Donovan Glover
996afdc310
fedora: Add make clean target
In attempt to keep the home directory as clean as possible, we remove
the rpmbuild directory when we're done with it, which, as of this
writing, will not contain any files anyway.
2018-11-30 16:48:03 -05:00
Donovan Glover
ede159908c
misc: Small fixes
Some minor things I noticed that don't warrant their own commits.
2018-11-28 23:04:00 -05:00
Donovan Glover
440324f99c
archlinux: Update README
As a side note, running a bootstrap.sh in a post-install environment is
significantly easier (and more practical) than trying to accomplish
every step before a reboot in the installation image. This separates
things like making partitions from the actual system.
2018-11-28 22:55:41 -05:00
Donovan Glover
b6f46ad1e8
fedora: Fix make all target
As far as I know this is the proper way to run other make targets
from the same Makefile.
2018-11-28 22:25:45 -05:00
Donovan Glover
72b2df5864
PKGBUILDs: Add tari-plasma and tari-gnome
Note that most (if not all) of these programs can run inside any
environment with the same expected behavior, not just Plasma and GNOME,
provided the proper environment variables and config values are set.
2018-11-28 22:00:14 -05:00
Donovan Glover
74b6975ba5
PKGBUILDs: Add tari-util-xeventbind
xeventbind is a useful program that lets you run any command on
resolution change, similar to how GNOME on Wayland is able to change
scaling on on resolution change, but not exactly.

Since we're still using X, existing programs are not affected; they
have to be restarted instead.
2018-11-28 20:45:39 -05:00
Donovan Glover
361abf7c98
polybar: Add variable DPI support
This commit adds full variable DPI support to polybar. This means that
it is possible to use the same polybar setup on both a traditional and
HiDPI display.

Additionally, font size has been slightly adjusted since polybar does
not support decimal font sizes. Some other numbers have also been
changed.
2018-11-28 15:38:07 -05:00
Donovan Glover
287e1211de
kitty: Use ideal terminal size for neofetch
It turns out that neofetch works exceptionally well with this terminal
size, so I'm making it the default in kitty.

Now I can use neofetch without having to worry about resizing the
terminal window for the desired effect.
2018-11-28 14:58:26 -05:00
Donovan Glover
ba2a16ecdc
polybar: Remove underline colors
Since I don't use underline colors anymore, I'm removing them. They
didn't really go well with the appearance I was trying to make.
2018-11-28 14:46:26 -05:00
Donovan Glover
bf73c5c8cc
fedora: Use base16-tomorrow-night by default
For software development and other practices where distinguishing
between the colors in a color scheme is important (e.g. red versus
green, etc.) the base16-tomorrow-night theme offers a great middle
ground between aesthetics and readability.
2018-11-27 19:31:03 -05:00
Donovan Glover
ede777cd66
rofi: Remove unused modes
It turns out that 'window' (as of this writing) does not work very well
when trying to use it as an alt-tab replacement. It's simply easier to
just use the functionality provided by your window manager instead.

I have never used rofi's 'run' feature, since any time I'd need to run
a command I'd just do it from a terminal, which also lets me see any
output from that program as well.
2018-11-27 19:24:20 -05:00
Donovan Glover
d1d30591fd
misc: Update wording
Some minor changes here that don't affect anything.
2018-11-27 19:02:23 -05:00
Donovan Glover
a894674c64
sxhkd: Add bspc hidden flag functionality
Note that window order is not based on the order in which windows are
hidden, but something else entirely. For this reason, it is recommended
to hide only one window at once.

A more robust solution would be to let the user choose from a list of
available hidden windows, potentially through rofi's dmenu capability.
2018-11-27 18:58:05 -05:00
Donovan Glover
9f0809220a
bspwm: Remove toolkit-specific environment variables
Instead of managing these variables at the bspwm level, we can simply
use rofi instead. This means that applications can be launched in other
desktop environments with the correct settings applied through rofi.
2018-11-27 18:51:25 -05:00
Donovan Glover
e1181665dd
archlinux: Add Makefile 2018-11-27 18:47:05 -05:00
Donovan Glover
317e7b3a74
gtk: Use default GNOME font settings
Now GTK applications have consistent font size across
both GNOME and non-GNOME environments.
2018-11-27 18:41:28 -05:00
Donovan Glover
82f6bf2c7e
fedora: Remove rice-specific packages from muya.spec
The actual rice is performed by the make target, so it makes sense
to remove the duplication here.
2018-11-27 18:31:28 -05:00
Donovan Glover
f964dff841
fedora: Apply GNOME settings during rice target
Instead of applying the GNOME settings manually, we set them
automatically when running `make rice` instead.
2018-11-27 18:30:57 -05:00
Donovan Glover
a0d1211a89
docs: Update README
Since many people would want to pick and choose which dotfiles to
use, it makes sense to improve the instructions for this use case.
2018-11-25 22:45:27 -05:00
Donovan Glover
397ee54082
meta: Add GNOME package
Since GNOME is configured through dconf and gsettings, it is easy to
write scripts for each group of settings that we want to change.
2018-11-25 22:10:35 -05:00
Donovan Glover
abdc5317e1
vim: Remove vimtex-delim-close keybind
This keybind was causing a delay every time I typed ']', which
was uncomfortable to use, so I removed it.
2018-11-25 20:54:43 -05:00
Donovan Glover
0a5d8f0d75
PKGBUILDs: Add tari-desktop, tari-cli, and tari-bspwm
Now that I understand more about how GNU/Linux distributions, display
managers, and X sessions work, it makes sense to separate meta packages
based on environment used.

When you use a display manager, you're just starting X in a fancy way.
Since you can run any program you want on the X server, it is easy to
install multiple desktop environments on the same machine and switch
between them easily, provided your setup is adequately modular (which
it should be by default).
2018-11-25 13:29:37 -05:00
Donovan Glover
076d00e65f
rofi: Scale windows pragmatically with launch.sh
Instead of manually setting the DPI to 192 or other values, we can
just take the value from xrdb instead.

This script, in combination with GTK's settings.ini if you are in a
non-GNOME environment, is everything you need to launch both GTK and
Qt applications at the appropriate DPI, with their respective themes
applied as well.
2018-11-23 14:53:39 -05:00
Donovan Glover
ab546aed60
neofetch: Make new stow package with config.conf
Instead of relying on a fish function to configure neofetch,
we can use config.conf instead.

Since neofetch is an independent program, we also make a new stow
package for it, instead of relying on the fish config being present.
2018-11-23 13:24:30 -05:00