Merge branch 'master' into resolve-checkhealth-warnings

This commit is contained in:
David Heinemeier Hansson
2025-02-05 09:44:49 +01:00
committed by GitHub
14 changed files with 45 additions and 18 deletions

Binary file not shown.

After

Width:  |  Height:  |  Size: 48 KiB

View File

@@ -4,6 +4,7 @@ CHOICES=(
"1password Manage your passwords securely across devices"
"Audacity Record and edit audio"
"Brave Chrome-based browser with built-in ad blocking"
"Cursor The AI Code Editor"
"Doom Emacs Emacs framework with curated list of packages"
"Dropbox Sync files across computers with ease"
"OBS Studio Record screencasts with inputs from both display + webcam"

View File

@@ -9,7 +9,7 @@ ascii_art='________ __ ___.
'
echo -e "$ascii_art"
echo "=> Omakub is for fresh Ubuntu 24.04 installations only!"
echo "=> Omakub is for fresh Ubuntu 24.04+ installations only!"
echo -e "\nBegin installation (or abort with ctrl+c)..."
sudo apt-get update >/dev/null

View File

@@ -1,4 +0,0 @@
{
"extras": [ "lazyvim.plugins.extras.lang.go" ],
"version": 6
}

View File

@@ -1,5 +1,5 @@
# File system
alias ls='eza -lh --group-directories-first --icons'
alias ls='eza -lh --group-directories-first --icons=auto'
alias lsa='ls -a'
alias lt='eza --tree --level=2 --long --icons --git'
alias lta='lt -a'

View File

@@ -20,3 +20,6 @@ include "%L"
<Multi_key> <m> <p> : "🙏" # pray
<Multi_key> <m> <i> : "😉" # wink
<Multi_key> <m> <o> : "👌" # OK
<Multi_key> <m> <g> : "👋" # greeting
<Multi_key> <m> <a> : "💪" # arm
<Multi_key> <m> <b> : "🤯" # blowing

View File

@@ -0,0 +1,24 @@
cd /tmp
curl -L --output cursor.appimage https://downloader.cursor.sh/linux/x64
sudo mv cursor.appimage /opt/cursor.appimage
sudo chmod +x /opt/cursor.appimage
sudo apt install -y fuse3
sudo apt install -y libfuse2t64
DESKTOP_FILE="/usr/share/applications/cursor.desktop"
sudo bash -c "cat > $DESKTOP_FILE" <<EOL
[Desktop Entry]
Name=Cursor
Comment=AI-powered code editor
Exec=/opt/cursor.appimage --no-sandbox
Icon=/home/$USER/.local/share/omakub/applications/icons/cursor.png
Type=Application
Categories=Development;IDE;
EOL
if [ -f "$DESKTOP_FILE" ]; then
echo "cursor.desktop created successfully"
else
echo "Failed to create cursor.desktop"
fi

View File

@@ -68,6 +68,7 @@ gsettings set org.gnome.shell.extensions.tophat show-icons false
gsettings set org.gnome.shell.extensions.tophat show-cpu false
gsettings set org.gnome.shell.extensions.tophat show-disk false
gsettings set org.gnome.shell.extensions.tophat show-mem false
gsettings set org.gnome.shell.extensions.tophat show-fs false
gsettings set org.gnome.shell.extensions.tophat network-usage-unit bits
# Configure AlphabeticalAppGrid

View File

@@ -1,10 +1,10 @@
cd /tmp
wget -O nvim.tar.gz "https://github.com/neovim/neovim/releases/latest/download/nvim-linux64.tar.gz"
wget -O nvim.tar.gz "https://github.com/neovim/neovim/releases/download/stable/nvim-linux-x86_64.tar.gz"
tar -xf nvim.tar.gz
sudo install nvim-linux64/bin/nvim /usr/local/bin/nvim
sudo cp -R nvim-linux64/lib /usr/local/
sudo cp -R nvim-linux64/share /usr/local/
rm -rf nvim-linux64 nvim.tar.gz
sudo install nvim-linux-x86_64/bin/nvim /usr/local/bin/nvim
sudo cp -R nvim-linux-x86_64/lib /usr/local/
sudo cp -R nvim-linux-x86_64/share /usr/local/
rm -rf nvim-linux-x86_64 nvim.tar.gz
cd -
# Install luarocks and tree-sitter-cli to resolve lazyvim :checkheatlh warnings
@@ -23,9 +23,6 @@ if [ ! -d "$HOME/.config/nvim" ]; then
# Default to Tokyo Night theme
cp ~/.local/share/omakub/themes/tokyo-night/neovim.lua ~/.config/nvim/lua/plugins/theme.lua
# Enable default extras
cp ~/.local/share/omakub/configs/neovim/lazyvim.json ~/.config/nvim/lazyvim.json
fi
# Replace desktop launcher with one running inside Alacritty

View File

@@ -10,7 +10,7 @@ if [[ -n "$languages" ]]; then
for language in $languages; do
case $language in
Ruby)
mise use --global ruby@3.3
mise use --global ruby@3.4
mise x ruby -- gem install rails --no-document
;;
Node.js)
@@ -21,7 +21,7 @@ if [[ -n "$languages" ]]; then
;;
PHP)
sudo add-apt-repository -y ppa:ondrej/php
sudo apt -y install php8.3 php8.3-{curl,apcu,intl,mbstring,opcache,pgsql,mysql,sqlite3,redis,xml,zip}
sudo apt -y install php8.4 php8.4-{curl,apcu,intl,mbstring,opcache,pgsql,mysql,sqlite3,redis,xml,zip}
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

3
migrations/1738744474.sh Normal file
View File

@@ -0,0 +1,3 @@
# Local XCompose must change for included files to be picked up by ibus
sed -i '1i # Touched to update for Omakub defaults [5/2/2025]' ~/.XCompose
ibus restart

2
uninstall/app-cursor.sh Normal file
View File

@@ -0,0 +1,2 @@
sudo rm /opt/cursor.appimage
sudo rm /usr/share/applications/cursor.desktop

View File

@@ -1,4 +1,4 @@
rm -rf ~/.local/zed.app
rm -rf ~/.local/bin/zed
rm .rf ~/.local/share/applications/dev.zed.Zed.desktop
rm -rf ~/.local/share/applications/dev.zed.Zed.desktop
rm -rf ~/.config/zed

View File

@@ -1 +1 @@
1.1.4
1.1.6