diff --git a/.config/ags/scripts/color_generation/generate_colors_material.py b/.config/ags/scripts/color_generation/generate_colors_material.py index 8ee4ebcd..2cdf4b77 100755 --- a/.config/ags/scripts/color_generation/generate_colors_material.py +++ b/.config/ags/scripts/color_generation/generate_colors_material.py @@ -1,4 +1,4 @@ -#!/opt/materialyoucolor/bin/python3 +#!/usr/bin/env python3 from material_color_utilities_python import * from pathlib import Path import sys diff --git a/install.sh b/install.sh index defe0823..88cd13b3 100755 --- a/install.sh +++ b/install.sh @@ -137,13 +137,6 @@ else ask_MicroTeX=true fi if $ask_MicroTeX;then showfun install-MicroTeX;v install-MicroTeX;fi -if $(test -d /opt/materialyoucolor); then - echo -e "\e[33m[$0]: Program \"MatertialYouColor-python\" already exists, no need to install.\e[0m" - echo -e "\e[34mYou can reinstall it in order to update to the latest version anyway.\e[0m" - ask_MaterialYouColor=$ask -else ask_MaterialYouColor=true -fi -showfun install-materialyoucolors;v install-materialyoucolors; ##################################################################################### printf "\e[36m[$0]: 3. Copying\e[97m\n" diff --git a/scriptdata/dependencies.conf b/scriptdata/dependencies.conf index 7ffeed1c..2da18aa1 100644 --- a/scriptdata/dependencies.conf +++ b/scriptdata/dependencies.conf @@ -9,7 +9,7 @@ tinyxml2 gtkmm3 gtksourceviewmm cairomm ### Python # Add `python-setuptools-scm` and `python-wheel` explicitly to fix #197 -python-build python-material-color-utilities python-pillow python-poetry python-pywal python-setuptools-scm python-wheel +python-build python-material-color-utilities python-materialyoucolor-git python-pillow python-poetry python-pywal python-setuptools-scm python-wheel ### Basic graphic env hyprland-git xorg-xrandr diff --git a/scriptdata/installers b/scriptdata/installers index 1deeef85..175da758 100644 --- a/scriptdata/installers +++ b/scriptdata/installers @@ -101,10 +101,3 @@ install-MicroTeX (){ x sudo cp ./LaTeX /usr/local/bin/ x cd $base } - -install-materialyoucolors () { - x sudo python -m venv /opt/materialyoucolor - x source /opt/materialyoucolor/bin/activate - x sudo pip install material-color-utilities-python materialyoucolor - x deactivate -}