-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
8 changed files
with
130 additions
and
101 deletions.
There are no files selected for viewing
This file was deleted.
Oops, something went wrong.
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
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 |
---|---|---|
@@ -1,56 +1,43 @@ | ||
ublue_variants: | ||
- label: jitcos/cabos | ||
ks: /kickstart/ublue-os.ks | ||
flavors: | ||
- label: cabos [GNOME] | ||
info: cabos (Default) | ||
- label: jitcos/cabos-cinnamon | ||
ks: /kickstart/ublue-os.ks | ||
flavors: | ||
- label: cabos | ||
info: cabos [Cinnamon] | ||
info: GNOME | ||
- label: cabos-cinnamon | ||
info: Cinnamon | ||
- label: jitcos/cabos-nvidia | ||
ks: /kickstart/ublue-os-nvidia.ks | ||
flavors: | ||
- label: cabos-nvidia | ||
info: cabos [GNOME] (For NVIDIA GPUs) | ||
- label: jitcos/cabos-nvidia | ||
ks: /kickstart/ublue-os-nvidia.ks | ||
flavors: | ||
info: GNOME | ||
- label: cabos-cinnamon-nvidia | ||
info: cabos [Cinnamon] (For NVIDIA GPUs) | ||
info: Cinnamon | ||
- label: jitcos/cabos-asus | ||
ks: /kickstart/ublue-os.ks | ||
ks: /kickstart/ublue-os-asus.ks | ||
flavors: | ||
- label: cabos-asus | ||
info: cabos [GNOME] (ASUS Edition) | ||
- label: jitcos/cabos-asus | ||
ks: /kickstart/ublue-os.ks | ||
flavors: | ||
info: GNOME | ||
- label: cabos-cinnamon-asus | ||
info: cabos [Cinnamon] (ASUS Edition) | ||
info: Cinnamon | ||
- label: jitcos/cabos-asus-nvidia | ||
ks: /kickstart/ublue-os-nvidia.ks | ||
flavors: | ||
- label: cabos-asus-nvidia | ||
info: cabos [GNOME] (ASUS Edition for NVIDIA GPUs) | ||
- label: jitcos/cabos-cinnamon-asus-nvidia | ||
ks: /kickstart/ublue-os-nvidia.ks | ||
flavors: | ||
info: GNOME | ||
- label: cabos-cinnamon-asus-nvidia | ||
info: cabos [Cinnamon] (ASUS Edition for NVIDIA GPUs) | ||
info: Cinnamon | ||
- label: jitcos/cabos-surface | ||
ks: /kickstart/ublue-os.ks | ||
flavors: | ||
- label: cabos-surface | ||
info: cabos [GNOME] (Surface Edition) | ||
- label: jitcos/cabos-cinnamon-surface | ||
ks: /kickstart/ublue-os.ks | ||
ks: /kickstart/ublue-os-surface.ks | ||
flavors: | ||
- label: cabos-surface | ||
info: cabos [Cinnamon] (Surface Edition) | ||
- label: jitcos/cabos-cinnamon-surface-nvidia | ||
info: GNOME | ||
- label: cabos-cinnamon-surface | ||
info: Cinnamon | ||
- label: jitcos/cabos-surface-nvidia | ||
ks: /kickstart/ublue-os-nvidia.ks | ||
flavors: | ||
- label: cabos-surface-nvidia | ||
info: GNOME | ||
- label: cabos-cinnamon-surface-nvidia | ||
info: cabos [Cinnamon] (Surface Edition for NVIDIA GPUs) | ||
info: Cinnamon |
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 |
---|---|---|
@@ -0,0 +1,96 @@ | ||
if [ -n "$CONTAINER_ID" ]; then | ||
# Inside of a distrobox container | ||
export XDG_CONFIG_HOME="$HOME/.config/contexts/$CONTAINER_ID" | ||
export NVM_DIR="$HOME/.config/contexts/$CONTAINER_ID/.nvm" | ||
export PYENV_ROOT="$HOME/.config/contexts/$CONTAINER_ID/.pyenv" | ||
|
||
SETUP_DONE="$XDG_CONFIG_HOME/setup-done" | ||
|
||
if ! [ -f "$SETUP_DONE" ]; then | ||
if [ -n "$SETUP_DEV_TOOLS" ]; then | ||
echo 'Running initial setup...' | ||
|
||
# Install oh-my-zsh | ||
git clone https://github.com/ohmyzsh/ohmyzsh.git "$XDG_CONFIG_HOME/oh-my-zsh" | ||
cp $XDG_CONFIG_HOME/oh-my-zsh/templates/zshrc.zsh-template "$XDG_CONFIG_HOME/.zshrc" | ||
sed -i 's/export ZSH=\$HOME\/.oh-my-zsh/export ZSH=\$XDG_CONFIG_HOME\/oh-my-zsh/' "$XDG_CONFIG_HOME/.zshrc" | ||
|
||
# Spaceship theme | ||
ZSH_CUSTOM="$XDG_CONFIG_HOME/oh-my-zsh/custom" | ||
git clone https://github.com/denysdovhan/spaceship-prompt.git "$ZSH_CUSTOM/themes/spaceship-prompt" --depth=1 | ||
ln -s "$ZSH_CUSTOM/themes/spaceship-prompt/spaceship.zsh-theme" "$ZSH_CUSTOM/themes/spaceship.zsh-theme" | ||
sed -i 's/^ZSH_THEME="robbyrussell"/ZSH_THEME="spaceship"/' "$XDG_CONFIG_HOME/.zshrc" | ||
|
||
# nvm | ||
nvm_setup='[ -s "$NVM_DIR/nvm.sh" ] && \. "$NVM_DIR/nvm.sh" # This loads nvm | ||
[ -s "$NVM_DIR/bash_completion" ] && \. "$NVM_DIR/bash_completion" # This loads nvm bash_completion' | ||
|
||
echo "$nvm_setup" >> "$XDG_CONFIG_HOME/.zshrc" | ||
|
||
git clone https://github.com/nvm-sh/nvm.git "$NVM_DIR" | ||
bash -c 'cd "$NVM_DIR" && git checkout `git describe --abbrev=0 --tags --match "v[0-9]*" $(git rev-list --tags --max-count=1)`' | ||
\. "$NVM_DIR/nvm.sh" | ||
|
||
nvm install 8 ; nvm install 12 | ||
nvm install 14 ; npm install -g npm@7 | ||
nvm install 18 ; nvm alias default 18 | ||
|
||
# pyenv | ||
git clone https://github.com/pyenv/pyenv.git "$PYENV_ROOT" | ||
git clone https://github.com/pyenv/pyenv-virtualenv.git "$PYENV_ROOT/plugins/pyenv-virtualenv" | ||
|
||
echo '[[ -d $PYENV_ROOT/bin ]] && export PATH="$PYENV_ROOT/bin:$PATH"' >> "$XDG_CONFIG_HOME/.zshrc" | ||
echo 'eval "$(pyenv init -)"' >> "$XDG_CONFIG_HOME/.zshrc" | ||
|
||
"$PYENV_ROOT/bin/pyenv" install 3.10.13; "$PYENV_ROOT/bin/pyenv" install 2.7.18 | ||
"$PYENV_ROOT/bin/pyenv" virtualenv 2.7.18 local2 | ||
"$PYENV_ROOT/bin/pyenv" global 3.10.13 local2 | ||
|
||
echo 1 > "$SETUP_DONE" | ||
fi | ||
fi | ||
unset SETUP_DONE | ||
|
||
if [ -f "$XDG_CONFIG_HOME/.zshrc" ]; then | ||
source "$XDG_CONFIG_HOME/.zshrc" | ||
fi | ||
|
||
if [ -d "$XDG_CONFIG_HOME/config.d/" ]; then | ||
files=("$XDG_CONFIG_HOME/config.d/"*.zsh) | ||
if [ ${#files[@]} -gt 0 ]; then | ||
for conf in "${files[@]}"; do | ||
source "$conf" | ||
done | ||
unset conf | ||
fi | ||
unset files | ||
fi | ||
else | ||
# localhost | ||
if [ -f "$HOME/.config/contexts/localhost/.zshrc" ]; then | ||
source "$HOME/.config/contexts/localhost/.zshrc" | ||
fi | ||
|
||
if [ -d "$HOME/.config/contexts/localhost/config.d/" ]; then | ||
files=("$HOME/.config/contexts/localhost/config.d/"*.zsh) | ||
if [ ${#files[@]} -gt 0 ]; then | ||
for conf in "${files[@]}"; do | ||
source "$conf" | ||
done | ||
unset conf | ||
fi | ||
unset files | ||
fi | ||
fi | ||
|
||
# Load seperated config files | ||
if [ -d "$HOME/.config/contexts/config.d/" ]; then | ||
files=("$HOME/.config/contexts/config.d/"*.zsh) | ||
if [ ${#files[@]} -gt 0 ]; then | ||
for conf in "${files[@]}"; do | ||
source "$conf" | ||
done | ||
unset conf | ||
fi | ||
unset files | ||
fi |
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 |
---|---|---|
@@ -1,14 +1,9 @@ | ||
type: gnome-extensions | ||
install: | ||
- workspace-switch-wraparoundtheychx.org.v11 | ||
- hide-universal-accessakiirui.github.io.v16 | ||
- disable-workspace-animationethnarque.v5 | ||
- disable-workspace-switcher-overlaycleardevice.v2 | ||
- start-overlay-in-application-viewHex_cz.v6 | ||
- just-perfection-desktopjust-perfection.v28 | ||
- hibernate-statusdromi.v38 | ||
- caffeinepatapon.info.v54 | ||
- gsconnectandyholmes.github.io.v56 | ||
- dash-to-paneljderose9.github.com.v60 | ||
- blur-my-shellaunetx.v58 | ||
- appindicatorsupportrgcjonas.gmail.com.v58 | ||
- grand-theft-focuszalckos.github.com.v6 | ||
- appindicatorsupportrgcjonas.gmail.com.v58 |
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 |
---|---|---|
@@ -1,14 +1,9 @@ | ||
type: gnome-extensions | ||
install: | ||
# - workspace-switch-wraparoundtheychx.org.v11 | ||
- hide-universal-accessakiirui.github.io.v17 | ||
- disable-workspace-animationethnarque.v5 | ||
- disable-workspace-switcher-overlaycleardevice.v2 | ||
# - start-overlay-in-application-viewHex_cz.v6 | ||
- just-perfection-desktopjust-perfection.v28 | ||
- hibernate-statusdromi.v40 | ||
- caffeinepatapon.info.v54 | ||
- gsconnectandyholmes.github.io.v57 | ||
- dash-to-paneljderose9.github.com.v62 | ||
- blur-my-shellaunetx.v61 | ||
- appindicatorsupportrgcjonas.gmail.com.v58 | ||
- grand-theft-focuszalckos.github.com.v6 | ||
- appindicatorsupportrgcjonas.gmail.com.v58 |