1
0
forked from extern/nix-config
Commit Graph

803 Commits

Author SHA1 Message Date
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
Donovan Glover
c794cce477
fedora: Update README
Since I now know how GNOME works (using dconf and gsettings), changing
settings manually with GNOME Tweaks is no longer necessary. Instead,
everything can be handled directly through the `make rice` command.
2018-11-23 10:15:15 -05:00
Donovan Glover
c6c845851a
compton: Enable fading
It turns out that compton has received many bugfixes and improvements
since the last time I used the fading effect. It is a nice animation
that adds a bit of spice to the desktop, so I've enabled it for now.
2018-11-23 02:15:28 -05:00
Donovan Glover
747ed142b2
stow: Split neovim into separate package 2018-11-23 01:47:39 -05:00
Donovan Glover
0db520b429
docs: Update READMEs for ssh-agent, vim, and xmodmap
This completes the process of updating all the old READMEs
to the new format.
2018-11-23 00:27:58 -05:00
Donovan Glover
5679c7092c
bspwm: Add HiDPI support for GTK applications
It turns out that GDK_SCALE and GDK_DPI_SCALE is what you need to add
HiDPI support to GTK applications. Since you probably have .Xresources
adjusted for your HiDPI display, you will need to set both GDK_SCALE and
GDK_DPI_SCALE at the same time to render things properly.

Ironically, I never got this to work before. Maybe because I was always
using 'GTK_SCALE' instead of 'GDK_SCALE', or maybe because I never used
both GDK_SCALE and GDK_DPI_SCALE at the same time.

This gives me full HiDPI support in bspwm, with the exception of a few
applications (polybar, dunst) that don't honor DPI as of this writing.
2018-11-21 21:18:00 -05:00
Donovan Glover
0e0fe82b03
sxhkd: Remove redundant environment variable
Since QT_FONT_DPI is already set in bspwmrc, there is no need to define
it here with the same value.
2018-11-21 19:02:19 -05:00
Donovan Glover
e719ee70a8
gtk: Use Arc-Dark instead of Adapta
Since the Adapta theme isn't maintained anymore, some problems in newer
versions of GNOME (such as incorrect padding for text underlines in
Nautilus) cannot be reported since issues are disabled.

It turns out that Arc-Dark does have padding, I just wasn't scaling GTK
applications properly. Since I already use the Arc theme for KDE, using
it for GTK as well gives all my desktop applications a universal look
and feel.

The solid variant is used instead of the original to remove the
transparent effect seen in Nautilus. The Arc GTK theme supports both
light and dark color schemes, which is very nice.
2018-11-21 18:57:22 -05:00
Donovan Glover
8ac416880d
xresources: Change DPI from 180 to 192
It turns out that some software will not render properly if the DPI is
not set using increments of 25% (i.e. 96, 120, 144, 168, 192, etc.).

Since GNOME and Plasma already use a scale factor of 2x, it makes sense
to use 2x for .Xresources as well. Now GTK and Qt applications should
share the same size across both bspwm and their respective DEs.
2018-11-21 18:34:35 -05:00
Donovan Glover
f9d9b65ab8
docs: Update READMEs for code, editorconfig, and gpg 2018-11-19 22:50:09 -05:00