Notify korrektur 3
This commit is contained in:
parent
c2e1ef800a
commit
a65773b7ff
8
wire_g
8
wire_g
@ -44,10 +44,10 @@ wg_notify(){
|
||||
wg_pic="/home/$a_user/.icons/"
|
||||
case $LANG in
|
||||
|
||||
de_DE.UTF-8) show=aktiv & open=öffnen ;;
|
||||
de_DE.UTF-8) open=öffnen ;;
|
||||
|
||||
|
||||
*) show=activ & open=open ;;
|
||||
*) open=open ;;
|
||||
esac
|
||||
notify-send --icon=${wg_pic}wg-vpn.png $"$active powered"
|
||||
# autoconnect wird hier abgeschalten damit auch neu importierte nach einem Systemneustart nicht aktiv sind
|
||||
@ -56,8 +56,8 @@ wg_notify(){
|
||||
yad --notification \
|
||||
--image="${wg_pic}wg-vpn.png" \
|
||||
--icon-size=32 --no-middle \
|
||||
--text="$active" "$show" \
|
||||
--menu="Wire-G $open ! sbin/wire_g
|
||||
--text=$"$active activ" \
|
||||
--menu="Wire-G $open!/sbin/wire_g
|
||||
|$active stop!/sbin/wg_stop" \
|
||||
--command="menu"
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user