From 2be32d6a334e9b971d7df586881421cb6c59413a Mon Sep 17 00:00:00 2001 From: Bartek Stalewski Date: Thu, 26 Aug 2021 08:37:29 +0200 Subject: [PATCH] Welcome iwd + firefox fix. --- _desktop/firefox | 2 +- _suckless/_scripts/sb-network | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/_desktop/firefox b/_desktop/firefox index 5c3b11a..4ff178e 100755 --- a/_desktop/firefox +++ b/_desktop/firefox @@ -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 diff --git a/_suckless/_scripts/sb-network b/_suckless/_scripts/sb-network index 697cd1c..db36d71 100755 --- a/_suckless/_scripts/sb-network +++ b/_suckless/_scripts/sb-network @@ -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