mirror of
https://github.com/donovanglover/nix-config.git
synced 2024-11-15 21:03:59 +01:00
meta: Remove remaining fedora scripts
Like most things in life, it's time to move on from maintaining Fedora-specific scripts. Although I like using Fedora when given a random machine, my setup is much easier to reproduce on Arch Linux. For most users, they may not even need a desktop operating system like Fedora in the first place since mobile devices are typically more secure, easier to carry around, and can do most if not everything that a desktop can, especially in the year 2022.
This commit is contained in:
parent
adc372a0a2
commit
3c93bc4bab
@ -1,22 +0,0 @@
|
||||
install=sudo dnf install --assumeyes
|
||||
copr=sudo dnf copr enable --assumeyes
|
||||
|
||||
.PHONY: all
|
||||
all: rice kitty wal
|
||||
|
||||
.PHONY: rice
|
||||
rice:
|
||||
@${install} pop-gtk-theme pop-icon-theme breeze-cursor-theme
|
||||
@../gnome/.config/gnome/extensions.sh
|
||||
@../gnome/.config/gnome/antialiasing.sh
|
||||
@../gnome/.config/gnome/pop-gtk-theme.sh
|
||||
@../gnome/.config/gnome/breeze-cursor-theme.sh
|
||||
|
||||
.PHONY: kitty
|
||||
kitty:
|
||||
@${copr} gagbo/kitty-latest
|
||||
@${install} kitty
|
||||
|
||||
.PHONY: wal
|
||||
wal:
|
||||
@pip3 install --user pywal
|
@ -1,49 +0,0 @@
|
||||
# Muya - A light rice for Fedora
|
||||
|
||||
> NOTE: As of 2022, none of my machines run Fedora, so this may need some modifications to get working correctly.
|
||||
|
||||
This is my setup for [Fedora][fedora], a [GNU/Linux][gnulinux] distribution that ships with GNOME by default, making it an ideal choice for most users. This guide covers a *simple* rice that will make your Fedora look much nicer than the defaults. It only uses packages from the official repositories, making it quick and easy to set up on any machine.
|
||||
|
||||
> This guide will work with the **latest version** of Fedora (29 as of this writing).
|
||||
|
||||
## Use my GNOME theme and settings
|
||||
|
||||
To copy the look and feel of my GNOME setup, run:
|
||||
|
||||
```sh
|
||||
make rice
|
||||
```
|
||||
|
||||
That's it! You now have a very simple Fedora rice.
|
||||
|
||||
## Use my packages and scripts
|
||||
|
||||
### Install kitty
|
||||
|
||||
Use `make kitty` to install the [kitty](/kitty) terminal emulator.
|
||||
|
||||
### Install wal
|
||||
|
||||
Use `make wal` to install [pywal](/wal).
|
||||
|
||||
### Install crystal
|
||||
|
||||
Use `make crystal` to install the [Crystal][crystal] programming language.
|
||||
|
||||
### Install rustup
|
||||
|
||||
Use `make rustup` to install the Rust toolchain installer.
|
||||
|
||||
## Mimic my entire setup
|
||||
|
||||
If you want to use *everything* I use, simply run the bootstrap script, like so:
|
||||
|
||||
```sh
|
||||
./bootstrap.sh
|
||||
```
|
||||
|
||||
The script will ask for sudo permissions the first time you run it. Then you can sit back and relax as no manual intervention is necessary.
|
||||
|
||||
[fedora]: https://getfedora.org
|
||||
[gnulinux]: https://www.gnu.org/gnu/linux-and-gnu.html
|
||||
[crystal]: https://crystal-lang.org/
|
@ -1,29 +0,0 @@
|
||||
#!/bin/sh
|
||||
|
||||
# End the script on any errors
|
||||
set -e
|
||||
|
||||
# Change the working directory to this one
|
||||
cd "$(dirname "$0")"
|
||||
|
||||
# Get administrative privileges
|
||||
sudo -v
|
||||
|
||||
# Keep pinging sudo until this script finishes
|
||||
# Source: https://gist.github.com/cowboy/3118588
|
||||
while true; do sudo -n true; sleep 60; kill -0 "$$" || exit; done 2>/dev/null &
|
||||
|
||||
# Run make
|
||||
make
|
||||
|
||||
# Revoke privileges
|
||||
sudo -K
|
||||
|
||||
# Install dotfiles
|
||||
make -C ..
|
||||
|
||||
# Change the color scheme to a sane default
|
||||
wal --theme base16-tomorrow-night
|
||||
|
||||
# Run vim for the first time (i.e. install plugins and exit)
|
||||
nvim
|
Loading…
Reference in New Issue
Block a user