Преглед на файлове

[i3] Add both eth adapters to i3status

Colin Powell преди 4 години
родител
ревизия
bef70131f3
променени са 2 файла, в които са добавени 7 реда и са изтрити 4 реда
  1. 2 2
      bin/.bin/changepaper
  2. 5 2
      i3/.config/i3status/i3status.conf

+ 2 - 2
bin/.bin/changepaper

@@ -36,14 +36,14 @@ SLIM_BG_FILE=/usr/share/slim/themes/default/background.jpg
 if test -f "$SLIM_BG_FILE"; then
 	echo "Setting Slim background image"
 	rm $SLIM_BG_FILE
-	ln -s $BASEDIR/$date.jpg $SLIM_BG_FILE
+	ln -s $BASEDIR$date.jpg $SLIM_BG_FILE
 fi
 
 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
 	echo "Setting Searx background image"
 	rm $SEARX_BG_FILE
-	cp $SEARX_BASEDIR/$date.jpg $SEARX_BG_FILE
+	cp $SEARX_BASEDIR$date.jpg $SEARX_BG_FILE
 fi
 
 # Then grab our APOD image and store it for now

+ 5 - 2
i3/.config/i3status/i3status.conf

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