#!/bin/bash ##################################################### # Script to build and install nwg-wrapper on Debian # # Author: q3aql (q3aql@duck.com) # # Last update: 01-07-2025 # # ################################################### # 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 "* nwg-wrapper install" echo "* Administrator permissions are required" exit 1 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