1
0
forked from extern/nix-config
Commit Graph

971 Commits

Author SHA1 Message Date
Donovan Glover
fcc021daa5
meta: Change cursor size based on DPI
Now that I figured out how to change cursor size for all applications
and not just a select few, restarting the X session to use a new cursor
size is no longer necessary.
2018-12-22 15:52:31 -05:00
Donovan Glover
49e6b75969
rofi: Launch programs with DPI-based cursor size
Now it is possible to take advantage of different cursor sizes
without restarting the X session.
2018-12-22 15:43:01 -05:00
Donovan Glover
b083794a19
xeventbind: Change cursor size on resolution change
Note that some applications will not respect xsetroot, so using
XCURSOR_SIZE as well is necessary.
2018-12-22 15:37:05 -05:00
Donovan Glover
e93cd4006d
misc: Fix spacing 2018-12-17 23:07:29 -05:00
Donovan Glover
b2ff1f09f9
docs: Remove old todo
This repository is now cloned as part of install.sh. It is up to the
user whether or not they want to run bootstrap.sh on first boot.
2018-12-17 15:51:13 -05:00
Donovan Glover
571c03bb55
meta: Add git tag information to fish prompt
Now that I understand how tags work in git, keeping track of the current
revision number with the shell prompt is actually very useful.
2018-12-17 15:45:39 -05:00
Donovan Glover
f6e2997e28
httpie: Update version number 2018-12-17 15:37:41 -05:00
Donovan Glover
6e92980c75
docs: Add Code screenshot 2018-12-15 20:04:05 -05:00
Donovan Glover
b58f25c793
docs: Add screenshot 2018-12-14 16:56:06 -05:00
Donovan Glover
23cea296d1
meta: Release 0.2.0
Lots of changes here, with lots of improvements as well!
2018-12-12 23:48:34 -05:00
Donovan Glover
d812ff86aa
misc: Update docs
Changing between desktop environments is no longer a feature since
it's easier and more convenient to use only one environment, although
it's still certainly possible for the determined user.
2018-12-12 19:23:54 -05:00
Donovan Glover
26a074eeb4
archlinux: Install rust toolchain during bootstrap.sh
This is necessary during the bootstrap step since the shotgun
PKGBUILD assumes that a rust toolchain is installed.
2018-12-12 08:29:32 -05:00
Donovan Glover
044d919bba
archlinux: Clone this repository as the proper user
This fixes an issue where root would own all the files in the user's
~/.files directory, preventing the user from doing anything useful.
2018-12-12 06:53:45 -05:00
Donovan Glover
c552c3b633
archlinux: Fix make refresh-keys target
The bootstrap script was trying to call refresh-keys when the make
target was named update-keys. Since the flag is called --refresh-keys,
it makes sense to call the make target refresh-keys as well.
2018-12-12 06:47:36 -05:00
Donovan Glover
bb5537c30a
sxhkd: Add variable DPI support to dropdown.sh
This makes the dropdown terminal render properly in both 96 and 192 DPI,
as well as any multiples thereof.
2018-12-12 06:18:21 -05:00
Donovan Glover
bceec89b6a
sxhkd: Add variable DPI support to screenshot.sh
This makes the feh window render correctly in both 96 and 192 DPI,
as well as any multiples thereof.
2018-12-12 06:15:33 -05:00
Donovan Glover
5f0320f2bf
polybar: Switch label-mode with label-state
Now that the desktop labels cover less width and have lower padding,
it makes sense to place label-mode on the right side instead of the left.

This fixes an issue with padding I previously encountered with the old
desktop labels, and also prevents the desktop labels from being shifted
to the right when a label-mode is present.
2018-12-12 05:25:32 -05:00
Donovan Glover
ca23bbabd9
meta: Add kdeglobals package
This lets us use the Arc Dark theme in Qt / KDE applications without
having to worry about setting it through Plasma's system settings
interface.

