misc minor updates and fixes, add device-specific stuff
This commit is contained in:
parent
2e8aa91092
commit
47bb90de9c
6 changed files with 42 additions and 5 deletions
9
device-specific.sh
Executable file
9
device-specific.sh
Executable file
|
@ -0,0 +1,9 @@
|
|||
#!/usr/bin/env bash
|
||||
if grep -q "Shyvana" /sys/devices/virtual/dmi/id/product_name; then
|
||||
cd /tmp/
|
||||
git clone https://github.com/WeirdTreeThing/chromebook-linux-audio --depth 1
|
||||
cd ./chromebook-linux-audio/
|
||||
./setup-audio
|
||||
cd -
|
||||
rm -rf /tmp/chromebook-linux-audio/
|
||||
fi
|
|
@ -17,6 +17,7 @@ chmod 700 ./*.bash
|
|||
./install-librewolf.bash
|
||||
./install-misc.sh
|
||||
./install-qemu-libvirt.bash
|
||||
./install-rust.sh
|
||||
./install-steam.bash
|
||||
./install-vs-code.bash
|
||||
./install-fonts.bash
|
||||
|
@ -31,7 +32,9 @@ chmod 700 restore.sh
|
|||
./restore.sh
|
||||
cd ..
|
||||
|
||||
./device-specific.sh
|
||||
|
||||
if command_exists "rpm-ostree"; then
|
||||
read -p "Press enter to reboot"
|
||||
reboot
|
||||
fi
|
||||
fi
|
||||
|
|
2
dotfiles
2
dotfiles
|
@ -1 +1 @@
|
|||
Subproject commit 0bc78c17d8ae261c0d53ca24827e654ae2e93fc7
|
||||
Subproject commit 3efec5e1415f31d5421f07f1a389b82c765c2338
|
|
@ -29,8 +29,6 @@ elif command_exists "dnf"; then
|
|||
done
|
||||
cd -
|
||||
rm -rf ./tmp-openh264/
|
||||
echo -e "\nNow open LibreWolf, go to about:config, and set these to true:\n media.gmp-gmpopenh264.autoupdate\n media.gmp-gmpopenh264.enabled\n media.gmp-gmpopenh264.provider.enabled\n media.peerconnection.video.h264_enabled\n"
|
||||
read -p ""
|
||||
elif command_exists "rpm-ostree"; then
|
||||
if ! command_exists "librewolf"; then
|
||||
sudo wget https://rpm.librewolf.net/librewolf-repo.repo -O /etc/yum.repos.d/librewolf.repo
|
||||
|
|
|
@ -14,7 +14,11 @@ if command_exists "apt-get"; then
|
|||
sudo apt-get install kitty -y
|
||||
echo "Please install SchildiChat, nvim/neovim"
|
||||
elif command_exists "dnf"; then
|
||||
sudo dnf install kitty neovim gcc gnome-hexgl drawing make vlc freeglut ncdu gcolor3 rustup clippy p7zip mosh krita podman podman-docker podman-compose gajim progress yt-dlp genisoimage zstd iperf3 keepassxc python3-pip ffmpegthumbnailer linuxconsoletools bind-tools hyfetch fastfetch ffmpeg nmap unrar-free restic gparted bsdtar android-tools httpd-tools digikam edid-decode hexchat htop -y
|
||||
sudo dnf install kitty neovim gcc gnome-hexgl drawing make vlc freeglut ncdu gcolor3 rustup clippy p7zip mosh krita podman podman-docker podman-compose gajim progress yt-dlp genisoimage zstd iperf3 keepassxc python3-pip ffmpegthumbnailer linuxconsoletools bind-utils hyfetch fastfetch nmap unrar-free restic gparted bsdtar android-tools httpd-tools digikam edid-decode hexchat htop -y
|
||||
sudo dnf install ffmpeg --allowerasing
|
||||
|
||||
sudo dnf copr enable wezfurlong/wezterm-nightly
|
||||
sudo dnf install wezterm
|
||||
|
||||
# Install schildichat-desktop
|
||||
# should be in my repo, but this works as both a fallback, and is faster than downloading from my repo - updates will come from my repo, though
|
||||
|
|
23
install-stuff/install-rust.sh
Executable file
23
install-stuff/install-rust.sh
Executable file
|
@ -0,0 +1,23 @@
|
|||
#!/usr/bin/env bash
|
||||
if [ $(whoami) == "root" ]; then
|
||||
echo "Run as a normal user, not root"
|
||||
exit 1
|
||||
fi
|
||||
|
||||
command_exists() { type "$1" &>/dev/null; }
|
||||
|
||||
if command_exists "yum"; then
|
||||
sudo dnf config-manager --add-repo https://askiiart.net/repos/fedora/x86_64/askiiart.repo
|
||||
sudo dnf install rustup -y
|
||||
fish -c "rustup-init"
|
||||
elif command_exists "rpm-ostree"; then
|
||||
sudo wget https://askiiart.net/repos/fedora/x86_64/askiiart.repo -O /etc/yum.repos.d/askiiart.repo
|
||||
rpm-ostree install rustup -y
|
||||
echo "run rustup-init yourself or update the script"
|
||||
elif command_exists "yay"; then
|
||||
yay -S rustup --noconfirm --needed
|
||||
else
|
||||
echo "figure out rustup yourself"
|
||||
echo "enter to continue"
|
||||
read -p ""
|
||||
fi
|
Loading…
Reference in a new issue