1
0
Fork 0

NETWORKING_INTERFACE should be exported from bspwmrc, not xinitrc (e3fadb289d)

This commit is contained in:
Pratham Patel 2023-12-15 13:58:44 +05:30
parent e3fadb289d
commit 56833a2adc
Signed by: thefossguy
SSH Key Fingerprint: SHA256:/B3wAg7jnMEBQ2JwkebbS/eXVZANDmqRfnd9QkIhxMI
2 changed files with 5 additions and 5 deletions

View File

@ -1,7 +1,10 @@
#!/usr/bin/env bash
$HOME/.config/feh/fehbg &
$HOME/.local/scripts/window-manager/launch-polybar.sh &
"${HOME}/.config/feh/fehbg" &
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

View File

@ -1,8 +1,5 @@
#!/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
if [[ -f "$USER_X_RESOURCES" ]]; then
xrdb -merge "$USER_X_RESOURCES"