Saltar para o conteúdo

GIMP

GIMP

#!/bin/bash
set -e
#if [[ "$(grep '^ID=' /etc/os-release | cut -d '=' -f2)" == ubuntu ]]; then
#	DEPS="libcanberra-gtk-module\
#		gtk2-engines-murrine\
#		gtk2-engines-pixbuf"
#elif [[ "$(grep '^ID=' /etc/os-release | cut -d '=' -f2)" == debian ]]; then
#	DEPS="libcanberra-gtk3-module\
#		gtk2-engines-murrine\
#		gtk2-engines-pixbuf"
#fi
#PPA='ubuntuhandbook1/gimp-3'
#INSTNAME='gimp'
#source <(curl -sSL https://estudio-debian.pages.dev/functions.lib)
#add_ppa
#if [[ "$(grep '^ID=' /etc/os-release | cut -d '=' -f2)" == debian ]]; then
#	script() {
#		LATEST_LINK=$(curl -sSL 'http://mirrors.kernel.org/ubuntu/pool/main/libj/libjpeg8-empty/' | grep amd64 | grep -o 'libjpeg8_[^"]*deb' | sort -V | tail -n1)
#		TARGET="http://mirrors.kernel.org/ubuntu/pool/main/libj/libjpeg8-empty/$LATEST_LINK"
#		download
#		LATEST_LINK=$(curl -sSL 'http://mirrors.kernel.org/ubuntu/pool/main/libj/libjpeg-turbo/' | grep amd64 | grep -o 'libjpeg-turbo8_[^"]*deb' | sort -V | tail -n1)
#		TARGET="http://mirrors.kernel.org/ubuntu/pool/main/libj/libjpeg-turbo/$LATEST_LINK"
#		download
#	}
#fi
#tmprun script
#install_deb
printf 1|am -i --icons gimp
StartupWMClassFixer -u
sudo StartupWMClassFixer -a
mkdir -p "$HOME"/.config/GIMP/3.0
wget -q --show-progress -O "$HOME"/.config/GIMP/3.0/gimprc https://codeberg.org/estudio-debian/website/raw/main/static/settings/image/gimp/gimprc
wget -q --show-progress -O "$HOME"/.config/GIMP/3.0/sessionrc https://codeberg.org/estudio-debian/website/raw/main/static/settings/image/gimp/sessionrc