Dotfiles config update (2021-11-25)

This commit is contained in:
q3aql 2021-11-25 20:51:39 +01:00
parent d7c580248b
commit c12d02597e
2 changed files with 53 additions and 0 deletions

View File

@ -334,6 +334,8 @@ quirk[Pavucontrol:pavucontrol] = FLOAT
quirk[Lxappearance:lxappearance] = FLOAT
quirk[vlc:vlc] = FLOAT
quirk[mpv:gl] = FLOAT
quirk[Engrampa:engrampa] = FLOAT
quirk[Xarchiver:xarchiver] = FLOAT
quirk[Ristretto:ristretto] = FLOAT
quirk[Gimp:gimp] = FLOAT + ANYWHERE
quirk[Gimp-2.10:gimp-2.10] = FLOAT + ANYWHERE

51
spectrwm-install.sh Executable file
View File

@ -0,0 +1,51 @@
#!/bin/bash
######################################################################
# Script to build and install last version spectrwm on Ubuntu/Debian #
# Author: q3aql (q3aql@duck.com) #
# Last update: 24-11-2021 #
# ####################################################################
# Variables
URL_Repo="https://github.com/conformal/spectrwm"
dir_build="spectrwm"
# Check if you are root
mkdir -p /etc/root &> /dev/null
administrador=$?
if [ ${administrador} -eq 0 ] ; then
rm -rf /etc/root
else
echo ""
echo "* spectrwm install"
echo ""
echo "* Administrator permissions are required"
echo ""
exit
fi
# Install dependencies
apt update
apt upgrade -y
sudo apt install autopoint debhelper dh-autoreconf dh-strip-nondeterminism dwz gettext \
gettext-base intltool-debian libarchive-zip-perl libdebhelper-perl make cmake gcc \
libfile-stripnondeterminism-perl libice-dev libsm-dev libsub-override-perl libtool \
libx11-dev libx11-xcb-dev libxcb-icccm4-dev libxcb-keysyms1-dev libxcb-randr0-dev \
libxcb-util-dev libxcb-util0-dev libxcb-xinput-dev libxcb-xtest0-dev libxcursor-dev \
libxext-dev libxfixes-dev libxft-dev libxi-dev libxrandr-dev libxrender-dev libxt-dev \
libxtst-dev po-debconf x11proto-input-dev x11proto-randr-dev x11proto-record-dev \
x11proto-xext-dev xtrans-dev git spectrwm -y
# Build and install spectrwm
cd /tmp/
git clone ${URL_Repo} ${dir_build}
cd ${dir_build}/linux
make
make install
cp -rfv /usr/local/bin/spectrwm /usr/bin/
chmod +x /usr/bin/spectrwm
# Show message to restart
echo ""
echo "* spectrwm process finished!"
echo ""