Skip to content
Open
Show file tree
Hide file tree
Changes from 5 commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion bin/omakub-sub/manual.sh
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#!/bin/bash

xdg-open "https://manual.omakub.org" &>/dev/null
xdg-open "https://learn.omacom.io/1/read" &>/dev/null
source $OMAKUB_PATH/bin/omakub-sub/menu.sh
9 changes: 8 additions & 1 deletion install/desktop/set-gnome-extensions.sh
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,14 @@ gext install AlphabeticalAppGrid@stuarthayhurst
sudo cp ~/.local/share/gnome-shell/extensions/tactile@lundal.io/schemas/org.gnome.shell.extensions.tactile.gschema.xml /usr/share/glib-2.0/schemas/
sudo cp ~/.local/share/gnome-shell/extensions/just-perfection-desktop\@just-perfection/schemas/org.gnome.shell.extensions.just-perfection.gschema.xml /usr/share/glib-2.0/schemas/
sudo cp ~/.local/share/gnome-shell/extensions/blur-my-shell\@aunetx/schemas/org.gnome.shell.extensions.blur-my-shell.gschema.xml /usr/share/glib-2.0/schemas/
sudo cp ~/.local/share/gnome-shell/extensions/space-bar\@luchrioh/schemas/org.gnome.shell.extensions.space-bar.gschema.xml /usr/share/glib-2.0/schemas/
if [ -f ~/.local/share/gnome-shell/extensions/space-bar\@luchrioh/schemas/org.gnome.shell.extensions.space-bar.gschema.xml ]; then
sudo cp ~/.local/share/gnome-shell/extensions/space-bar\@luchrioh/schemas/org.gnome.shell.extensions.space-bar.gschema.xml /usr/share/glib-2.0/schemas/
else
sudo cp ~/.local/share/gnome-shell/extensions/space-bar\@luchrioh/schemas/org.gnome.shell.extensions.space-bar.appearance.gschema.xml /usr/share/glib-2.0/schemas/
sudo cp ~/.local/share/gnome-shell/extensions/space-bar\@luchrioh/schemas/org.gnome.shell.extensions.space-bar.behavior.gschema.xml /usr/share/glib-2.0/schemas/
sudo cp ~/.local/share/gnome-shell/extensions/space-bar\@luchrioh/schemas/org.gnome.shell.extensions.space-bar.shortcuts.gschema.xml /usr/share/glib-2.0/schemas/
sudo cp ~/.local/share/gnome-shell/extensions/space-bar\@luchrioh/schemas/org.gnome.shell.extensions.space-bar.state.gschema.xml /usr/share/glib-2.0/schemas/
Comment thread
Kasui92 marked this conversation as resolved.
Outdated
Comment thread
Kasui92 marked this conversation as resolved.
Outdated
Comment thread
Kasui92 marked this conversation as resolved.
Outdated
fi
sudo cp ~/.local/share/gnome-shell/extensions/tophat@fflewddur.github.io/schemas/org.gnome.shell.extensions.tophat.gschema.xml /usr/share/glib-2.0/schemas/
sudo cp ~/.local/share/gnome-shell/extensions/AlphabeticalAppGrid\@stuarthayhurst/schemas/org.gnome.shell.extensions.AlphabeticalAppGrid.gschema.xml /usr/share/glib-2.0/schemas/
sudo glib-compile-schemas /usr/share/glib-2.0/schemas/
Expand Down
52 changes: 46 additions & 6 deletions install/terminal/select-dev-language.sh
Original file line number Diff line number Diff line change
Expand Up @@ -8,38 +8,78 @@ else
languages=$(gum choose "${AVAILABLE_LANGUAGES[@]}" --no-limit --height 10 --header "Select programming languages")
fi

