diff --git a/packages/nwg-wrapper-install.sh b/packages/nwg-wrapper-install.sh new file mode 100755 index 0000000..cfdd76f --- /dev/null +++ b/packages/nwg-wrapper-install.sh @@ -0,0 +1,43 @@ +#!/bin/bash + +################################################# +# Script to build and install i3-gaps on Debian # +# Author: q3aql (q3aql@duck.com) # +# Last update: 09-01-2022 # +# ############################################### + +# Variables +URL_Repo="https://github.com/nwg-piotr/nwg-wrapper.git" +dir_build="nwg-wrapper" + +# Check if you are root +mkdir -p /etc/root &> /dev/null +administrador=$? +if [ ${administrador} -eq 0 ] ; then + rm -rf /etc/root +else + echo "" + echo "* nwg-wrapper install" + echo "" + echo "* Administrator permissions are required" + echo "" + exit +fi + +# Install dependencies +apt update +apt upgrade -y +apt install git python3 python3-pip wlr-randr -y +apt install python3-setuptools -y +apt install libgtk3.0-cil-dev -y +apt install libgtk-layer-shell0 -y +apt install libgtk-layer-shell-dev -y +apt install python3-i3ipc -y +apt install python3-gi -y + +# Install nwg-wrapper +cd /tmp +git clone ${URL_Repo} +cd ${dir_build} +python3 setup.py install --optimize=1 +