mirror of
https://github.com/basecamp/omarchy.git
synced 2026-02-17 15:25:37 +00:00
* fix: symlinks to default icons to prevent text chevron fallbacks * consistent symlink syntax * Needs sudo and had extra quotes * Add migration * added gtk-update-icon-cache for symlinked files * pkill any running Files windows * Cleanup and ensure successful exit so as not to halt migrations * Excess CR --------- Co-authored-by: xz <xz> Co-authored-by: David Heinemeier Hansson <david@hey.com> Co-authored-by: robert stringer <bitmap+github@gmail.com>
29 lines
1.3 KiB
Bash
Executable File
29 lines
1.3 KiB
Bash
Executable File
#!/bin/bash
|
|
|
|
gsettings set org.gnome.desktop.interface gtk-theme "Adwaita-dark"
|
|
gsettings set org.gnome.desktop.interface color-scheme "prefer-dark"
|
|
gsettings set org.gnome.desktop.interface icon-theme "Yaru-blue"
|
|
|
|
# Set links for Nautilius action icons
|
|
sudo ln -snf /usr/share/icons/Adwaita/symbolic/actions/go-previous-symbolic.svg /usr/share/icons/Yaru/scalable/actions/go-previous-symbolic.svg
|
|
sudo ln -snf /usr/share/icons/Adwaita/symbolic/actions/go-next-symbolic.svg /usr/share/icons/Yaru/scalable/actions/go-next-symbolic.svg
|
|
sudo gtk-update-icon-cache /usr/share/icons/Yaru
|
|
|
|
# Setup theme links
|
|
mkdir -p ~/.config/omarchy/themes
|
|
for f in ~/.local/share/omarchy/themes/*; do ln -nfs "$f" ~/.config/omarchy/themes/; done
|
|
|
|
# Set initial theme
|
|
mkdir -p ~/.config/omarchy/current
|
|
ln -snf ~/.config/omarchy/themes/tokyo-night ~/.config/omarchy/current/theme
|
|
ln -snf ~/.config/omarchy/current/theme/backgrounds/1-scenery-pink-lakeside-sunset-lake-landscape-scenic-panorama-7680x3215-144.png ~/.config/omarchy/current/background
|
|
|
|
# Set specific app links for current theme
|
|
ln -snf ~/.config/omarchy/current/theme/neovim.lua ~/.config/nvim/lua/plugins/theme.lua
|
|
|
|
mkdir -p ~/.config/btop/themes
|
|
ln -snf ~/.config/omarchy/current/theme/btop.theme ~/.config/btop/themes/current.theme
|
|
|
|
mkdir -p ~/.config/mako
|
|
ln -snf ~/.config/omarchy/current/theme/mako.ini ~/.config/mako/config
|