mirror of
https://github.com/danbulant/dots-hyprland
synced 2026-05-24 12:22:09 +00:00
material color generation: use aur pkg, change shebang
This commit is contained in:
parent
2a2d9f001a
commit
5ad817ff34
4 changed files with 2 additions and 16 deletions
|
|
@ -1,4 +1,4 @@
|
|||
#!/opt/materialyoucolor/bin/python3
|
||||
#!/usr/bin/env python3
|
||||
from material_color_utilities_python import *
|
||||
from pathlib import Path
|
||||
import sys
|
||||
|
|
|
|||
|
|
@ -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"
|
||||
|
||||
|
|
|
|||
|
|
@ -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
|
||||
|
|
|
|||
|
|
@ -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
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue