Skip to content

Commit

Permalink
feat: Add option to install Brew package manager.
Browse files Browse the repository at this point in the history
chore(readme): Mention OpenTabletDriver
  • Loading branch information
KyleGospo committed Sep 29, 2023
1 parent dc6722d commit f5915c0
Show file tree
Hide file tree
Showing 5 changed files with 71 additions and 3 deletions.
4 changes: 3 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -45,10 +45,12 @@ Bazzite is built from [ublue-os/main](https://github.com/ublue-os/main) and [ubl
- Uses [Google's BBR TCP congestion control](https://github.com/google/bbr) by default.
- [Input Remapper](https://github.com/sezanzeb/input-remapper) preinstalled and enabled. <sub><sup>(Available but default-disabled on the Deck variant)</sup></sub>
- Bazzite Portal provides an easy way to install numerous applications and tweaks, including installing [CoreCtrl](https://gitlab.com/corectrl/corectrl) and [GreenWithEnvy](https://gitlab.com/leinardi/gwe).
- [Nix](https://nixos.org/) package manager and [Fleek](https://getfleek.dev/) optionally available for install via Bazzite Portal.
- [Nix](https://nixos.org/) package manager with [Fleek](https://getfleek.dev/) optionally available for install via Bazzite Portal.
- [Brew](https://brew.sh/) package manager optionally available for install via Bazzite Portal.
- [Waydroid](https://waydro.id/) preinstalled for running Android apps. Future releases will offer to set this up for you through Bazzite Portal. <sub><sup>(Not available on Nvidia builds)</sup></sub>
- [OpenRGB](https://gitlab.com/CalcProgrammer1/OpenRGB) i2c-piix4 and i2c-nct6775 drivers for controlling RGB on certain motherboards.
- [OpenRazer](https://openrazer.github.io) drivers built in, Select OpenRazer in Bazzite Portal or run `just install-openrazer` in a terminal to begin using it.
- [OpenTabletDriver](https://opentabletdriver.net/) udev rules built in, with the full software suite installable via Bazzite Portal or by running `just install-opentabletdriver` in a terminal.
- [GCAdapter_OC](https://github.com/hannesmann/gcadapter-oc-kmod) driver for overclocking Nintendo's Gamecube Controller Adapter to 1000hz polling.
- Out of the box support for [Wooting](https://wooting.io/) keyboards.
- Built in support for Southern Islands <sub><sup>(HD 7000)</sup></sub> and Sea Islands <sub><sup>(HD 8000)</sup></sub> AMD GPUs under the `amdgpu` driver.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,13 @@ screens:
default: false
packages:
- Install Nix Package Support: sudo -A just --unstable install-nix
- Install Fleek: just --unstable install-fleek
- Install Fleek (Requires Nix): just --unstable install-fleek
Brew Package Manager:
description: The missing package manager for macOS (or Linux)
default: false
package:
- Install Brew: just --unstable install-brew
- Add Brew to shell: just --unstable install-brew-to-shell
Oversteer:
description: Application to control Logitech steering wheels
default: false
Expand Down
27 changes: 27 additions & 0 deletions system_files/deck/shared/usr/share/ublue-os/just/60-custom.just
Original file line number Diff line number Diff line change
Expand Up @@ -94,6 +94,33 @@ install-fleek-themes:
echo "Install fleek with just install-fleek before running just install-fleek-themes."
fi
# Install Homebrew for Linux
install-brew:
echo "Installing homebrew ..."
/bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)"

# Add Homebrew to shell rc files
install-brew-to-shell:
#!/usr/bin/env bash
set -euxo pipefail
echo "Adding homebrew to shell configuration"
touch $HOME/.zprofile
touch $HOME/.bash_profile
if grep -q "linuxbrew" $HOME/.zprofile
then
echo "Brew configuration already present in .zprofile"
else
echo "Adding Brew configuration to .zprofile"
echo 'eval "$(/home/linuxbrew/.linuxbrew/bin/brew shellenv)"' >> $HOME/.zprofile
fi
if grep -q "linuxbrew" $HOME/.bash_profile
then
echo "Brew configuration already present in .bash_profile"
else
echo "Adding Brew configuration to .bash_profile"
echo 'eval "$(/home/linuxbrew/.linuxbrew/bin/brew shellenv)"' >> $HOME/.bash_profile
fi
# Install Greenlight xCloud and xHome streaming AppImage
get-greenlight:
#!/usr/bin/env bash
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,13 @@ screens:
default: false
packages:
- Install Nix Package Support: sudo -A just --unstable install-nix
- Install Fleek: just --unstable install-fleek
- Install Fleek (Requires Nix): just --unstable install-fleek
Brew Package Manager:
description: The missing package manager for macOS (or Linux)
default: false
package:
- Install Brew: just --unstable install-brew
- Add Brew to shell: just --unstable install-brew-to-shell
OpenRazer:
description: Enables additional capabilities for Razer Hardware
default: false
Expand Down
27 changes: 27 additions & 0 deletions system_files/desktop/shared/usr/share/ublue-os/just/60-custom.just
Original file line number Diff line number Diff line change
Expand Up @@ -69,6 +69,33 @@ install-fleek-themes:
echo "Install fleek with just install-fleek before running just install-fleek-themes."
fi

# Install Homebrew for Linux
install-brew:
echo "Installing homebrew ..."
/bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)"

# Add Homebrew to shell rc files
install-brew-to-shell:
#!/usr/bin/env bash
set -euxo pipefail
echo "Adding homebrew to shell configuration"
touch $HOME/.zprofile
touch $HOME/.bash_profile
if grep -q "linuxbrew" $HOME/.zprofile
then
echo "Brew configuration already present in .zprofile"
else
echo "Adding Brew configuration to .zprofile"
echo 'eval "$(/home/linuxbrew/.linuxbrew/bin/brew shellenv)"' >> $HOME/.zprofile
fi
if grep -q "linuxbrew" $HOME/.bash_profile
then
echo "Brew configuration already present in .bash_profile"
else
echo "Adding Brew configuration to .bash_profile"
echo 'eval "$(/home/linuxbrew/.linuxbrew/bin/brew shellenv)"' >> $HOME/.bash_profile
fi

# Install Greenlight xCloud and xHome streaming AppImage
get-greenlight:
#!/usr/bin/env bash
Expand Down

0 comments on commit f5915c0

Please sign in to comment.