Build j4-dmenu-desktop from source

main
Micke Nordin 3 years ago
parent 9c8798e9cb
commit cc25400da0

@ -13,80 +13,60 @@ WAYLAND_ENABLE="/usr/local/bin/wayland_enablement.sh"
# Install software from repo # Install software from repo
sudo apt install \ sudo apt install \
build-essential \ build-essential \
cargo \ cargo \
curl \ cheese \
davfs2 \ cmake \
exa \ curl \
firefox-esr \ exa \
fish \ firefox-esr \
git \ fish \
j4-dmenu-desktop \ geany \
jq \ geany-plugins \
libcairo-dev \ git \
libdbus-1-dev \ jq \
libncursesw5-dev \ libcairo-dev \
libpam-dev \ libdbus-1-dev \
libpam0g-dev \
libpulse-dev \
libssl-dev \
libwayland-dev \
libxcb-render0-dev \
libxcb-shape0-dev \
libxcb-xfixes0-dev \
libxcb1-dev \
libxkbcommon-dev \
light \
meson \
mpv \
neomutt \
neovim \
ninja-build \
nm-tray \
pandoc \
pass \
pavucontrol \
poppler-utils \
python3-pip \
python3-tldextract \
qutebrowser \
ripgrep \
rsync \
scdoc \
sway \
unzip \
wayland-protocols \
wl-clipboard \
libgtkmm-3.0-dev \ libgtkmm-3.0-dev \
wlr-randr libncursesw5-dev \
# Fix NextCloud stuff libpam-dev \
sudo usermod -a -G davfs2 ${USER} libpam0g-dev \
mkdir -p ~/nextcloud libpulse-dev \
mkdir -p ~/.davfs2 libssl-dev \
sudo cp /etc/davfs2/secrets ~/.davfs2/secrets libwayland-dev \
sudo chown ${USER}:${USER} ~/.davfs2/secrets libxcb-render0-dev \
chmod 600 ~/.davfs2/secrets libxcb-shape0-dev \
echo -n "Enter Nextcloud server, e.g. https://example.com: " libxcb-xfixes0-dev \
read server libxcb1-dev \
echo -n "Enter Nextcloud user: " libxkbcommon-dev \
read user light \
echo -n "Enter Nextcloud password: " meson \
read -s password mpv \
echo "" neomutt \
fullserver="${server}/remote.php/dav/files/${user}/" neovim \
echo "${fullserver} ${user} ${password}" >> ~/.davfs2/secrets nextcloud-desktop \
ninja-build \
fstab=$(grep ${server} /etc/fstab) nm-tray \
if [[ "x${fstab}" == "x" ]]; then pandoc \
echo "${fullserver} /home/${USER}/nextcloud davfs user,rw,auto 0 0" | sudo tee -a /etc/fstab pass \
else pavucontrol \
echo /etc/fstab allready configured poppler-utils \
fi python3-pip \
python3-tldextract \
qutebrowser \
ripgrep \
rsync \
scdoc \
sway \
swayidle \
unzip \
wayland-protocols \
wl-clipboard \
wlr-randr
# 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
echo 'QT_QPA_PLATFORMTHEME DEFAULT=qt5ct' | sudo tee -a /etc/security/pam_env.conf echo 'QT_QPA_PLATFORMTHEME DEFAULT=qt5ct' | sudo tee -a /etc/security/pam_env.conf
fi fi
# Install software from sources # Install software from sources
@ -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

Loading…
Cancel
Save