summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--.config/neofetch/config.conf2
-rwxr-xr-x.scripts/wifi-captive-login2
2 files changed, 2 insertions, 2 deletions
diff --git a/.config/neofetch/config.conf b/.config/neofetch/config.conf
index f009d32..dd9fb8e 100644
--- a/.config/neofetch/config.conf
+++ b/.config/neofetch/config.conf
@@ -9,7 +9,7 @@ print_info() {
info "Packages " packages
info "Shell  " shell
info "Resolution " resolution
- info "Window Manager \t " wm
+ info "Window Manager \t" wm
info "Terminal emulator " term
info "Theme " theme
# info "Icons" icons
diff --git a/.scripts/wifi-captive-login b/.scripts/wifi-captive-login
index 4e5c4fa..674cbab 100755
--- a/.scripts/wifi-captive-login
+++ b/.scripts/wifi-captive-login
@@ -1,5 +1,5 @@
#!/bin/sh
if command -v netstat 1>/dev/null; then
login=$(netstat -nr | sed -n '3p' | cut -d " " -f 10) ;
- st -e librewolf $login ;
+ [ -n "$login" ] && st -e librewolf $login ;
fi