theme: add orchis theme

This commit is contained in:
lelgenio 2021-12-08 00:06:42 -03:00
parent fcca15ecb7
commit a1162d0e57
2 changed files with 25 additions and 8 deletions

View File

@ -163,7 +163,10 @@ profiles:
kvantum_theme: "Materia{{@@ color.type.capitalize() @@}}"
# icon_theme: "Mint-Y-{{@@ 'Dark' if color.type == 'dark' else 'Darker' @@}}-{{@@ accent_color_name.capitalize() @@}}"
icon_theme: "Papirus-{{@@ color.type.capitalize() @@}}"
cursor_theme: "capitaine-cursors"
cursor_theme: "Breeze_Obsidian"
# cursor_theme: "Breeze_Snow"
# cursor_theme: "capitaine-cursors"
dotfiles:
- ALL
include:

View File

@ -1,6 +1,6 @@
#!/bin/sh
{%@@ if 'papirus' in "{{@@ icon_theme @@}}".lower() @@%}
{%@@ if 'papirus' in icon_theme.lower() @@%}
# Papirus Icon Theme
{
papirus-folders -l | grep "[^>] {{@@ accent_color_name @@}}"&&
@ -12,20 +12,20 @@
} &
{%@@ endif @@%}
{%@@ if 'materia' in "{{@@ gtk_theme @@}}".lower() @@%}
{%@@ if 'materia' in gtk_theme.lower() @@%}
# Materia GTK Theme
src_path="$HOME/.cache/materia-theme"
TMPDIR="$HOME/.cache/materia-theme"
theme_name="{{@@ gtk_theme @@}}"
dst_path="${HOME}/.themes"
dst_path="$HOME/.themes"
test -d "$src_path" ||
test -d "$TMPDIR" ||
git clone\
"https://github.com/nana-4/materia-theme"\
"$src_path"
"$TMPDIR"
cd "$src_path"
cd "$TMPDIR"
# SEL = accent
# BG = header-bar
@ -66,3 +66,17 @@ mkdir -p "${dst_path}/${theme_name}"
} &> /dev/null &
{%@@ endif @@%}
{%@@ if 'Orchis' in gtk_theme.lower() @@%}
TMPDIR="$HOME/.cache/share/orchis"
mkdir -p "$TMPDIR" && cd "$TMPDIR"
test -d .git &&
git pull ||
git clone "https://github.com/vinceliuice/Orchis-theme" "$TMPDIR"
./install.sh \
--theme "{{@@ accent_color_name.lower() @@}}" \
--tweaks "solid" --tweaks "compact"
{%@@ endif @@%}