Pull backgrounds into the repo to simplify setup and theme selection
This was too complicated for something too remote
@ -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
|
|
@ -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
|
||||||
|
@ -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"
|
|
BIN
themes/catppuccin/backgrounds/1-catppuccin.png
Normal file
After Width: | Height: | Size: 353 KiB |
@ -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"
|
|
BIN
themes/everforest/backgrounds/1-everforest.jpg
Normal file
After Width: | Height: | Size: 315 KiB |
@ -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"
|
|
BIN
themes/gruvbox/backgrounds/1-grubox.jpg
Normal file
After Width: | Height: | Size: 434 KiB |
@ -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"
|
|
BIN
themes/kanagawa/backgrounds/1-kanagawa.jpg
Normal file
After Width: | Height: | Size: 1.5 MiB |
@ -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"
|
|
BIN
themes/matte-black/backgrounds/1-matte-black.jpg
Normal file
After Width: | Height: | Size: 1010 KiB |
@ -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"
|
|
BIN
themes/nord/backgrounds/1-nord.png
Normal file
After Width: | Height: | Size: 384 KiB |
@ -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"
|
|
After Width: | Height: | Size: 4.6 MiB |
After Width: | Height: | Size: 263 KiB |