summaryrefslogtreecommitdiff
path: root/.scripts/wifi-captive-login
diff options
context:
space:
mode:
authorSaumit Dinesan <justsaumit@protonmail.com>2022-05-18 15:15:30 +0530
committerSaumit Dinesan <justsaumit@protonmail.com>2022-05-18 15:15:30 +0530
commit4df17a688ba54d710a1d46ee47cb65b5c9e75764 (patch)
tree5b4515b82ae88b8ebfb16a0556e4368c02087a69 /.scripts/wifi-captive-login
parent797e08333da93e8a37f496810a55a59cf83b2c08 (diff)
modified aliasrc and null script to accept input and primitive-captive-portal-wifi script
Diffstat (limited to '.scripts/wifi-captive-login')
-rwxr-xr-x.scripts/wifi-captive-login3
1 files changed, 3 insertions, 0 deletions
diff --git a/.scripts/wifi-captive-login b/.scripts/wifi-captive-login
new file mode 100755
index 0000000..2603009
--- /dev/null
+++ b/.scripts/wifi-captive-login
@@ -0,0 +1,3 @@
+#!/bin/sh
+login=$(netstat -nr | sed '3p;d' | cut -d " " -f 10)
+st -e librewolf $login