active Meldung und Stop "&" hinzugefügt
This commit is contained in:
parent
b18c9ff049
commit
c766340428
2
wg_stop
2
wg_stop
@ -38,7 +38,7 @@ export TEXTDOMAINDIR="/usr/share/locale"
|
||||
--undecorated --borders=8 --skip-taskbar \
|
||||
--text-align=center --no-buttons \
|
||||
--timeout 4 --timeout-indicator=bottom \
|
||||
--text=$"<span color='#0fad0a'><b>"$VALUE" Connection disconnected</b></span>"
|
||||
--text=$"<span color='#0fad0a'><b>"$VALUE" Connection disconnected</b></span>" &
|
||||
fi
|
||||
done
|
||||
pkill yad
|
||||
|
6
wire_g
6
wire_g
@ -48,11 +48,11 @@ wg_notify(){
|
||||
esac
|
||||
yad --image-on-top --image=${WG_PIC}wg-vpn-info.png \
|
||||
--undecorated --borders=8 --skip-taskbar \
|
||||
--text-align=center --no-buttons \
|
||||
--text-align=center --no-buttons --auto-close \
|
||||
--timeout 4 --timeout-indicator=bottom \
|
||||
--text=$"<span color='#0fad0a'><b>"$ACTIVE" powered</b></span>"
|
||||
--text=$"<span color='#0fad0a'><b>"$ACTIVE" powered</b></span>" &
|
||||
# autoconnect wird hier abgeschalten damit auch neu importierte nach einem Systemneustart nicht aktiv sind
|
||||
nmcli con mod "$ACTIVE" connection.autoconnect no
|
||||
nmcli con mod "$ACTIVE" connection.autoconnect no
|
||||
|
||||
yad --notification \
|
||||
--image="${WG_PIC}wg-vpn.png" \
|
||||
|
Loading…
x
Reference in New Issue
Block a user