+ Window AppMenu Applet

This commit is contained in:
Anthony Axenov 2022-01-02 14:32:22 +08:00
parent 8e5d400bac
commit 1e666bda5b
Signed by: anthony
GPG Key ID: EA9EC32FF7CCD4EC
2 changed files with 36 additions and 1 deletions

View File

@ -6,7 +6,7 @@ if installed 'git'; then
[ ! -d "/usr/src/git" ] && sudo git clone https://github.com/git/git.git --depth=1 /usr/src/git [ ! -d "/usr/src/git" ] && sudo git clone https://github.com/git/git.git --depth=1 /usr/src/git
sudo chown -R anthony: /usr/src/git sudo chown -R anthony: /usr/src/git
cd /usr/src/git/ cd /usr/src/git/
sudo git pull # sudo git pull
sudo make prefix=/usr/local all sudo make prefix=/usr/local all
sudo make prefix=/usr/local install sudo make prefix=/usr/local install
else else

35
install/500-kde-appmenu.sh Executable file
View File

@ -0,0 +1,35 @@
#!/bin/bash
. "../src/01-common.sh" || exit 5
title "Installing Window AppMenu Applet..."
# https://github.com/psifidotos/applet-window-appmenu/blob/master/INSTALLATION.md
apti make \
cmake \
extra-cmake-modules \
qtdeclarative5-dev \
libkf5plasma-dev \
libqt5x11extras5-dev \
g++ \
libsm-dev \
libkf5configwidgets-dev \
libkdecorations2-dev \
libxcb-randr0-dev \
libkf5wayland-dev \
plasma-workspace-dev
if installed 'git'; then
sudo rm -rf /usr/src/appmenu-applet
sudo git clone https://github.com/psifidotos/applet-window-appmenu.git --depth=1 /usr/src/appmenu-applet
else
sudo wget https://github.com/psifidotos/applet-window-appmenu/archive/master.zip -O /tmp/appmenu-applet.zip
sudo unzip /tmp/appmenu-applet.zip -d /usr/src/appmenu-applet
sudo mv /usr/src/appmenu-applet/applet-window-appmenu-master/* /usr/src/appmenu-applet/
sudo mv /usr/src/appmenu-applet/applet-window-appmenu-master/.* /usr/src/appmenu-applet/
sudo rm -rf /usr/src/appmenu-applet/applet-window-appmenu-master
sudo rm -f /usr/src/appmenu-applet.zip
fi
sudo chown -R anthony: /usr/src/appmenu-applet
cd /usr/src/appmenu-applet/
sh ./install.sh
success 'Successful! Now you can add "Window AppMenu Applet" on desktop or panel'