Skip to content

Commit

Permalink
Merge pull request #444 from stablestud/GOGH_THEME_CURRENT
Browse files Browse the repository at this point in the history
Add GOGH_USE_NEW_THEME flag for immediate theme switching
  • Loading branch information
Mgldvd authored May 31, 2024
2 parents a989352 + 334d283 commit a80d91c
Show file tree
Hide file tree
Showing 276 changed files with 286 additions and 279 deletions.
7 changes: 5 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -135,16 +135,19 @@ wget https://github.com/Gogh-Co/Gogh/raw/master/apply-alacritty.py
# Optional - download Terminator dependency (may require additional python packages, see requirements.txt for more)
wget https://github.com/Gogh-Co/Gogh/raw/master/apply-terminator.py

# You can also specify where to find the apply scripts with the following environmental variables
# You can also specify where to find the apply scripts with the following environmental variables:
GOGH_APPLY_SCRIPT=/path/to/apply-colors.sh
GOGH_ALACRITTY_SCRIPT=/path/to/apply-alacritty.py # only needed if applying to Alacritty terminal
GOGH_TERMINATOR_SCRIPT=/path/to/apply-terminator.py # only needed if applying to Terminator terminal

# Control Gogh behavior with the following environmental variables
# Control Gogh behavior with the following:
TERMINAL=gnome-terminal # Select for which terminal to install the theme
# (see apply-colors.sh for all supported terminals)
GOGH_NONINTERACTIVE= # Make output silent and answer all prompts with default value
# (errors will still be printed)
GOGH_USE_NEW_THEME= # Make theme the currently used/default one of the terminal
# Actual effect may differ between terminals
# Supported terminals: xfce4-terminal

