ultrabug / py3status

py3status is an extensible i3status wrapper written in python

Home Page:https://ultrabug.github.io/py3status/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Problem whit Modules.

Niil78 opened this issue · comments

**Problem with modules (some) **
Version 3.47 (AUR)
`general {
colors = true
interval = 5
}
order += "coin_market"
#order +="speedtest"
order +="nvidia_smi"
order +="lm_sensors"
order += "volume_status mic"
order += "bluetooth"
##order += "ipv6"
order += "process_status VPN"
order += "wireless first"
order += "ethernet first"
##order += "backlight"
##order += "battery_level"
order += "volume_status"
order += "tztime local"

#order += "battery all"
#order += "disk /"
#order += "load"
#order += "memory"

bluetooth {
format_device = '{name}'
color_bad = "FE0000"
color_good = "49FE00"
}

nvidia_smi {
format_gpu = "GPU: [?color=temperature.gpu {temperature.gpu}°C]"
}

process_status VPN {
format = "{icon}"
icon_on = "🕵"
icon_off = "🕵"
process = "openvpn"
on_click 1 = "exec alacritty -c openvpn -e 'test -f /run/openvpn.pid || sudo systemctl start openvpn-client@numberly'"
on_click 3 = "exec sudo systemctl stop openvpn-client@numberly"
}

yubikey {
format = "[[?if=is_gpg ][?if=is_u2f ]]"
gpg_check_watch_paths = []
socket_path = "/home/niil/.run/yubikey-touch-detector.socket"
}

volume_status mic {
format = ' {percentage}%'
format_muted = ''
button_down = 5
button_mute = 1
button_up = 4
is_input = true
thresholds = [(0, 'bad'), (10, 'degraded'), (20, 'good')]
}
backlight {
device = "intel_backlight"
format = ""
color = "#b58900"
}

volume_status {
cache_timeout = 1
blocks = ""
format = "{icon} {percentage}%"
format_muted = "🔇"
separator_block_width = 15
thresholds = [
(0, "#FFF"),
(10, "#FFF"),
(20, "#FFF"),
(30, "#FFF"),
(40, "#FFF"),
(50, "#FFF"),
(60, "#FFF"),
(70, "#FFF"),
(80, "#FFF"),
(90, "#FFF"),
(100, "#FFF")
]
}

wireless first {
format_up = "W: (%quality at %essid) %ip"
format_down = ""
}

vpn_status {
format_up = "🕵"
format_down = "🕵"
}

ethernet first {
format_up = "Local: %ip"
format_down = ""
}

battery all {
format = "%status %percentage %remaining"
}

disk "/" {
format = "%avail"
}

load {
format = "%1min"
}

memory {
format = "%used | %available"
threshold_degraded = "1G"
format_degraded = "MEMORY < %available"
}

tztime local {
format = "%d-%m %H:%M"
on_click 1 = "exec zenity --calendar"
}

speedtest {
format = "speedtest[?soft ][?if=elapsed [?color=darkgray [time "
format += "[?color=elapsed_time {elapsed_time} s]]]|[?color=darkgray "
format += "ping [?color=ping {ping} ms] "
format += "download [?color=download {download}Mbps] "
format += "upload [?color=upload {upload}Mbps]]]"
}

lm_sensors {
format_chip = '[?if=name=coretemp-isa-0000 CPU ]'
format_chip += '{format_sensor}'
format_sensor = '?color=auto.input {input}°C'
sensors = ['core*', 'temp*']
}

coin_market {
format_coin = "[?color=name {name}] "
format_coin += "[?color=symbol {symbol}] ${usd_price:.2f} "
format_coin += "[?color=usd_percent_change_24h {usd_percent_change_24h}%]"
markets = ["btc", "eth", "ltc", "doge", "bnb"]
thresholds = {
"name": [
("Bitcoin", "greenyellow"),
("Ethereum", "deepskyblue"),
("Litecoin", "crimson"),
("BNB", "blue"),
],
"symbol": [
("BTC", "darkgray"),
("ETH", "darkgray"),
("LTC", "darkgray"),
("BNB", "darkgray"),
],
"usd_percent_change_24h": [(-100, "bad"), (0, "good")],
}
} `

I am getting problems with some modules. In this case I can't get the bluetooth module to work correctly and the cryptocurrency related modules don't work correctly.

I really appreciate this work you have done. I love py3status.

i think it was some kind of problem with my system. after adding some settings i got the bluetooth working again. the crypto modules i have been trying to make them work for a long time and i have not been able to make them work. i will try again in the next days. for the moment i close the thread. i think the problem that bothered me the most is working correctly.