Update PLASMA5 menu and features
This commit is contained in:
parent
61ca7e3ccd
commit
e3e26e1bac
3 changed files with 39 additions and 6 deletions
|
@ -12,7 +12,7 @@ options+=("kmix" "" on)
|
|||
#options+=("kdesu4" "" on)
|
||||
options+=("gnome-keyring" "" on)
|
||||
#options+=("konsolepart4" "" on)
|
||||
#options+=("octopi" "(AUR)" on)
|
||||
options+=("octopi" "(AUR)" on)
|
||||
#options+=("kde-gtk-config" "" on)
|
||||
#options+=("oxygen-gtk2" "" on)
|
||||
#options+=("oxygen-gtk3-git" "(AUR)" off)
|
||||
|
|
24
install/desktop/plasma5/localisations
Normal file
24
install/desktop/plasma5/localisations
Normal file
|
@ -0,0 +1,24 @@
|
|||
#!/bin/bash
|
||||
. ./lib
|
||||
|
||||
options=()
|
||||
|
||||
items=$(pacman -Ssq kde-l10n-)
|
||||
for item in $items; do
|
||||
options+=("$item" "" off)
|
||||
done
|
||||
|
||||
sel=$(whiptail --backtitle "$apptitle" --title "PLASMA localisations :" --checklist "" --cancel-button "Back" 0 0 0 \
|
||||
"${options[@]}" \
|
||||
3>&1 1>&2 2>&3)
|
||||
if [ ! "$?" = "0" ]; then
|
||||
exit 1
|
||||
fi
|
||||
|
||||
for itm in $sel; do
|
||||
pkg="$pkg $(echo $itm | sed 's/"//g')"
|
||||
done
|
||||
|
||||
instpkg "$pkg" "$aurpkg"
|
||||
|
||||
exit 0
|
|
@ -3,8 +3,9 @@
|
|||
|
||||
options=()
|
||||
options+=("Plasma Packages" "")
|
||||
#options+=("Plasma Meta Full" "pacman -S plasma-meta")
|
||||
#options+=("Plasma Full" "pacman -S plasma")
|
||||
options+=("Localisations" "kde-l10n-")
|
||||
options+=("KDE Apps Meta Full" "kde-applications-meta")
|
||||
options+=("KDE Apps Full" "kde-applications")
|
||||
options+=("KDE Apps" "")
|
||||
options+=("Complements" "")
|
||||
|
||||
|
@ -19,9 +20,17 @@ sed -i "/^defaultitem=/c\defaultitem=\"$sel\"" $0
|
|||
|
||||
case $sel in
|
||||
'Plasma Packages') menu install/desktop/plasma5/plasma-packages;;
|
||||
'Plasma Meta Full') instpkg "plasma-meta" "";;
|
||||
'Plasma Full') instpkg "plasma" "";;
|
||||
'KDE Plasma') script install/desktop/plasma5/kdeplasma;;
|
||||
'KDE Localisations') script install/desktop/plasma5/localisations;;
|
||||
'KDE Apps Meta Full')
|
||||
if ( confirm "This option install all KDE applications with meta packages.\n\nInstall KDE Meta Full (pacman -S kde-applications-meta) ?" ) then
|
||||
instpkg "kde-applications-meta" ""
|
||||
fi
|
||||
;;
|
||||
'KDE Apps Full')
|
||||
if ( confirm "This option install all KDE applications.\n\nInstall KDE Full (pacman -S kde-applications) ?" ) then
|
||||
instpkg "kde-applications" ""
|
||||
fi
|
||||
;;
|
||||
'KDE Apps') script install/desktop/plasma5/kdeapps;;
|
||||
'Complements') script install/desktop/plasma5/complements;;
|
||||
esac
|
||||
|
|
Loading…
Add table
Reference in a new issue