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"}} accent_red: {variables: {accent_color: "#D9534F"}}
@ -154,8 +154,9 @@ profiles:
main: main:
variables: 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() @@}}" 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() @@}}" icon_theme: "Papirus-{{@@ color.type.capitalize() @@}}"
cursor_theme: "capitaine-cursors{{@@ '-light' if color.type == 'light' @@}}" cursor_theme: "capitaine-cursors{{@@ '-light' if color.type == 'light' @@}}"
dotfiles: dotfiles:

View File

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

View File

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