theme: use mint themes

This commit is contained in:
lelgenio 2021-06-15 02:05:10 -03:00
parent c8fe1819a1
commit 2b8da11d3c
3 changed files with 12 additions and 4 deletions

View File

@ -102,7 +102,7 @@ profiles:
###############################################################
# Accents {{{
# Accents
###############################################################
accent_red: {variables: {accent_color: "#D9534F"}}
@ -154,8 +154,9 @@ profiles:
main:
variables:
gtk_theme: "materia-{{@@ env['USER'] @@}}-{{@@ accent_color_name @@}}-{{@@ color.type @@}}"
gtk_theme: "Mint-Y-{{@@ 'Dark' if color.type == 'dark' else 'Darker' @@}}-{{@@ accent_color_name.capitalize() @@}}"
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{{@@ '-light' if color.type == 'light' @@}}"
dotfiles:

View File

@ -44,8 +44,9 @@ depends=(
grim slurp swappy wl-clipboard imagemagick wf-recorder wshowkeys
# Theme
materia-custom-accent papirus-icon-theme
papirus-folders capitaine-cursors
mint-themes mint-y-icons
papirus-icon-theme papirus-folders
capitaine-cursors
# Make dependencies
bc sassc inkscape

View File

@ -1,5 +1,6 @@
#!/bin/sh
{%@@ if 'papirus' in "{{@@ icon_theme @@}}".lower() @@%}
# Papirus Icon Theme
{
papirus-folders -l | grep "[^>] {{@@ accent_color_name @@}}"&&
@ -9,6 +10,9 @@
papirus-folders -uD
} &
{%@@ endif @@%}
{%@@ if 'materia' in "{{@@ gtk_theme @@}}".lower() @@%}
# Materia GTK Theme
src_path="$HOME/.cache/materia-theme"
@ -60,3 +64,5 @@ mkdir -p "${dst_path}/${theme_name}"
notify-send "Finished generating theme"
} &> /dev/null &
{%@@ endif @@%}