diff --git a/_i3__oda.armorique.lan/i3status.conf b/_i3__oda.armorique.lan/i3status.conf index a87f207..5536e15 100644 --- a/_i3__oda.armorique.lan/i3status.conf +++ b/_i3__oda.armorique.lan/i3status.conf @@ -13,11 +13,13 @@ general { } order += "battery all" -order += "ipv6" -order += "disk /" -order += "disk /home" +order += "online_status" +order += "external_script xbacklight_status" +#order += "ipv6" order += "wireless _first_" order += "ethernet _first_" +order += "disk /" +order += "disk /home" order += "load" order += "cpu_temperature acpitz0" order += "volume master" @@ -27,6 +29,11 @@ cpu_temperature acpitz0 { format = " %degrees ⁰C" } +online_status { + icon_on = "" + icon_off = "" +} + wireless _first_ { format_up = " (%essid) %ip" format_down = " down" @@ -60,3 +67,7 @@ disk "/home" { volume master { format = " %volume" } + +external_script "xbacklight_status" { + script_path = "/home/meutel/.i3/xbacklight_status.sh" +} diff --git a/_i3__oda.armorique.lan/xbacklight_status.sh b/_i3__oda.armorique.lan/xbacklight_status.sh new file mode 100755 index 0000000..bc5826c --- /dev/null +++ b/_i3__oda.armorique.lan/xbacklight_status.sh @@ -0,0 +1,3 @@ +#!/bin/sh + +printf " %.0f%%" $(xbacklight)