Compare commits

...

3 Commits

Author SHA1 Message Date
603ae1d133 README.md 2025-07-27 10:49:27 +02:00
7e75e91b1f Script for install nwg-wrapper 2025-07-27 10:48:47 +02:00
4c8ab31a3a README.md 2025-07-27 10:36:59 +02:00
2 changed files with 45 additions and 1 deletions

View File

@ -34,6 +34,7 @@ sway-wm - My tiling Sway configuration for Debian
$ sudo tar zxvf packages/iwd-connectd.tar.gz -C /
$ sudo systemctl daemon-reload
$ sudo systemctl enable iwd-connectd
$ sudo packages/nwg-wrapper-install.sh
````
### Configuration:
@ -57,7 +58,7 @@ sway-wm - My tiling Sway configuration for Debian
* After modifying the configuration, restart the service:
```shell
$ sudo systemctl restart iwd-connect-cfg
$ sudo systemctl restart iwd-connectd
````
* **`Monitor & resolution:`**

43
packages/nwg-wrapper-install.sh Executable file
View File

@ -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