Wifi desktop icon
This commit is contained in:
parent
c6ab0b0cb7
commit
fe0461c65c
Binary file not shown.
After Width: | Height: | Size: 3.2 KiB |
|
@ -533,6 +533,16 @@ function show_desktop_icons {
|
||||||
#echo "Icon=$BROWSER" >> /home/$MY_USERNAME/Desktop/mesh.desktop
|
#echo "Icon=$BROWSER" >> /home/$MY_USERNAME/Desktop/mesh.desktop
|
||||||
#echo 'StartupNotify=true' >> /home/$MY_USERNAME/Desktop/mesh.desktop
|
#echo 'StartupNotify=true' >> /home/$MY_USERNAME/Desktop/mesh.desktop
|
||||||
|
|
||||||
|
echo '[Desktop Entry]' > /home/$MY_USERNAME/Desktop/wifi.desktop
|
||||||
|
echo 'Version=1.0' >> /home/$MY_USERNAME/Desktop/wifi.desktop
|
||||||
|
echo 'Name=Wifi' >> /home/$MY_USERNAME/Desktop/wifi.desktop
|
||||||
|
echo 'Type=Application' >> /home/$MY_USERNAME/Desktop/wifi.desktop
|
||||||
|
echo 'Comment=Check wifi status' >> /home/$MY_USERNAME/Desktop/wifi.desktop
|
||||||
|
echo 'Exec=mate-terminal -e "sudo batman monitor"' >> /home/$MY_USERNAME/Desktop/wifi.desktop
|
||||||
|
echo 'Icon=/usr/share/freedombone/avatars/wifi.jpg' >> /home/$MY_USERNAME/Desktop/wifi.desktop
|
||||||
|
echo 'Terminal=false' >> /home/$MY_USERNAME/Desktop/wifi.desktop
|
||||||
|
echo 'Categories=Application;' >> /home/$MY_USERNAME/Desktop/wifi.desktop
|
||||||
|
|
||||||
echo '[Desktop Entry]' > /home/$MY_USERNAME/Desktop/new_identity.desktop
|
echo '[Desktop Entry]' > /home/$MY_USERNAME/Desktop/new_identity.desktop
|
||||||
echo 'Version=1.0' >> /home/$MY_USERNAME/Desktop/new_identity.desktop
|
echo 'Version=1.0' >> /home/$MY_USERNAME/Desktop/new_identity.desktop
|
||||||
echo 'Name=New Identity' >> /home/$MY_USERNAME/Desktop/new_identity.desktop
|
echo 'Name=New Identity' >> /home/$MY_USERNAME/Desktop/new_identity.desktop
|
||||||
|
|
|
@ -290,6 +290,7 @@ function monitor {
|
||||||
batctl if add $IFACE
|
batctl if add $IFACE
|
||||||
ifconfig $IFACE up
|
ifconfig $IFACE up
|
||||||
horst -i $IFACE
|
horst -i $IFACE
|
||||||
|
start
|
||||||
}
|
}
|
||||||
|
|
||||||
if ! grep -q "$IFACE" /proc/net/dev; then
|
if ! grep -q "$IFACE" /proc/net/dev; then
|
||||||
|
|
Loading…
Reference in New Issue