Welcome iwd + firefox fix.

This commit is contained in:
Bartek Stalewski 2021-08-26 08:37:29 +02:00
parent c120a13573
commit 2be32d6a33
2 changed files with 2 additions and 2 deletions

View File

@ -1,3 +1,3 @@
#!/bin/sh
mkdir -p $XDG_CONFIG_HOME/firefox
HOME=$XDG_CONFIG_HOME/firefox /bin/firefox
[ -n "$1" ] && HOME=$XDG_CONFIG_HOME/firefox /bin/firefox "$*" || HOME=$XDG_CONFIG_HOME/firefox /bin/firefox

View File

@ -2,5 +2,5 @@
case "$(cat /sys/class/net/w*/operstate 2>/dev/null)" in
down) printf "^c#eeeeee^^b#005577^\ue63e no wifi^d^" ;;
up) printf "\ue63e $(iw dev wlp3s0 info | awk '/ssid/ {print $2}')" ;;
up) printf "\ue63e $(iw dev wlan0 info | awk '/ssid/ {print $2}')" ;;
esac