# Apply downloaded theme (apply script must be in the same folder)
TERMINAL=gnome-terminal bash ./selenized-dark.sh
Expand Down
10 changes: 7 additions & 3 deletions apply-colors.sh
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ trap 'GLOBAL_VAR_CLEANUP; trap - EXIT' EXIT HUP INT QUIT PIPE TERM
print() {
format="${1:?missing value for print}"
shift
if [ -z "${GOGH_NONINTERACTIVE+yes}" ]; then
if [ -z "${GOGH_NONINTERACTIVE+no}" ]; then
printf "${format}" "${@}"
fi
}
Expand Down Expand Up @@ -895,8 +895,10 @@ appy_tilixschemes() {
if ((LOOP == OPTLENGTH)); then
cp -f ${scratchdir}/* "$HOME/.config/tilix/schemes/"
rm -rf "${scratchdir}"
if [ -z "${GOGH_NONINTERACTIVE+yes}" ]; then
if [ -z "${GOGH_NONINTERACTIVE+no}" ] && [ -z "${GOGH_USE_NEW_THEME+no}" ]; then
read -r -p "All done - apply new theme? [y/N] " -n 1 TILIX_RES
elif [ ! -z "${GOGH_USE_NEW_THEME+yes}" ]; then
TILIX_RES="Y"
else
TILIX_RES="N"
fi
Expand Down Expand Up @@ -958,8 +960,10 @@ apply_xfce4-terminal() {
# any of the themes in there. The color settings need to
# be written there directly.
if ((LOOP == OPTLENGTH)); then
if [ -z "${GOGH_NONINTERACTIVE+yes}" ]; then
if [ -z "${GOGH_NONINTERACTIVE+no}" ] && [ -z "${GOGH_USE_NEW_THEME+no}" ]; then
read -r -p "All done - apply new theme? [y/N] " -n 1 XFCE4_APPLY_CURR_THEME
elif [ ! -z "${GOGH_USE_NEW_THEME+yes}" ]; then
XFCE4_APPLY_CURR_THEME="Y"
else
XFCE4_APPLY_CURR_THEME="N"
fi
Expand Down
2 changes: 1 addition & 1 deletion installs/3024-day.sh
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ apply_theme() {
SCRIPT_PATH="${SCRIPT_PATH:-$(cd "$(dirname "${BASH_SOURCE[0]}")" && pwd)}"
PARENT_PATH="$(dirname "${SCRIPT_PATH}")"

if [ -z "${GOGH_NONINTERACTIVE+yes}" ]; then
if [ -z "${GOGH_NONINTERACTIVE+no}" ]; then
apply_theme
else
apply_theme 1>/dev/null
Expand Down
2 changes: 1 addition & 1 deletion installs/3024-night.sh
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ apply_theme() {
SCRIPT_PATH="${SCRIPT_PATH:-$(cd "$(dirname "${BASH_SOURCE[0]}")" && pwd)}"
PARENT_PATH="$(dirname "${SCRIPT_PATH}")"

if [ -z "${GOGH_NONINTERACTIVE+yes}" ]; then
if [ -z "${GOGH_NONINTERACTIVE+no}" ]; then
apply_theme
else
apply_theme 1>/dev/null
Expand Down
2 changes: 1 addition & 1 deletion installs/aci.sh
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ apply_theme() {
SCRIPT_PATH="${SCRIPT_PATH:-$(cd "$(dirname "${BASH_SOURCE[0]}")" && pwd)}"
PARENT_PATH="$(dirname "${SCRIPT_PATH}")"

if [ -z "${GOGH_NONINTERACTIVE+yes}" ]; then
if [ -z "${GOGH_NONINTERACTIVE+no}" ]; then
apply_theme
else
apply_theme 1>/dev/null
Expand Down
2 changes: 1 addition & 1 deletion installs/aco.sh
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ apply_theme() {
SCRIPT_PATH="${SCRIPT_PATH:-$(cd "$(dirname "${BASH_SOURCE[0]}")" && pwd)}"
PARENT_PATH="$(dirname "${SCRIPT_PATH}")"

if [ -z "${GOGH_NONINTERACTIVE+yes}" ]; then
if [ -z "${GOGH_NONINTERACTIVE+no}" ]; then
apply_theme
else
apply_theme 1>/dev/null
Expand Down
2 changes: 1 addition & 1 deletion installs/adventure-time.sh
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ apply_theme() {
SCRIPT_PATH="${SCRIPT_PATH:-$(cd "$(dirname "${BASH_SOURCE[0]}")" && pwd)}"
PARENT_PATH="$(dirname "${SCRIPT_PATH}")"

if [ -z "${GOGH_NONINTERACTIVE+yes}" ]; then
if [ -z "${GOGH_NONINTERACTIVE+no}" ]; then
apply_theme
else
apply_theme 1>/dev/null
Expand Down
2 changes: 1 addition & 1 deletion installs/afterglow.sh
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ apply_theme() {
SCRIPT_PATH="${SCRIPT_PATH:-$(cd "$(dirname "${BASH_SOURCE[0]}")" && pwd)}"
PARENT_PATH="$(dirname "${SCRIPT_PATH}")"

if [ -z "${GOGH_NONINTERACTIVE+yes}" ]; then
if [ -z "${GOGH_NONINTERACTIVE+no}" ]; then
apply_theme
else
apply_theme 1>/dev/null
Expand Down
2 changes: 1 addition & 1 deletion installs/alien-blood.sh
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ apply_theme() {
SCRIPT_PATH="${SCRIPT_PATH:-$(cd "$(dirname "${BASH_SOURCE[0]}")" && pwd)}"
PARENT_PATH="$(dirname "${SCRIPT_PATH}")"

if [ -z "${GOGH_NONINTERACTIVE+yes}" ]; then
if [ -z "${GOGH_NONINTERACTIVE+no}" ]; then
apply_theme
else
apply_theme 1>/dev/null
Expand Down
2 changes: 1 addition & 1 deletion installs/apprentice.sh
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ apply_theme() {
SCRIPT_PATH="${SCRIPT_PATH:-$(cd "$(dirname "${BASH_SOURCE[0]}")" && pwd)}"
PARENT_PATH="$(dirname "${SCRIPT_PATH}")"

if [ -z "${GOGH_NONINTERACTIVE+yes}" ]; then
if [ -z "${GOGH_NONINTERACTIVE+no}" ]; then
apply_theme
else
apply_theme 1>/dev/null
Expand Down
2 changes: 1 addition & 1 deletion installs/argonaut.sh
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ apply_theme() {
SCRIPT_PATH="${SCRIPT_PATH:-$(cd "$(dirname "${BASH_SOURCE[0]}")" && pwd)}"
PARENT_PATH="$(dirname "${SCRIPT_PATH}")"

if [ -z "${GOGH_NONINTERACTIVE+yes}" ]; then
if [ -z "${GOGH_NONINTERACTIVE+no}" ]; then
apply_theme
else
apply_theme 1>/dev/null
Expand Down
2 changes: 1 addition & 1 deletion installs/arthur.sh
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ apply_theme() {
SCRIPT_PATH="${SCRIPT_PATH:-$(cd "$(dirname "${BASH_SOURCE[0]}")" && pwd)}"
PARENT_PATH="$(dirname "${SCRIPT_PATH}")"

if [ -z "${GOGH_NONINTERACTIVE+yes}" ]; then
if [ -z "${GOGH_NONINTERACTIVE+no}" ]; then
apply_theme
else
apply_theme 1>/dev/null
Expand Down
2 changes: 1 addition & 1 deletion installs/atom.sh
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ apply_theme() {
SCRIPT_PATH="${SCRIPT_PATH:-$(cd "$(dirname "${BASH_SOURCE[0]}")" && pwd)}"
PARENT_PATH="$(dirname "${SCRIPT_PATH}")"

if [ -z "${GOGH_NONINTERACTIVE+yes}" ]; then
if [ -z "${GOGH_NONINTERACTIVE+no}" ]; then
apply_theme
else
apply_theme 1>/dev/null
Expand Down
2 changes: 1 addition & 1 deletion installs/aura.sh
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ apply_theme() {
SCRIPT_PATH="${SCRIPT_PATH:-$(cd "$(dirname "${BASH_SOURCE[0]}")" && pwd)}"
PARENT_PATH="$(dirname "${SCRIPT_PATH}")"

if [ -z "${GOGH_NONINTERACTIVE+yes}" ]; then
if [ -z "${GOGH_NONINTERACTIVE+no}" ]; then
apply_theme
else
apply_theme 1>/dev/null
Expand Down
2 changes: 1 addition & 1 deletion installs/ayu-dark.sh
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ apply_theme() {
SCRIPT_PATH="${SCRIPT_PATH:-$(cd "$(dirname "${BASH_SOURCE[0]}")" && pwd)}"
PARENT_PATH="$(dirname "${SCRIPT_PATH}")"

if [ -z "${GOGH_NONINTERACTIVE+yes}" ]; then
if [ -z "${GOGH_NONINTERACTIVE+no}" ]; then
apply_theme
else
apply_theme 1>/dev/null
Expand Down
2 changes: 1 addition & 1 deletion installs/ayu-light.sh
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ apply_theme() {
SCRIPT_PATH="${SCRIPT_PATH:-$(cd "$(dirname "${BASH_SOURCE[0]}")" && pwd)}"
PARENT_PATH="$(dirname "${SCRIPT_PATH}")"

if [ -z "${GOGH_NONINTERACTIVE+yes}" ]; then
if [ -z "${GOGH_NONINTERACTIVE+no}" ]; then
apply_theme
else
apply_theme 1>/dev/null
Expand Down
2 changes: 1 addition & 1 deletion installs/ayu-mirage.sh
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ apply_theme() {
SCRIPT_PATH="${SCRIPT_PATH:-$(cd "$(dirname "${BASH_SOURCE[0]}")" && pwd)}"
PARENT_PATH="$(dirname "${SCRIPT_PATH}")"

if [ -z "${GOGH_NONINTERACTIVE+yes}" ]; then
if [ -z "${GOGH_NONINTERACTIVE+no}" ]; then
apply_theme
else
apply_theme 1>/dev/null
Expand Down
2 changes: 1 addition & 1 deletion installs/azu.sh
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ apply_theme() {
SCRIPT_PATH="${SCRIPT_PATH:-$(cd "$(dirname "${BASH_SOURCE[0]}")" && pwd)}"
PARENT_PATH="$(dirname "${SCRIPT_PATH}")"

if [ -z "${GOGH_NONINTERACTIVE+yes}" ]; then
if [ -z "${GOGH_NONINTERACTIVE+no}" ]; then
apply_theme
else
apply_theme 1>/dev/null
Expand Down
2 changes: 1 addition & 1 deletion installs/belafonte-day.sh
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ apply_theme() {
SCRIPT_PATH="${SCRIPT_PATH:-$(cd "$(dirname "${BASH_SOURCE[0]}")" && pwd)}"
PARENT_PATH="$(dirname "${SCRIPT_PATH}")"

if [ -z "${GOGH_NONINTERACTIVE+yes}" ]; then
if [ -z "${GOGH_NONINTERACTIVE+no}" ]; then
apply_theme
else
apply_theme 1>/dev/null
Expand Down
2 changes: 1 addition & 1 deletion installs/belafonte-night.sh
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ apply_theme() {
SCRIPT_PATH="${SCRIPT_PATH:-$(cd "$(dirname "${BASH_SOURCE[0]}")" && pwd)}"
PARENT_PATH="$(dirname "${SCRIPT_PATH}")"

if [ -z "${GOGH_NONINTERACTIVE+yes}" ]; then
if [ -z "${GOGH_NONINTERACTIVE+no}" ]; then
apply_theme
else
apply_theme 1>/dev/null
Expand Down
2 changes: 1 addition & 1 deletion installs/bim.sh
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ apply_theme() {
SCRIPT_PATH="${SCRIPT_PATH:-$(cd "$(dirname "${BASH_SOURCE[0]}")" && pwd)}"
PARENT_PATH="$(dirname "${SCRIPT_PATH}")"

if [ -z "${GOGH_NONINTERACTIVE+yes}" ]; then
if [ -z "${GOGH_NONINTERACTIVE+no}" ]; then
apply_theme
else
apply_theme 1>/dev/null
Expand Down
2 changes: 1 addition & 1 deletion installs/birds-of-paradise.sh
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ apply_theme() {
SCRIPT_PATH="${SCRIPT_PATH:-$(cd "$(dirname "${BASH_SOURCE[0]}")" && pwd)}"
PARENT_PATH="$(dirname "${SCRIPT_PATH}")"

if [ -z "${GOGH_NONINTERACTIVE+yes}" ]; then
if [ -z "${GOGH_NONINTERACTIVE+no}" ]; then
apply_theme
else
apply_theme 1>/dev/null
Expand Down
2 changes: 1 addition & 1 deletion installs/blazer.sh
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ apply_theme() {
SCRIPT_PATH="${SCRIPT_PATH:-$(cd "$(dirname "${BASH_SOURCE[0]}")" && pwd)}"
PARENT_PATH="$(dirname "${SCRIPT_PATH}")"

if [ -z "${GOGH_NONINTERACTIVE+yes}" ]; then
if [ -z "${GOGH_NONINTERACTIVE+no}" ]; then
apply_theme
else
apply_theme 1>/dev/null
Expand Down
2 changes: 1 addition & 1 deletion installs/blue-dolphin.sh
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ apply_theme() {
SCRIPT_PATH="${SCRIPT_PATH:-$(cd "$(dirname "${BASH_SOURCE[0]}")" && pwd)}"
PARENT_PATH="$(dirname "${SCRIPT_PATH}")"

if [ -z "${GOGH_NONINTERACTIVE+yes}" ]; then
if [ -z "${GOGH_NONINTERACTIVE+no}" ]; then
apply_theme
else
apply_theme 1>/dev/null
Expand Down
2 changes: 1 addition & 1 deletion installs/bluloco-light.sh
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ apply_theme() {
SCRIPT_PATH="${SCRIPT_PATH:-$(cd "$(dirname "${BASH_SOURCE[0]}")" && pwd)}"
PARENT_PATH="$(dirname "${SCRIPT_PATH}")"

if [ -z "${GOGH_NONINTERACTIVE+yes}" ]; then
if [ -z "${GOGH_NONINTERACTIVE+no}" ]; then
apply_theme
else
apply_theme 1>/dev/null
Expand Down
2 changes: 1 addition & 1 deletion installs/bluloco-zsh-light.sh
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ apply_theme() {
SCRIPT_PATH="${SCRIPT_PATH:-$(cd "$(dirname "${BASH_SOURCE[0]}")" && pwd)}"
PARENT_PATH="$(dirname "${SCRIPT_PATH}")"

if [ -z "${GOGH_NONINTERACTIVE+yes}" ]; then
if [ -z "${GOGH_NONINTERACTIVE+no}" ]; then
apply_theme
else
apply_theme 1>/dev/null
Expand Down
2 changes: 1 addition & 1 deletion installs/borland.sh
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ apply_theme() {
SCRIPT_PATH="${SCRIPT_PATH:-$(cd "$(dirname "${BASH_SOURCE[0]}")" && pwd)}"
PARENT_PATH="$(dirname "${SCRIPT_PATH}")"

if [ -z "${GOGH_NONINTERACTIVE+yes}" ]; then
if [ -z "${GOGH_NONINTERACTIVE+no}" ]; then
apply_theme
else
apply_theme 1>/dev/null
Expand Down
2 changes: 1 addition & 1 deletion installs/breath-darker.sh
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ apply_theme() {
SCRIPT_PATH="${SCRIPT_PATH:-$(cd "$(dirname "${BASH_SOURCE[0]}")" && pwd)}"
PARENT_PATH="$(dirname "${SCRIPT_PATH}")"

if [ -z "${GOGH_NONINTERACTIVE+yes}" ]; then
if [ -z "${GOGH_NONINTERACTIVE+no}" ]; then
apply_theme
else
apply_theme 1>/dev/null
Expand Down
2 changes: 1 addition & 1 deletion installs/breath-light.sh
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ apply_theme() {
SCRIPT_PATH="${SCRIPT_PATH:-$(cd "$(dirname "${BASH_SOURCE[0]}")" && pwd)}"
PARENT_PATH="$(dirname "${SCRIPT_PATH}")"

if [ -z "${GOGH_NONINTERACTIVE+yes}" ]; then
if [ -z "${GOGH_NONINTERACTIVE+no}" ]; then
apply_theme
else
apply_theme 1>/dev/null
Expand Down
2 changes: 1 addition & 1 deletion installs/breath-silverfox.sh
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ apply_theme() {
SCRIPT_PATH="${SCRIPT_PATH:-$(cd "$(dirname "${BASH_SOURCE[0]}")" && pwd)}"
PARENT_PATH="$(dirname "${SCRIPT_PATH}")"

if [ -z "${GOGH_NONINTERACTIVE+yes}" ]; then
if [ -z "${GOGH_NONINTERACTIVE+no}" ]; then
apply_theme
else
apply_theme 1>/dev/null
Expand Down
2 changes: 1 addition & 1 deletion installs/breath.sh
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ apply_theme() {
SCRIPT_PATH="${SCRIPT_PATH:-$(cd "$(dirname "${BASH_SOURCE[0]}")" && pwd)}"
PARENT_PATH="$(dirname "${SCRIPT_PATH}")"

if [ -z "${GOGH_NONINTERACTIVE+yes}" ]; then
if [ -z "${GOGH_NONINTERACTIVE+no}" ]; then
apply_theme
else
apply_theme 1>/dev/null
Expand Down
2 changes: 1 addition & 1 deletion installs/breeze.sh
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ apply_theme() {
SCRIPT_PATH="${SCRIPT_PATH:-$(cd "$(dirname "${BASH_SOURCE[0]}")" && pwd)}"
PARENT_PATH="$(dirname "${SCRIPT_PATH}")"

if [ -z "${GOGH_NONINTERACTIVE+yes}" ]; then
if [ -z "${GOGH_NONINTERACTIVE+no}" ]; then
apply_theme
else
apply_theme 1>/dev/null
Expand Down
2 changes: 1 addition & 1 deletion installs/broadcast.sh
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ apply_theme() {
SCRIPT_PATH="${SCRIPT_PATH:-$(cd "$(dirname "${BASH_SOURCE[0]}")" && pwd)}"
PARENT_PATH="$(dirname "${SCRIPT_PATH}")"

if [ -z "${GOGH_NONINTERACTIVE+yes}" ]; then
if [ -z "${GOGH_NONINTERACTIVE+no}" ]; then
apply_theme
else
apply_theme 1>/dev/null
Expand Down
2 changes: 1 addition & 1 deletion installs/brogrammer.sh
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ apply_theme() {
SCRIPT_PATH="${SCRIPT_PATH:-$(cd "$(dirname "${BASH_SOURCE[0]}")" && pwd)}"
PARENT_PATH="$(dirname "${SCRIPT_PATH}")"

if [ -z "${GOGH_NONINTERACTIVE+yes}" ]; then
if [ -z "${GOGH_NONINTERACTIVE+no}" ]; then
apply_theme
else
apply_theme 1>/dev/null
Expand Down
2 changes: 1 addition & 1 deletion installs/butrin.sh
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ apply_theme() {
SCRIPT_PATH="${SCRIPT_PATH:-$(cd "$(dirname "${BASH_SOURCE[0]}")" && pwd)}"
PARENT_PATH="$(dirname "${SCRIPT_PATH}")"

if [ -z "${GOGH_NONINTERACTIVE+yes}" ]; then
if [ -z "${GOGH_NONINTERACTIVE+no}" ]; then
apply_theme
else
apply_theme 1>/dev/null
Expand Down
2 changes: 1 addition & 1 deletion installs/c64.sh
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ apply_theme() {
SCRIPT_PATH="${SCRIPT_PATH:-$(cd "$(dirname "${BASH_SOURCE[0]}")" && pwd)}"
PARENT_PATH="$(dirname "${SCRIPT_PATH}")"

if [ -z "${GOGH_NONINTERACTIVE+yes}" ]; then
if [ -z "${GOGH_NONINTERACTIVE+no}" ]; then
apply_theme
else
apply_theme 1>/dev/null
Expand Down
2 changes: 1 addition & 1 deletion installs/cai.sh
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ apply_theme() {
SCRIPT_PATH="${SCRIPT_PATH:-$(cd "$(dirname "${BASH_SOURCE[0]}")" && pwd)}"
PARENT_PATH="$(dirname "${SCRIPT_PATH}")"

if [ -z "${GOGH_NONINTERACTIVE+yes}" ]; then
if [ -z "${GOGH_NONINTERACTIVE+no}" ]; then
apply_theme
else
apply_theme 1>/dev/null
Expand Down
2 changes: 1 addition & 1 deletion installs/campbell.sh
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ apply_theme() {
SCRIPT_PATH="${SCRIPT_PATH:-$(cd "$(dirname "${BASH_SOURCE[0]}")" && pwd)}"
PARENT_PATH="$(dirname "${SCRIPT_PATH}")"

if [ -z "${GOGH_NONINTERACTIVE+yes}" ]; then
if [ -z "${GOGH_NONINTERACTIVE+no}" ]; then
apply_theme
else
apply_theme 1>/dev/null
Expand Down
2 changes: 1 addition & 1 deletion installs/catppuccin-frappe.sh
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ apply_theme() {
SCRIPT_PATH="${SCRIPT_PATH:-$(cd "$(dirname "${BASH_SOURCE[0]}")" && pwd)}"
PARENT_PATH="$(dirname "${SCRIPT_PATH}")"

if [ -z "${GOGH_NONINTERACTIVE+yes}" ]; then
if [ -z "${GOGH_NONINTERACTIVE+no}" ]; then
apply_theme
else
apply_theme 1>/dev/null
Expand Down
2 changes: 1 addition & 1 deletion installs/catppuccin-latte.sh
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ apply_theme() {
SCRIPT_PATH="${SCRIPT_PATH:-$(cd "$(dirname "${BASH_SOURCE[0]}")" && pwd)}"
PARENT_PATH="$(dirname "${SCRIPT_PATH}")"

if [ -z "${GOGH_NONINTERACTIVE+yes}" ]; then
if [ -z "${GOGH_NONINTERACTIVE+no}" ]; then
apply_theme
else
apply_theme 1>/dev/null
Expand Down
Loading

0 comments on commit a80d91c

Please sign in to comment.