1
0
forked from extern/nix-config
Commit Graph

640 Commits

Author SHA1 Message Date
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
Donovan Glover
6ccf5d3352
docs: Update READMEs for fish, git, and tmux
This is the start of a process to change the old
READMEs to the new format.
2018-11-19 22:00:35 -05:00
Donovan Glover
b3cc7f1ba5
misc: Add tari-dev source files to .gitignore 2018-11-19 21:32:16 -05:00
Donovan Glover
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
Donovan Glover
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
Donovan Glover
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
Donovan Glover
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
Donovan Glover
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
Donovan Glover
af6181f0bf
docs: Add READMEs for gtk, wal, xresources, and yt-dl 2018-11-19 17:50:47 -05:00
Donovan Glover
322064450c
docs: Add READMEs for kitty, xcursor, and xinit 2018-11-18 20:57:03 -05:00
Donovan Glover
3ee0d9a0b0
docs: Add READMEs for ncmpcpp, ranger, and rofi 2018-11-18 17:06:18 -05:00
Donovan Glover
58f7581be9
docs: Add READMEs for bspwm, polybar, and rtv 2018-11-18 15:20:14 -05:00
Donovan Glover
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
Donovan Glover
fe96f56867
docs: Add READMEs for feh, httpie, and yay 2018-11-18 14:05:12 -05:00