NETWORKING_INTERFACE should be exported from bspwmrc, not xinitrc (e3fadb289d
)
This commit is contained in:
parent
e3fadb289d
commit
56833a2adc
|
@ -1,7 +1,10 @@
|
||||||
#!/usr/bin/env bash
|
#!/usr/bin/env bash
|
||||||
|
|
||||||
$HOME/.config/feh/fehbg &
|
"${HOME}/.config/feh/fehbg" &
|
||||||
$HOME/.local/scripts/window-manager/launch-polybar.sh &
|
|
||||||
|
NETWORKING_INTERFACE="$(grep -i "eth\|enp\|enabcm\|wl" /proc/net/dev | sort | head -n 1 | awk -F : '{print $1}')"
|
||||||
|
export NETWORKING_INTERFACE
|
||||||
|
"${HOME}/.local/scripts/window-manager/launch-polybar.sh" &
|
||||||
|
|
||||||
bspc monitor -d work virtualization bg-apps other extra extraa
|
bspc monitor -d work virtualization bg-apps other extra extraa
|
||||||
|
|
||||||
|
|
3
.xinitrc
3
.xinitrc
|
@ -1,8 +1,5 @@
|
||||||
#!/usr/bin/env bash
|
#!/usr/bin/env bash
|
||||||
|
|
||||||
NETWORKING_INTERFACE="$(grep -i "eth\|enp\|enabcm\|wl" /proc/net/dev | sort | head -n 1 | awk -F : '{print $1}')"
|
|
||||||
export NETWORKING_INTERFACE
|
|
||||||
|
|
||||||
USER_X_RESOURCES=$HOME/.Xresources
|
USER_X_RESOURCES=$HOME/.Xresources
|
||||||
if [[ -f "$USER_X_RESOURCES" ]]; then
|
if [[ -f "$USER_X_RESOURCES" ]]; then
|
||||||
xrdb -merge "$USER_X_RESOURCES"
|
xrdb -merge "$USER_X_RESOURCES"
|
||||||
|
|
Loading…
Reference in New Issue