„bHELPER.sh“ ändern
This commit is contained in:
parent
6c635fbc5b
commit
d0db7bc310
|
@ -1,5 +1,5 @@
|
|||
#!/usr/bin/env bash
|
||||
SkriptVersion="2022-10-15 22:00"
|
||||
SkriptVersion="2022-10-15 23:50"
|
||||
|
||||
gl_SkriptName=$(basename "${0}")
|
||||
gl__SkriptPfadName=$(cd "$(dirname "${0}")"; pwd -P)/$(basename "${0}")
|
||||
|
@ -25,7 +25,10 @@ gl__nmcli_dev_status="${0}.nmcli_dev_status.tmp" && nmcli dev status > ${gl__nmc
|
|||
### Desktop Icon
|
||||
################################################################################
|
||||
|
||||
if grep -q "^desktopiconautom=yes" "${gl__config_file}" &>/dev/null ; then
|
||||
[[ -d "${gl__config_folder}" ]] || mkdir -p "${gl__config_folder}"
|
||||
touch "${gl__config_file}"
|
||||
|
||||
if ! grep "^desktopiconautom=" "${gl__config_file}" &>/dev/null ; then
|
||||
cat <<_EOF_ > "${HOME}/${gl__desktop_vz}bHELPER.desktop"
|
||||
#!/usr/bin/env xdg-open
|
||||
[Desktop Entry]
|
||||
|
@ -165,7 +168,7 @@ function banner {
|
|||
echo -e " ${gl__format_red}88 88 88 88888888 88 88888b. 88888888 888888b. ${gl__format_off}"
|
||||
echo -e " ${gl__format_red}88 88 88 88 88 88 Y8b 88 88 Y8b ${gl__format_off}"
|
||||
echo -e " ${gl__format_red}88 88 88 88 88 88 88 88 88 88 ${gl__format_off}"
|
||||
echo -e " ${gl__format_red}88888b. 88888888 888888 88 88 d8P 888888 88 d8P ${gl__format_off}"
|
||||
echo -e " ${gl__format_red}888(8b. 88888888 888888 88 88 d8P 888888 88 d8P ${gl__format_off}"
|
||||
echo -e " ${gl__format_red}88 \"8b 88 88 88 88 88888P\" 88 88888P\" ${gl__format_off}"
|
||||
echo -e " ${gl__format_red}88 88 88 88 88 88 88 88 88 T8b ${gl__format_off}"
|
||||
echo -e " ${gl__format_red}88 d8P 88 88 88 88 88 88 88 T8b ${gl__format_off}"
|
||||
|
|
Loading…
Reference in New Issue