Pull backgrounds into the repo to simplify setup and theme selection

This was too complicated for something too remote
This commit is contained in:
David Heinemeier Hansson
2025-07-17 15:16:37 -07:00
parent 86a3c84db9
commit e2c8e3ccfe
17 changed files with 2 additions and 28 deletions

View File

@ -1,11 +0,0 @@
#!/bin/bash
BACKGROUNDS_DIR=~/.config/omarchy/backgrounds/
download_background_image() {
local url="$1"
local path="$2"
gum spin --title "Downloading $url as $path..." -- curl -sL -o "$BACKGROUNDS_DIR/$path" "$url"
}
for t in ~/.local/share/omarchy/themes/*; do source "$t/backgrounds.sh"; done

View File

@ -15,13 +15,13 @@ for f in ~/.local/share/omarchy/themes/*; do ln -s "$f" ~/.config/omarchy/themes
# Set initial theme # Set initial theme
mkdir -p ~/.config/omarchy/current mkdir -p ~/.config/omarchy/current
ln -snf ~/.config/omarchy/themes/tokyo-night ~/.config/omarchy/current/theme ln -snf ~/.config/omarchy/themes/tokyo-night ~/.config/omarchy/current/theme
source ~/.local/share/omarchy/themes/tokyo-night/backgrounds.sh
ln -snf ~/.config/omarchy/backgrounds/tokyo-night ~/.config/omarchy/current/backgrounds
ln -snf ~/.config/omarchy/current/backgrounds/1-Pawel-Czerwinski-Abstract-Purple-Blue.jpg ~/.config/omarchy/current/background ln -snf ~/.config/omarchy/current/backgrounds/1-Pawel-Czerwinski-Abstract-Purple-Blue.jpg ~/.config/omarchy/current/background
# Set specific app links for current theme # Set specific app links for current theme
ln -snf ~/.config/omarchy/current/theme/neovim.lua ~/.config/nvim/lua/plugins/theme.lua ln -snf ~/.config/omarchy/current/theme/neovim.lua ~/.config/nvim/lua/plugins/theme.lua
mkdir -p ~/.config/btop/themes mkdir -p ~/.config/btop/themes
ln -snf ~/.config/omarchy/current/theme/btop.theme ~/.config/btop/themes/current.theme ln -snf ~/.config/omarchy/current/theme/btop.theme ~/.config/btop/themes/current.theme
mkdir -p ~/.config/mako mkdir -p ~/.config/mako
ln -snf ~/.config/omarchy/current/theme/mako.ini ~/.config/mako/config ln -snf ~/.config/omarchy/current/theme/mako.ini ~/.config/mako/config

View File

@ -1,2 +0,0 @@
mkdir -p "$BACKGROUNDS_DIR/catppuccin"
download_background_image "https://github.com/basecamp/omakub/raw/refs/heads/master/themes/catppuccin/background.png" "catppuccin/1-catppuccin.png"

Binary file not shown.

After

Width:  |  Height:  |  Size: 353 KiB

View File

@ -1,2 +0,0 @@
mkdir -p "$BACKGROUNDS_DIR/everforest"
download_background_image "https://github.com/basecamp/omakub/raw/refs/heads/master/themes/everforest/background.jpg" "everforest/1-everforest.jpg"

Binary file not shown.

After

Width:  |  Height:  |  Size: 315 KiB

View File

@ -1,2 +0,0 @@
mkdir -p "$BACKGROUNDS_DIR/gruvbox"
download_background_image "https://github.com/basecamp/omakub/raw/refs/heads/master/themes/gruvbox/background.jpg" "gruvbox/1-grubox.jpg"

Binary file not shown.

After

Width:  |  Height:  |  Size: 434 KiB

View File

@ -1,2 +0,0 @@
mkdir -p "$BACKGROUNDS_DIR/kanagawa"
download_background_image "https://github.com/basecamp/omakub/raw/refs/heads/master/themes/kanagawa/background.jpg" "kanagawa/1-kanagawa.jpg"

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.5 MiB

View File

@ -1,2 +0,0 @@
mkdir -p "$BACKGROUNDS_DIR/matte-black"
download_background_image "https://raw.githubusercontent.com/tahayvr/omarchy-matte-black/refs/heads/main/images/1-matte-black.jpg" "matte-black/1-matte-black.jpg"

Binary file not shown.

After

Width:  |  Height:  |  Size: 1010 KiB

View File

@ -1,2 +0,0 @@
mkdir -p "$BACKGROUNDS_DIR/nord"
download_background_image "https://github.com/basecamp/omakub/raw/refs/heads/master/themes/nord/background.png" "nord/1-nord.png"

Binary file not shown.

After

Width:  |  Height:  |  Size: 384 KiB

View File

@ -1,3 +0,0 @@
mkdir -p "$BACKGROUNDS_DIR/tokyo-night"
download_background_image "https://images.unsplash.com/photo-1651870364199-fc5f9f46ac85" "tokyo-night/1-Pawel-Czerwinski-Abstract-Purple-Blue.jpg"
download_background_image "https://images.unsplash.com/photo-1620207418302-439b387441b0" "tokyo-night/2-Milad-Fakurian-Abstract-Purple-Blue.jpg"

Binary file not shown.

After

Width:  |  Height:  |  Size: 4.6 MiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 263 KiB