Welcome iwd + firefox fix.
This commit is contained in:
parent
c120a13573
commit
2be32d6a33
2 changed files with 2 additions and 2 deletions
|
@ -1,3 +1,3 @@
|
||||||
#!/bin/sh
|
#!/bin/sh
|
||||||
mkdir -p $XDG_CONFIG_HOME/firefox
|
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
|
||||||
|
|
|
@ -2,5 +2,5 @@
|
||||||
|
|
||||||
case "$(cat /sys/class/net/w*/operstate 2>/dev/null)" in
|
case "$(cat /sys/class/net/w*/operstate 2>/dev/null)" in
|
||||||
down) printf "^c#eeeeee^^b#005577^\ue63e no wifi^d^" ;;
|
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
|
esac
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue