[aranea] py3status: add config, cleanup, emojis
This commit is contained in:
parent
5dbce34e66
commit
b710c5b433
|
|
@ -0,0 +1,106 @@
|
|||
# ~/.config/i3status/py3status.conf -- py3status config file
|
||||
#
|
||||
# ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
||||
# Author: binaryDiv
|
||||
# Host-specific config for: aranea
|
||||
# ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
||||
#
|
||||
# (See "man i3status" for documentation.)
|
||||
|
||||
# ~~ General i3status settings
|
||||
general {
|
||||
colors = true
|
||||
interval = 1
|
||||
}
|
||||
|
||||
|
||||
# ~~ Define order of status bar elements
|
||||
order += "ethernet tun0"
|
||||
order += "ethernet _first_"
|
||||
order += "wireless _first_"
|
||||
order += "battery 0"
|
||||
order += "battery 1"
|
||||
order += "cpu_temperature 0"
|
||||
order += "load"
|
||||
order += "tztime local"
|
||||
order += "spaceapi"
|
||||
|
||||
|
||||
# ~~ Ethernet status
|
||||
ethernet _first_ {
|
||||
format_up = "🌐 %ip (%speed)"
|
||||
format_down = "🌐 No Ethernet"
|
||||
color_bad = "#666666"
|
||||
}
|
||||
|
||||
# ~~ Wireless status
|
||||
wireless _first_ {
|
||||
format_up = "📶 %ip (%essid ~%quality)"
|
||||
format_down = "📶 down"
|
||||
}
|
||||
|
||||
# ~~ VPN status via tun0 device
|
||||
ethernet tun0 {
|
||||
format_up = "VPN: %ip"
|
||||
format_down = "No VPN"
|
||||
color_good = "#FF0000"
|
||||
color_bad = "#666666"
|
||||
}
|
||||
|
||||
# ~~ Battery 0 status (built-in battery)
|
||||
battery 0 {
|
||||
format = "%status 0: %percentage %remaining"
|
||||
|
||||
status_chr = "⚡"
|
||||
status_bat = "🔋"
|
||||
status_unk = "❓"
|
||||
status_full = "🔌"
|
||||
|
||||
last_full_capacity = true
|
||||
integer_battery_capacity = true
|
||||
low_threshold = 30
|
||||
}
|
||||
|
||||
# ~~ Battery 1 status (swappable battery)
|
||||
battery 1 {
|
||||
format = "%status 1: %percentage %remaining"
|
||||
|
||||
status_chr = "⚡"
|
||||
status_bat = "🔋"
|
||||
status_unk = "❓"
|
||||
status_full = "🔌"
|
||||
|
||||
last_full_capacity = true
|
||||
integer_battery_capacity = true
|
||||
low_threshold = 30
|
||||
}
|
||||
|
||||
# ~~ Date and time
|
||||
tztime local {
|
||||
format = "%Y-%m-%d %H:%M:%S"
|
||||
}
|
||||
|
||||
|
||||
# ~~ CPU temperature
|
||||
cpu_temperature 0 {
|
||||
format = "%degrees °C"
|
||||
format_above_threshold = "🔥 %degrees °C"
|
||||
max_threshold = 70
|
||||
#path = "/sys/devices/pci0000:00/0000:00:18.3/hwmon/hwmon1/temp1_input"
|
||||
}
|
||||
|
||||
# ~~ CPU average load
|
||||
load {
|
||||
format = "%1min"
|
||||
}
|
||||
|
||||
# py3status module spaceapi
|
||||
spaceapi {
|
||||
cache_timeout = 60
|
||||
url = "https://spaceapi.afra-berlin.de/v1/status.json"
|
||||
format = "AfRA"
|
||||
state_open = "open"
|
||||
state_closed = "closed"
|
||||
color_closed = "#666666"
|
||||
}
|
||||
|
||||
Loading…
Reference in New Issue