add custom for i3status and adapt for work

This commit is contained in:
Quentin Godefroid 2024-10-01 15:23:13 +02:00
parent 8031a80a60
commit fa8003c15b
Signed by: hactario
GPG key ID: 688E98939E5CBE8D
8 changed files with 43 additions and 51 deletions

View file

@ -22,25 +22,20 @@ order += "disk /home"
// order += "run_watch DHCP"
// order += "run_watch VPNC"
// order += "path_exists VPN"
order += "wireless wlp2s0"
order += "ethernet enp0s31f6"
// order += "ethernet enp0s20f0u3c2"
order += "ethernet"
order += "wireless _first_"
order += "ethernet _first_"
order += "battery 0"
order += "cpu_temperature 0"
order += "tztime local"order += "tztime Montreal"
order += "tztime date"
order += "tztime Montreal"
order += "tztime Brussels"
wireless wlp2s0 {
wireless _first_ {
format_up = " (%quality at %essid, %bitrate) %ip"
format_down = "󱚵 "
}
ethernet enp0s31f6 {
format_up = "󰈀 %ip"
format_down = "󰈀 "
}
ethernet enp0s20f0u3c2 {
ethernet _first_ {
format_up = "󰈁 %ip"
format_down = "󰈁 "
}
@ -53,10 +48,10 @@ battery 0 {
low_threshold = 11
threshold_type = percentage
hide_seconds = true
status_chr = "⚡ "
status_bat = "🪫 "
status_unk = "🔌 "
status_full = "🔋 "
status_chr = "⚡ "
status_bat = "🪫 "
status_unk = "🔌 "
status_full = "🔋 "
path = "/sys/class/power_supply/BAT%d/uevent"
}
@ -74,17 +69,17 @@ path_exists VPN {
path = "/proc/sys/net/ipv4/conf/tun0"
}
tztime local {
format = "📅 %V %a 󰃭 %Y-%m-%d  %H:%M:%S %Z"
hide_if_equals_localtime = true
tztime date {
format = "📅 %V %a %Y-%m-%d"
}
tztime Brussels {
format = "📅 %V %a 󰃭 %Y-%m-%d  %H:%M:%S %Z"
timezone = "Europe/Brussels"
format = "🇧🇪 %H:%M:%S %Z"
timezone = "Europe/Brussels"
}
tztime Montreal {
format = " %H:%M:%S %Z"
format = "🏴󠁣󠁡󠁱󠁣󠁿 %H:%M:%S %Z"
timezone = "America/Montreal"
hide_if_equals_localtime = true
}
@ -95,7 +90,7 @@ load {
cpu_temperature 0 {
format = "🌡️ %degrees"
path = "/sys/devices/platform/coretemp.0/hwmon/hwmon5/temp1_input"
path = "/sys/devices/platform/coretemp.0/hwmon/hwmon*/temp1_input"
}
memory {
@ -125,10 +120,6 @@ disk "/home" {
threshold_type = percentage_avail
}
disk "/home" {
format = "%free"
}
read_file uptime {
path = "/proc/uptime"
}
@ -144,5 +135,5 @@ volume master {
read_file spotify {
format = "🔊%content"
path = "~/.config/i3status/spotify.log"
path = "$HOME/.config/i3status/spotify.log"
}