-
-
Notifications
You must be signed in to change notification settings - Fork 273
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix(just): Use image info consistently
- Loading branch information
Showing
3 changed files
with
14 additions
and
9 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -82,7 +82,7 @@ install-fleek-themes: | |
#!/usr/bin/env bash | ||
if [[ -x "/var/usrlocal/bin/fleek" ]]; then | ||
IMAGE_INFO="/usr/share/ublue-os/image-info.json" | ||
BASE_IMAGE_NAME=$(jq '."base-image-name"' $BASE_IMAGE_NAME) | ||
BASE_IMAGE_NAME=$(jq '."base-image-name"' $IMAGE_INFO) | ||
if [[ ${BASE_IMAGE_NAME} == 'silverblue' ]]; then | ||
fleek add adw-gtk3 --apply | ||
else | ||
|
@@ -172,7 +172,7 @@ patch-gmod: | |
enable-vapor-theme: | ||
#!/usr/bin/env bash | ||
IMAGE_INFO="/usr/share/ublue-os/image-info.json" | ||
BASE_IMAGE_NAME=$(jq '."base-image-name"' $BASE_IMAGE_NAME) | ||
BASE_IMAGE_NAME=$(jq '."base-image-name"' IMAGE_INFO) | ||
if [[ ${BASE_IMAGE_NAME} == 'silverblue' ]]; then | ||
gnome-extensions enable [email protected] | ||
gsettings set org.gnome.mutter center-new-windows true | ||
|
@@ -195,7 +195,7 @@ enable-vapor-theme: | |
enable-vgui2-theme: | ||
#!/usr/bin/env bash | ||
IMAGE_INFO="/usr/share/ublue-os/image-info.json" | ||
BASE_IMAGE_NAME=$(jq '."base-image-name"' $BASE_IMAGE_NAME) | ||
BASE_IMAGE_NAME=$(jq '."base-image-name"' $IMAGE_INFO) | ||
if [[ ${BASE_IMAGE_NAME} == 'silverblue' ]]; then | ||
gnome-extensions enable [email protected] | ||
gsettings set org.gnome.mutter center-new-windows true | ||
|
@@ -218,7 +218,7 @@ enable-vgui2-theme: | |
install-adwaita-for-steam: | ||
#!/usr/bin/env bash | ||
IMAGE_INFO="/usr/share/ublue-os/image-info.json" | ||
BASE_IMAGE_NAME=$(jq '."base-image-name"' $BASE_IMAGE_NAME) | ||
BASE_IMAGE_NAME=$(jq '."base-image-name"' $IMAGE_INFO) | ||
if [[ ${BASE_IMAGE_NAME} == 'silverblue' ]]; then | ||
if [ -d "$HOME/homebrew/themes" ]; then | ||
git clone https://github.com/tkashkin/Adwaita-for-Steam.git --single-branch "$HOME/homebrew/themes/Adwaita-for-Steam" | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -84,7 +84,7 @@ get-greenlight: | |
enable-supergfxctl: | ||
#!/usr/bin/env bash | ||
IMAGE_INFO="/usr/share/ublue-os/image-info.json" | ||
IMAGE_FLAVOR=$(jq '."image-flavor"' $IMAGE_FLAVOR) | ||
IMAGE_FLAVOR=$(jq '."image-flavor"' $IMAGE_INFO) | ||
if [[ ${IMAGE_FLAVOR} == 'nvidia' ]]; then | ||
systemctl enable --now supergfxd.service | ||
else | ||
|
@@ -115,7 +115,7 @@ patch-gmod: | |
enable-vapor-theme: | ||
#!/usr/bin/env bash | ||
IMAGE_INFO="/usr/share/ublue-os/image-info.json" | ||
BASE_IMAGE_NAME=$(jq '."base-image-name"' $BASE_IMAGE_NAME) | ||
BASE_IMAGE_NAME=$(jq '."base-image-name"' $IMAGE_INFO) | ||
if [[ ${BASE_IMAGE_NAME} == 'silverblue' ]]; then | ||
gnome-extensions enable [email protected] | ||
gsettings set org.gnome.mutter center-new-windows true | ||
|
@@ -140,7 +140,7 @@ enable-vapor-theme: | |
enable-vgui2-theme: | ||
#!/usr/bin/env bash | ||
IMAGE_INFO="/usr/share/ublue-os/image-info.json" | ||
BASE_IMAGE_NAME=$(jq '."base-image-name"' $BASE_IMAGE_NAME) | ||
BASE_IMAGE_NAME=$(jq '."base-image-name"' $IMAGE_INFO) | ||
if [[ ${BASE_IMAGE_NAME} == 'silverblue' ]]; then | ||
gnome-extensions enable [email protected] | ||
gsettings set org.gnome.mutter center-new-windows true | ||
|
@@ -164,6 +164,8 @@ enable-vgui2-theme: | |
# Install Adwaita-for-Steam theme for CSS Loader (https://github.com/tkashkin/Adwaita-for-Steam) | ||
install-adwaita-for-steam: | ||
#!/usr/bin/env bash | ||
IMAGE_INFO="/usr/share/ublue-os/image-info.json" && \ | ||
BASE_IMAGE_NAME=$(jq '."base-image-name"' $IMAGE_INFO) && \ | ||
if [[ ${BASE_IMAGE_NAME} == 'silverblue' ]]; then | ||
if [ -d "$HOME/homebrew/themes" ]; then | ||
git clone https://github.com/tkashkin/Adwaita-for-Steam.git --single-branch "$HOME/homebrew/themes/Adwaita-for-Steam" | ||
|