Skip to content

Commit

Permalink
Clean-up routes.sh. Change IP address font size
Browse files Browse the repository at this point in the history
  • Loading branch information
freQniK committed Jul 7, 2024
1 parent a9f6c42 commit 1584572
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions src/bin/routes.sh
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@ if [[ ${STATE} = "up" ]]; then

# start tun2socks
echo "Starting tun2socks..."
/home/${USER}/.meile-gui/bin/tun2socks -device tun://${TUNIFACE} -proxy socks5://127.0.0.1:1080 -interface ${PRIMARY_IFACE} -mtu 1500 -tcp-sndbuf 1024k -tcp-rcvbuf 1024k -tcp-auto-tuning -loglevel silent
/home/${USER}/.meile-gui/bin/tun2socks -device tun://${TUNIFACE} -proxy socks5://127.0.0.1:1080 -interface ${PRIMARY_IFACE} -mtu 1500 -tcp-sndbuf 1024k -tcp-rcvbuf 1024k -tcp-auto-tuning -loglevel silent > /dev/null 2>&1 &

#tun2socks -device tun0 -proxy socks5://127.0.0.1:1080 -interface ${PRIMARY_IFACE} -loglevel debug &
# sanity check
Expand All @@ -77,7 +77,7 @@ else

# terminate the v2ray setup
pkill -9 tun2socks
pkill -11 v2ray
pkill -9 v2ray
sleep 5

# bring down tun interface
Expand Down
2 changes: 1 addition & 1 deletion src/kv/meile.kv
Original file line number Diff line number Diff line change
Expand Up @@ -178,12 +178,12 @@ WindowManager:
id: new_ip
size_hint_x: .15
size_hint_y: .05
font_size: sp(14)
pos_hint: {"x" : 0.01, "center_y": .1}
readonly: True
opacity: .5
mode: "round"
text: "0.0.0.0"
font_size: sp(12)
icon_left: "ip-network-outline"
text_color_focus: '#fcb711'
text_color_normal: '#fcb711'
Expand Down

0 comments on commit 1584572

Please sign in to comment.