„bHELPER.sh“ ändern

This commit is contained in:
dingens 2022-04-22 19:04:19 +00:00
parent e193312580
commit fade9d6999
1 changed files with 38 additions and 1 deletions

View File

@ -1,5 +1,5 @@
#!/usr/bin/env bash
SkriptVersion="2021-04-20 21:55"
SkriptVersion="2021-04-22 21:40"
gl__nmcli_dev_status="${0}.nmcli_dev_status.tmp" && nmcli dev status > ${gl__nmcli_dev_status}
@ -202,6 +202,10 @@ echo ""
echo ""
echo " ${gl__format_red}| H |${gl__format_off} Hardware ${gl__format_red}| S |${gl__format_off} Software"
echo " ${gl__format_red}| F |${gl__format_off} Dateien & Verzeichn. ${gl__format_red}| W |${gl__format_off} Netzwerk"
if [[ ${XDG_CURRENT_DESKTOP} =~ .*KDE.* ]]
then
echo " ${gl__format_red}| K |${gl__format_off} KDE"
fi
echo ""
echo ""
echo " ${gl__format_red}| E |${gl__format_off} Einstellungen ${gl__format_red}| U |${gl__format_off} bHELPER aktualisieren"
@ -753,6 +757,39 @@ echo -e "${gl__format_red}------------------------------------------------------
########################################################################
### KDE
########################################################################
k|K)
bannertitel="Hauptmenü => KDE"
banner
echo " ${gl__format_red}| EN |${gl__format_off} Energieprofile"
echo " ${gl__format_red}| AE |${gl__format_off} Anzeigeeinstellung"
echo " ${gl__format_red}| SL |${gl__format_off} Bildschirmsperre"
echo " ${gl__format_red}| SI |${gl__format_off} Sitzung"
echo " ${gl__format_red}| KW |${gl__format_off} KWin Regeln"
echo " ${gl__format_red}| EK |${gl__format_off} Eigene Kurzbefehle"
echo ""
echo "${gl__bittewaehlen}"
read -n 2 kde
case ${kde} in
en|EN) nohup kcmshell5 powerdevilprofilesconfig & ;;
ae|AE) nohup kcmshell5 kscreen & ;;
sl|SL) nohup kcmshell5 screenlocker & ;;
si|SI) nohup kcmshell5 kcm_smserver & ;;
kw|KW) nohup kcmshell5 kwinrules & ;;
ek|EK) nohup kcmshell5 khotkeys & ;;
esac
;;
########################################################################
### TON an/aus/leiser/lauter
########################################################################