oda: status bar brightness/online

This commit is contained in:
Meutel 2017-11-24 15:45:00 +01:00
parent 516e16643e
commit 569646c9c4
2 changed files with 17 additions and 3 deletions

View File

@ -13,11 +13,13 @@ general {
} }
order += "battery all" order += "battery all"
order += "ipv6" order += "online_status"
order += "disk /" order += "external_script xbacklight_status"
order += "disk /home" #order += "ipv6"
order += "wireless _first_" order += "wireless _first_"
order += "ethernet _first_" order += "ethernet _first_"
order += "disk /"
order += "disk /home"
order += "load" order += "load"
order += "cpu_temperature acpitz0" order += "cpu_temperature acpitz0"
order += "volume master" order += "volume master"
@ -27,6 +29,11 @@ cpu_temperature acpitz0 {
format = " %degrees ⁰C" format = " %degrees ⁰C"
} }
online_status {
icon_on = ""
icon_off = ""
}
wireless _first_ { wireless _first_ {
format_up = " (%essid) %ip" format_up = " (%essid) %ip"
format_down = " down" format_down = " down"
@ -60,3 +67,7 @@ disk "/home" {
volume master { volume master {
format = " %volume" format = " %volume"
} }
external_script "xbacklight_status" {
script_path = "/home/meutel/.i3/xbacklight_status.sh"
}

View File

@ -0,0 +1,3 @@
#!/bin/sh
printf " %.0f%%" $(xbacklight)