nachrichtenfarbe ende geändert

This commit is contained in:
Désiré Werner Menrath 2023-11-15 21:00:35 +01:00
parent b5893ed7a8
commit f35caa6cde
2 changed files with 3 additions and 3 deletions

View File

@ -38,7 +38,7 @@ export TEXTDOMAINDIR="/usr/share/locale"
--undecorated --borders=8 --skip-taskbar \
--text-align=center --no-buttons \
--timeout 2 --timeout-indicator=bottom \
--text=$"<span color='#0fad0a'><b>"$VALUE" Connection disconnected</b></span>"
--text=$"<span color='#0fad0a'><b>"$VALUE" Connection</b></span><span> <b>disconnected</b></span>"
fi
done
IFS=$'\n' lines=( $(awk '{print $2}' ${WG_WDIR}Notify_PID.txt) ) # Dies zeigt auf die richtige pid

4
wire_g
View File

@ -49,8 +49,8 @@ wg_notify(){
yad --image-on-top --image=${WG_PIC}wg-vpn-info.png \
--undecorated --borders=8 --skip-taskbar \
--text-align=center --no-buttons --auto-close \
--timeout 4 --timeout-indicator=bottom \
--text=$"<span color='#0fad0a'><b>"$ACTIVE" powered</b></span>" &
--timeout 2 --timeout-indicator=bottom \
--text=$"<span color='#0fad0a'><b>"$ACTIVE"</b></span> <span><b>powered</b></span>" &
# autoconnect wird hier abgeschalten damit auch neu importierte nach einem Systemneustart nicht aktiv sind
nmcli con mod "$ACTIVE" connection.autoconnect no