install_php() {
echo -e "Installing PHP...\n"
sudo apt -y install php --no-install-recommends

# Install commonly used PHP extensions if available
local extensions_to_install=(
Comment thread
Kasui92 marked this conversation as resolved.
curl
apcu
intl
mbstring
Comment thread
Kasui92 marked this conversation as resolved.
opcache
pgsql
mysql
sqlite3
redis
xml
Comment thread
Kasui92 marked this conversation as resolved.
zip
)

for extension in "${extensions_to_install[@]}"; do
if apt-cache show "php-$extension" &>/dev/null; then
sudo apt-get install -y "php-$extension" --no-install-recommends
fi
Comment thread
Kasui92 marked this conversation as resolved.
done
Comment thread
Kasui92 marked this conversation as resolved.

# Install Composer globally
php -r "copy('https://getcomposer.org/installer', 'composer-setup.php');"
php composer-setup.php --quiet && sudo mv composer.phar /usr/local/bin/composer
Comment thread
Kasui92 marked this conversation as resolved.
Outdated
Comment thread
Kasui92 marked this conversation as resolved.
Outdated
rm composer-setup.php
Comment thread
Kasui92 marked this conversation as resolved.
Outdated
Comment thread
Kasui92 marked this conversation as resolved.
Outdated
Comment thread
Kasui92 marked this conversation as resolved.
Outdated
}
Comment thread
Kasui92 marked this conversation as resolved.

if [[ -n "$languages" ]]; then
for language in $languages; do
case $language in
Comment thread
Kasui92 marked this conversation as resolved.
Ruby)
mise use --global ruby@latest
echo -e "Installing Ruby on Rails...\n"
Comment thread
Kasui92 marked this conversation as resolved.
mise settings add ruby.compile false
Comment thread
Kasui92 marked this conversation as resolved.
Outdated
mise settings add idiomatic_version_file_enable_tools ruby
mise use --global ruby@latest
Comment thread
Kasui92 marked this conversation as resolved.
echo "gem: --no-document" >~/.gemrc
Comment thread
Kasui92 marked this conversation as resolved.
Comment thread
Kasui92 marked this conversation as resolved.
mise x ruby -- gem install rails --no-document
Comment thread
Kasui92 marked this conversation as resolved.
Comment thread
Kasui92 marked this conversation as resolved.
echo -e "\nYou can now run: rails new myproject"
;;
Comment thread
Kasui92 marked this conversation as resolved.
Node.js)
mise use --global node@lts
echo -e "Installing Node.js...\n"
mise use --global node
Comment thread
Kasui92 marked this conversation as resolved.
Comment thread
Kasui92 marked this conversation as resolved.
Comment thread
Kasui92 marked this conversation as resolved.
;;
Go)
echo -e "Installing Go...\n"
mise use --global go@latest
;;
PHP)
sudo apt -y install php php-{curl,apcu,intl,mbstring,opcache,pgsql,mysql,sqlite3,redis,xml,zip} --no-install-recommends
php -r "copy('https://getcomposer.org/installer', 'composer-setup.php');"
php composer-setup.php --quiet && sudo mv composer.phar /usr/local/bin/composer
rm composer-setup.php
install_php
;;
Python)
echo -e "Installing Python...\n"
mise use --global python@latest
echo -e "\nInstalling uv...\n"
curl -fsSL https://astral.sh/uv/install.sh | sh
Comment thread
Kasui92 marked this conversation as resolved.
Outdated
Comment thread
Kasui92 marked this conversation as resolved.
Outdated
Comment thread
Kasui92 marked this conversation as resolved.
Outdated
;;
Comment thread
Kasui92 marked this conversation as resolved.
Elixir)
echo -e "Installing Elixir...\n"
mise use --global erlang@latest
mise use --global elixir@latest
mise x elixir -- mix local.hex --force
;;
Rust)
echo -e "Installing Rust...\n"
bash -c "$(curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs)" -- -y
;;
Java)
echo -e "Installing Java...\n"
mise use --global java@latest
;;
esac
Expand Down
Loading