Skip to content
Open
Show file tree
Hide file tree
Changes from all 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
4 changes: 0 additions & 4 deletions EXTENSIONS.md

This file was deleted.

15 changes: 5 additions & 10 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,19 +1,14 @@
# Omakub
# Scrub

_Note_: Forked from Omakub.

Turn a fresh Ubuntu installation into a fully-configured, beautiful, and modern web development system by running a single command. That's the one-line pitch for Omakub. No need to write bespoke configs for every essential tool just to get started or to be up on all the latest command-line tools. Omakub is an opinionated take on what Linux can be at its best.

Watch the introduction video and read more at [omakub.org](https://omakub.org).

Yes, I didn't change folder name because I didn't want to drive myself insane if I messed something up. Plus, I keep forward compatibility too.

## Contributing to the documentation

Please help us improve Omakub's documentation on the [basecamp/omakub-site repository](https://github.com/basecamp/omakub-site).

## License

Omakub is released under the [MIT License](https://opensource.org/licenses/MIT).

## Extras

While omakub is purposed to be an opinionated take, the open source community offers alternative customization, add-ons, extras, that you can use to adjust, replace or enrich your experience.

[⇒ Browse the omakub extensions.](EXTENSIONS.md)
7 changes: 6 additions & 1 deletion applications/Omakub.sh
Original file line number Diff line number Diff line change
Expand Up @@ -2,11 +2,16 @@ cat <<EOF >~/.local/share/applications/Omakub.desktop
[Desktop Entry]
Version=1.0
Name=Omakub
Exec=ghostty -e omakub
Comment=Omakub Controls
Exec=alacritty --config-file /home/$USER/.local/share/omakub/defaults/alacritty/pane.toml --class=Omakub --title=Omakub -e omakub
Terminal=false
Type=Application
Icon=/home/$USER/.local/share/omakub/applications/icons/Omakub.png
Categories=GTK;
StartupNotify=false
EOF

#Exec=alacritty --config-file /home/$USER/.local/share/omakub/defaults/alacritty/pane.toml --class=Omakub --title=Omakub -e omakub



29 changes: 21 additions & 8 deletions ascii.sh
Original file line number Diff line number Diff line change
@@ -1,11 +1,24 @@
ascii_art='
________ __ ___.
\_____ \ _____ _____ | | ____ _\_ |__
/ | \ / \\__ \ | |/ / | \ __ \
/ | \ Y Y \/ __ \| <| | / \_\ \
\_______ /__|_| (____ /__|_ \____/|___ /
\/ \/ \/ \/ \/

ascii_art=' _____ _____ _____ _____ _____
/\ \ /\ \ /\ \ /\ \ /\ \
/::\ \ /::\ \ /::\ \ /::\____\ /::\ \
/::::\ \ /::::\ \ /::::\ \ /:::/ / /::::\ \
/::::::\ \ /::::::\ \ /::::::\ \ /:::/ / /::::::\ \
/:::/\:::\ \ /:::/\:::\ \ /:::/\:::\ \ /:::/ / /:::/\:::\ \
/:::/__\:::\ \ /:::/ \:::\ \ /:::/__\:::\ \ /:::/ / /:::/__\:::\ \
\:::\ \:::\ \ /:::/ \:::\ \ /::::\ \:::\ \ /:::/ / /::::\ \:::\ \
___\:::\ \:::\ \ /:::/ / \:::\ \ /::::::\ \:::\ \ /:::/ / _____ /::::::\ \:::\ \
/\ \:::\ \:::\ \ /:::/ / \:::\ \ /:::/\:::\ \:::\____\ /:::/____/ /\ \ /:::/\:::\ \:::\ ___\
/::\ \:::\ \:::\____\/:::/____/ \:::\____\/:::/ \:::\ \:::| ||:::| / /::\____\/:::/__\:::\ \:::| |
\:::\ \:::\ \::/ /\:::\ \ \::/ /\::/ |::::\ /:::|____||:::|____\ /:::/ /\:::\ \:::\ /:::|____|
\:::\ \:::\ \/____/ \:::\ \ \/____/ \/____|:::::\/:::/ / \:::\ \ /:::/ / \:::\ \:::\/:::/ /
\:::\ \:::\ \ \:::\ \ |:::::::::/ / \:::\ \ /:::/ / \:::\ \::::::/ /
\:::\ \:::\____\ \:::\ \ |::|\::::/ / \:::\ /:::/ / \:::\ \::::/ /
\:::\ /:::/ / \:::\ \ |::| \::/____/ \:::\__/:::/ / \:::\ /:::/ /
\:::\/:::/ / \:::\ \ |::| ~| \::::::::/ / \:::\/:::/ /
\::::::/ / \:::\ \ |::| | \::::::/ / \::::::/ /
\::::/ / \:::\____\ \::| | \::::/ / \::::/ /
\::/ / \::/ / \:| | \::/____/ \::/____/
\/____/ \/____/ \|___| ~~ ~~
'

# Define the color gradient (shades of cyan and blue)
Expand Down
3 changes: 2 additions & 1 deletion bin/omakub-sub/font.sh
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,8 @@ set_font() {
fi

gsettings set org.gnome.desktop.interface monospace-font-name "$font_name 10"
cp "$OMAKUB_PATH/configs/alacritty/fonts/$file_name.toml" ~/.config/alacritty/font.toml
# TODO: Fix font for ghostty
cp "$OMAKUB_PATH/configs/ghostty/fonts/$file_name" ~/.config/ghostty/font-config
sed -i "s/\"editor.fontFamily\": \".*\"/\"editor.fontFamily\": \"$font_name\"/g" ~/.config/Code/User/settings.json
}

Expand Down
8 changes: 4 additions & 4 deletions bin/omakub-sub/theme.sh
Original file line number Diff line number Diff line change
Expand Up @@ -2,10 +2,10 @@ THEME_NAMES=("Tokyo Night" "Catppuccin" "Nord" "Everforest" "Gruvbox" "Kanagawa"
THEME=$(gum choose "${THEME_NAMES[@]}" "<< Back" --header "Choose your theme" --height 10 | tr '[:upper:]' '[:lower:]' | sed 's/ /-/g')

if [ -n "$THEME" ] && [ "$THEME" != "<<-back" ]; then
cp $OMAKUB_PATH/themes/$THEME/alacritty.toml ~/.config/alacritty/theme.toml
cp $OMAKUB_PATH/themes/$THEME/zellij.kdl ~/.config/zellij/themes/$THEME.kdl
sed -i "s/theme \".*\"/theme \"$THEME\"/g" ~/.config/zellij/config.kdl
cp $OMAKUB_PATH/themes/$THEME/neovim.lua ~/.config/nvim/lua/plugins/theme.lua
cp $OMAKUB_PATH/themes/$THEME/ghostty ~/.config/ghostty/theme-config
#cp $OMAKUB_PATH/themes/$THEME/zellij.kdl ~/.config/zellij/themes/$THEME.kdl
#sed -i "s/theme \".*\"/theme \"$THEME\"/g" ~/.config/zellij/config.kdl
#cp $OMAKUB_PATH/themes/$THEME/neovim.lua ~/.config/nvim/lua/plugins/theme.lua

source $OMAKUB_PATH/themes/$THEME/gnome.sh
source $OMAKUB_PATH/themes/$THEME/tophat.sh
Expand Down
35 changes: 25 additions & 10 deletions boot.sh
Original file line number Diff line number Diff line change
@@ -1,26 +1,41 @@
set -e

ascii_art='________ __ ___.
\_____ \ _____ _____ | | ____ _\_ |__
/ | \ / \\__ \ | |/ / | \ __ \
/ | \ Y Y \/ __ \| <| | / \_\ \
\_______ /__|_| (____ /__|_ \____/|___ /
\/ \/ \/ \/ \/
ascii_art=' _____ _____ _____ _____ _____
/\ \ /\ \ /\ \ /\ \ /\ \
/::\ \ /::\ \ /::\ \ /::\____\ /::\ \
/::::\ \ /::::\ \ /::::\ \ /:::/ / /::::\ \
/::::::\ \ /::::::\ \ /::::::\ \ /:::/ / /::::::\ \
/:::/\:::\ \ /:::/\:::\ \ /:::/\:::\ \ /:::/ / /:::/\:::\ \
/:::/__\:::\ \ /:::/ \:::\ \ /:::/__\:::\ \ /:::/ / /:::/__\:::\ \
\:::\ \:::\ \ /:::/ \:::\ \ /::::\ \:::\ \ /:::/ / /::::\ \:::\ \
___\:::\ \:::\ \ /:::/ / \:::\ \ /::::::\ \:::\ \ /:::/ / _____ /::::::\ \:::\ \
/\ \:::\ \:::\ \ /:::/ / \:::\ \ /:::/\:::\ \:::\____\ /:::/____/ /\ \ /:::/\:::\ \:::\ ___\
/::\ \:::\ \:::\____\/:::/____/ \:::\____\/:::/ \:::\ \:::| ||:::| / /::\____\/:::/__\:::\ \:::| |
\:::\ \:::\ \::/ /\:::\ \ \::/ /\::/ |::::\ /:::|____||:::|____\ /:::/ /\:::\ \:::\ /:::|____|
\:::\ \:::\ \/____/ \:::\ \ \/____/ \/____|:::::\/:::/ / \:::\ \ /:::/ / \:::\ \:::\/:::/ /
\:::\ \:::\ \ \:::\ \ |:::::::::/ / \:::\ \ /:::/ / \:::\ \::::::/ /
\:::\ \:::\____\ \:::\ \ |::|\::::/ / \:::\ /:::/ / \:::\ \::::/ /
\:::\ /:::/ / \:::\ \ |::| \::/____/ \:::\__/:::/ / \:::\ /:::/ /
\:::\/:::/ / \:::\ \ |::| ~| \::::::::/ / \:::\/:::/ /
\::::::/ / \:::\ \ |::| | \::::::/ / \::::::/ /
\::::/ / \:::\____\ \::| | \::::/ / \::::/ /
\::/ / \::/ / \:| | \::/____/ \::/____/
\/____/ \/____/ \|___| ~~ ~~
'

echo -e "$ascii_art"
echo "=> Omakub is for fresh Ubuntu 24.04+ installations only!"
echo "=> scrub is omakub which is for fresh Ubuntu 24.04+ installations only!"
echo -e "\nBegin installation (or abort with ctrl+c)..."

sudo apt-get update >/dev/null
sudo apt-get install -y git >/dev/null

echo "Cloning Omakub..."
echo "Cloning omakub..."
rm -rf ~/.local/share/omakub
git clone https://github.com/basecamp/omakub.git ~/.local/share/omakub >/dev/null
git clone https://github.com/kingscott/scrub.git ~/.local/share/omakub >/dev/null
if [[ $OMAKUB_REF != "master" ]]; then
cd ~/.local/share/omakub
git fetch origin "${OMAKUB_REF:-stable}" && git checkout "${OMAKUB_REF:-stable}"
git fetch origin "${OMAKUB_REF:-feat/initial-scrubbing}" && git checkout "${OMAKUB_REF:-feat/initial-scrubbing}"
cd -
fi

Expand Down
1 change: 0 additions & 1 deletion configs/alacritty.toml

This file was deleted.

3 changes: 0 additions & 3 deletions configs/alacritty/font-size.toml

This file was deleted.

4 changes: 0 additions & 4 deletions configs/alacritty/fonts/CaskaydiaMono.toml

This file was deleted.

4 changes: 0 additions & 4 deletions configs/alacritty/fonts/FiraMono.toml

This file was deleted.

4 changes: 0 additions & 4 deletions configs/alacritty/fonts/JetBrainsMono.toml

This file was deleted.

4 changes: 0 additions & 4 deletions configs/alacritty/fonts/MesloLGS.toml

This file was deleted.

5 changes: 5 additions & 0 deletions configs/ghostty/config
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
font-size = 13

config-file = font-config
config-file = theme-config

1 change: 1 addition & 0 deletions configs/ghostty/font-config
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
font-family = FiraCode Nerd Font Mono
1 change: 1 addition & 0 deletions configs/ghostty/fonts/CaskaydiaMono
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
font-family = CaskaydiaMono Nerd Font Mono
1 change: 1 addition & 0 deletions configs/ghostty/fonts/FiraMono
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
font-family = FiraMono Nerd Font Mono
1 change: 1 addition & 0 deletions configs/ghostty/fonts/JetBrainsMono
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
font-family = JetBrainsMono Nerd Font Mono
1 change: 1 addition & 0 deletions configs/ghostty/fonts/MesloLGS
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
font-family = MesloLGLDZ Nerd Font Mono
1 change: 1 addition & 0 deletions configs/ghostty/theme-config
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
theme = rose-pine
Loading