Note that it's probably possible to change the color values to get any
look you want; one could even automate this process through pywal, and
symlink ~/.config/kdeglobals to ~/.cache/wal/kdeglobals.
2018-12-11 17:09:49 -05:00
Donovan Glover
0394f17390
misc: Update docs 2018-12-11 16:31:10 -05:00
Donovan Glover
ebb3663105
archlinux: Remove --now flag from lxdm.service
We don't want to start lxdm during the bootstrap process.
2018-12-11 15:53:22 -05:00
Donovan Glover
ce8a2e54c7
meta: Update Arch Linux bootstrap process
Fixed some things which should make the entire process a bit
more fluent.
2018-12-11 15:51:10 -05:00
Donovan Glover
a063e1aa18
meta: Update tari-core
Removed Plasma as an option and added some missing packages.
2018-12-11 15:46:28 -05:00
Donovan Glover
4dfbc5d469
docs: Update README 2018-12-11 15:42:41 -05:00
Donovan Glover
bb5b168ca5
archlinux: Add make gnome target
Here are some good default GNOME settings for when you want to boot
into the gnome shell instead of bspwm.
2018-12-11 15:16:07 -05:00
Donovan Glover
7825eed62f
archlinux: Enable the lxdm service
Note that we enable lxdm before revoking privileges. The user can
start lxdm manually after this script is finished, but ideally the
system should first be rebooted to ensure that any kernel updates
are applied properly.
2018-12-11 15:11:37 -05:00
Donovan Glover
d4475bbf3a
archlinux: Add shantz-xwinwrap-bzr
This makes it possible to draw mpv on your desktop. In other words, it
lets you use animated backgrounds with any format mpv supports.
2018-12-11 14:39:12 -05:00
Donovan Glover
e7f00aa7f8
archlinux: Run xdg-user-dirs-update during bootstrap.sh
Note that the directories generated can be changed with
user-dirs.dirs, and should respect the user's locale.
2018-12-11 14:32:16 -05:00
Donovan Glover
1324f4099a
archlinux: Remove bspwm-round-corners-git from bootstrap.sh
It turns out that manual intervention is necessary to resolve dependency
conflicts (bspwm-round-corners-git replaces bspwm), so it is easier to
simply install bspwm-round-corners-git later if wanted.
2018-12-11 14:23:00 -05:00
Donovan Glover
429a56d480
archlinux: Refresh keys before installing packages
This fixes an issue where some packages cannot be verified if
they use new keys.
2018-12-09 23:57:47 -05:00
Donovan Glover
49c0091f1b
archlinux: Use yay to install AUR packages
It turns out that yay automatically handles the process of installing
package dependencies not in the official repositories. This is very
important for some PKGBUILDs, so I've gone ahead and let yay handle
all the AUR packages I build.
2018-12-09 23:52:24 -05:00
Donovan Glover
cdad1fe3bf
archlinux: Remove dependency step from bootstrap.sh
Any dependencies that need to be installed will be done so from
tari-core.
2018-12-09 23:44:49 -05:00
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
c93c4dc60f
tari-core: Add missing packages
Note that plasma-integration is used for KDE theme support without
installing the entire plasma-desktop. The breeze_cursors theme is
included in the breeze package, and xorg-xsetroot is used to change
the default X shaped cursor to a pointer.
2018-12-09 23:31:29 -05:00
Donovan Glover
6ca65d02eb
meta: Remove unused packages
Since I figured out how to run both KDE and GTK applications with
their proper settings under any lightweight window manager, and since
I now know how to configure these programs independent of their desktop
environments, this commit removes plasma-desktop, with the possibility
of gnome-shell bring removed in a future commit as well.

The rationale is that using a desktop environment is counter-intuitive
when you already use a window manager. Having multiple desktop environments
to start a session with is certainly amusing, but not at all practical,
especially when you can accomplish anything that needs to be done with
any window manager.

Switching between GNOME, Plasma, and bspwm also caused some inconsistent
X settings that I assume are non-trivial to fix without a proper restart
of the X server.

Simply starting the Plasma desktop environment will create quite a few
files in ~/.config. These files consist of window coordinates and other
non-friendly things, which, IMO, should not belong in the *user's* config
directory.

Regarding other software, GNOME MPV is arguably easier to use and less
buggy than baka-mplayer. Manipulating archives is also much easier with
file-roller than it is with ark. Since I got Audacity to look decent on a
HiDPI display, I no longer have a use for Kwave, which did not have some
of the essential features I used in Audacity anyway.

l3afpad functions much more like a notepad than kwrite, which is what
I'm looking for since I already use Vim. Using Cantata as a mpd client
is simply not the same as using ncmpcpp. zathura and evince are more
than enough for document viewing, hence the removal of Okular.
2018-12-09 22:33:57 -05:00
Donovan Glover
f649795900
tari-core: Use one line per package
This makes it easy to remove unwanted packages as needed. It also
improves git diffs, since the line with the closing parenthesis
is not changed.
2018-12-09 19:24:56 -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