From fade9d6999cd568f9523ecba8d19fba694d5a018 Mon Sep 17 00:00:00 2001 From: dingens Date: Fri, 22 Apr 2022 19:04:19 +0000 Subject: [PATCH] =?UTF-8?q?=E2=80=9EbHELPER.sh=E2=80=9C=20=C3=A4ndern?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- bHELPER.sh | 39 ++++++++++++++++++++++++++++++++++++++- 1 file changed, 38 insertions(+), 1 deletion(-) diff --git a/bHELPER.sh b/bHELPER.sh index 06deed5..e165be4 100644 --- a/bHELPER.sh +++ b/bHELPER.sh @@ -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 ########################################################################