|
|
@ -15,16 +15,19 @@ WAYLAND_ENABLE="/usr/local/bin/wayland_enablement.sh"
|
|
|
|
sudo apt install \
|
|
|
|
sudo apt install \
|
|
|
|
build-essential \
|
|
|
|
build-essential \
|
|
|
|
cargo \
|
|
|
|
cargo \
|
|
|
|
|
|
|
|
cheese \
|
|
|
|
|
|
|
|
cmake \
|
|
|
|
curl \
|
|
|
|
curl \
|
|
|
|
davfs2 \
|
|
|
|
|
|
|
|
exa \
|
|
|
|
exa \
|
|
|
|
firefox-esr \
|
|
|
|
firefox-esr \
|
|
|
|
fish \
|
|
|
|
fish \
|
|
|
|
|
|
|
|
geany \
|
|
|
|
|
|
|
|
geany-plugins \
|
|
|
|
git \
|
|
|
|
git \
|
|
|
|
j4-dmenu-desktop \
|
|
|
|
|
|
|
|
jq \
|
|
|
|
jq \
|
|
|
|
libcairo-dev \
|
|
|
|
libcairo-dev \
|
|
|
|
libdbus-1-dev \
|
|
|
|
libdbus-1-dev \
|
|
|
|
|
|
|
|
libgtkmm-3.0-dev \
|
|
|
|
libncursesw5-dev \
|
|
|
|
libncursesw5-dev \
|
|
|
|
libpam-dev \
|
|
|
|
libpam-dev \
|
|
|
|
libpam0g-dev \
|
|
|
|
libpam0g-dev \
|
|
|
@ -41,6 +44,7 @@ sudo apt install \
|
|
|
|
mpv \
|
|
|
|
mpv \
|
|
|
|
neomutt \
|
|
|
|
neomutt \
|
|
|
|
neovim \
|
|
|
|
neovim \
|
|
|
|
|
|
|
|
nextcloud-desktop \
|
|
|
|
ninja-build \
|
|
|
|
ninja-build \
|
|
|
|
nm-tray \
|
|
|
|
nm-tray \
|
|
|
|
pandoc \
|
|
|
|
pandoc \
|
|
|
@ -54,35 +58,11 @@ sudo apt install \
|
|
|
|
rsync \
|
|
|
|
rsync \
|
|
|
|
scdoc \
|
|
|
|
scdoc \
|
|
|
|
sway \
|
|
|
|
sway \
|
|
|
|
|
|
|
|
swayidle \
|
|
|
|
unzip \
|
|
|
|
unzip \
|
|
|
|
wayland-protocols \
|
|
|
|
wayland-protocols \
|
|
|
|
wl-clipboard \
|
|
|
|
wl-clipboard \
|
|
|
|
libgtkmm-3.0-dev \
|
|
|
|
|
|
|
|
wlr-randr
|
|
|
|
wlr-randr
|
|
|
|
# Fix NextCloud stuff
|
|
|
|
|
|
|
|
sudo usermod -a -G davfs2 ${USER}
|
|
|
|
|
|
|
|
mkdir -p ~/nextcloud
|
|
|
|
|
|
|
|
mkdir -p ~/.davfs2
|
|
|
|
|
|
|
|
sudo cp /etc/davfs2/secrets ~/.davfs2/secrets
|
|
|
|
|
|
|
|
sudo chown ${USER}:${USER} ~/.davfs2/secrets
|
|
|
|
|
|
|
|
chmod 600 ~/.davfs2/secrets
|
|
|
|
|
|
|
|
echo -n "Enter Nextcloud server, e.g. https://example.com: "
|
|
|
|
|
|
|
|
read server
|
|
|
|
|
|
|
|
echo -n "Enter Nextcloud user: "
|
|
|
|
|
|
|
|
read user
|
|
|
|
|
|
|
|
echo -n "Enter Nextcloud password: "
|
|
|
|
|
|
|
|
read -s password
|
|
|
|
|
|
|
|
echo ""
|
|
|
|
|
|
|
|
fullserver="${server}/remote.php/dav/files/${user}/"
|
|
|
|
|
|
|
|
echo "${fullserver} ${user} ${password}" >> ~/.davfs2/secrets
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
fstab=$(grep ${server} /etc/fstab)
|
|
|
|
|
|
|
|
if [[ "x${fstab}" == "x" ]]; then
|
|
|
|
|
|
|
|
echo "${fullserver} /home/${USER}/nextcloud davfs user,rw,auto 0 0" | sudo tee -a /etc/fstab
|
|
|
|
|
|
|
|
else
|
|
|
|
|
|
|
|
echo /etc/fstab allready configured
|
|
|
|
|
|
|
|
fi
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
# Fix nm-tray icon
|
|
|
|
# Fix nm-tray icon
|
|
|
|
nm=$(grep QT_QPA_PLATFORMTHEME /etc/security/pam_env.conf)
|
|
|
|
nm=$(grep QT_QPA_PLATFORMTHEME /etc/security/pam_env.conf)
|
|
|
|
if [[ "x${nm}" == "x" ]]; then
|
|
|
|
if [[ "x${nm}" == "x" ]]; then
|
|
|
@ -182,6 +162,14 @@ sudo ninja -C builddir install
|
|
|
|
# Autotiling
|
|
|
|
# Autotiling
|
|
|
|
sudo -H pip install autotiling
|
|
|
|
sudo -H pip install autotiling
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
# j4-dmenu-desktop
|
|
|
|
|
|
|
|
cd ~/sources
|
|
|
|
|
|
|
|
git clone https://github.com/enkore/j4-dmenu-desktop.git
|
|
|
|
|
|
|
|
cd j4-dmenu-desktop
|
|
|
|
|
|
|
|
cmake .
|
|
|
|
|
|
|
|
make
|
|
|
|
|
|
|
|
sudo make install
|
|
|
|
|
|
|
|
|
|
|
|
#ncspot
|
|
|
|
#ncspot
|
|
|
|
cd ~/sources
|
|
|
|
cd ~/sources
|
|
|
|
git clone https://github.com/hrkfdn/ncspot.git
|
|
|
|
git clone https://github.com/hrkfdn/ncspot.git
|
|
|
|