Notify korrektur 2
This commit is contained in:
parent
5f454f4bcd
commit
4014fff602
6
wire_g
6
wire_g
@ -44,10 +44,10 @@ wg_notify(){
|
||||
wg_pic="/home/$a_user/.icons/"
|
||||
case $LANG in
|
||||
|
||||
de_DE.UTF-8) $show=aktiv ;;
|
||||
de_DE.UTF-8) show=aktiv ;;
|
||||
|
||||
|
||||
*) $show=activ ;;
|
||||
*) show=activ ;;
|
||||
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
|
||||
@ -66,7 +66,7 @@ wg_notify(){
|
||||
#Icon des Menübuttons definieren
|
||||
echo "icon:${wg_pic}wg-vpn.png" >&3
|
||||
#Name des Menüs definieren
|
||||
echo "tooltip:'$active $show'" >&3
|
||||
echo "tooltip:$active $show" >&3
|
||||
|
||||
}
|
||||
export -f wg_notify
|
||||
|
Loading…
x
Reference in New Issue
Block a user