[i3] Add both eth adapters to i3status

This commit is contained in:
2020-07-23 13:12:50 -04:00
parent 9c27f61769
commit bef70131f3
2 changed files with 7 additions and 4 deletions

View File

@ -36,14 +36,14 @@ SLIM_BG_FILE=/usr/share/slim/themes/default/background.jpg
if test -f "$SLIM_BG_FILE"; then if test -f "$SLIM_BG_FILE"; then
echo "Setting Slim background image" echo "Setting Slim background image"
rm $SLIM_BG_FILE rm $SLIM_BG_FILE
ln -s $BASEDIR/$date.jpg $SLIM_BG_FILE ln -s $BASEDIR$date.jpg $SLIM_BG_FILE
fi fi
SEARX_BG_FILE=/usr/local/lib/python2.7/site-packages/searx/static/themes/courgette/img/bg-body-index.jpg SEARX_BG_FILE=/usr/local/lib/python2.7/site-packages/searx/static/themes/courgette/img/bg-body-index.jpg
if test -f "$SEARX_BG_FILE"; then if test -f "$SEARX_BG_FILE"; then
echo "Setting Searx background image" echo "Setting Searx background image"
rm $SEARX_BG_FILE rm $SEARX_BG_FILE
cp $SEARX_BASEDIR/$date.jpg $SEARX_BG_FILE cp $SEARX_BASEDIR$date.jpg $SEARX_BG_FILE
fi fi
# Then grab our APOD image and store it for now # Then grab our APOD image and store it for now

View File

@ -14,7 +14,6 @@ order += "cpu_temperature 0"
order += "load" order += "load"
order += "wireless wlan0" order += "wireless wlan0"
order += "ethernet em0" order += "ethernet em0"
order += "wireless wlan0"
order += "ethernet ue0" order += "ethernet ue0"
order += "tztime local" order += "tztime local"
@ -27,7 +26,11 @@ volume master {
} }
ethernet em0 { ethernet em0 {
# if you use %speed, i3status requires root privileges format_up = "%ip"
format_down = "Eth down"
}
ethernet ue0 {
format_up = "%ip" format_up = "%ip"
format_down = "Eth down" format_down = "Eth down"
} }