mirror of
https://github.com/aljazceru/omakub.git
synced 2026-02-22 20:54:21 +01:00
Merge branch 'master' into resolve-checkhealth-warnings
This commit is contained in:
BIN
applications/icons/cursor.png
Normal file
BIN
applications/icons/cursor.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 48 KiB |
@@ -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"
|
||||
|
||||
2
boot.sh
2
boot.sh
@@ -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
|
||||
|
||||
@@ -1,4 +0,0 @@
|
||||
{
|
||||
"extras": [ "lazyvim.plugins.extras.lang.go" ],
|
||||
"version": 6
|
||||
}
|
||||
@@ -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'
|
||||
|
||||
@@ -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
|
||||
|
||||
24
install/desktop/optional/app-cursor.sh
Normal file
24
install/desktop/optional/app-cursor.sh
Normal 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
|
||||
@@ -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
|
||||
|
||||
@@ -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
|
||||
|
||||
@@ -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
3
migrations/1738744474.sh
Normal 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
2
uninstall/app-cursor.sh
Normal file
@@ -0,0 +1,2 @@
|
||||
sudo rm /opt/cursor.appimage
|
||||
sudo rm /usr/share/applications/cursor.desktop
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user